Project

Profile

Help

Issue #9421

Add support for sslmode to settings in pulp and pulp-operator.

Added by benthomasson about 1 month ago. Updated about 1 month ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
4. Urgent
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
GalaxyNG
Sprint:
Quarter:

Description

In order to run AAP on Azure I need to enable the sslmode option for the database connection for automation hub.

Automation Hub runs as a django app and so needs a DATABASES configuration like this:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': "db_name",
        'USER': "db_username",
        'PASSWORD': "db_password",
        'HOST': "db_host",
        'OPTIONS': {'sslmode': 'require'},
    },
}

I am using the pulp-operator to install galaxy_ng and I would like the pulp-operator to look for this option in the databases secret:


---
apiVersion: v1
kind: Secret
metadata:
  name: galaxy-pulp-postgres-configuration
  namespace: default
stringData:
  host: postgres
  port: "5432"
  database: pulp
  username: pulp
  password: XXX 
  sslmode: require
  type: unmanaged
type: Opaque

Associated revisions

Revision 6a499959 View on GitHub
Added by Fabricio Aguiar about 1 month ago

Added support to override PosgreSQL sslmode

closes #9421

History

#1 Updated by pulpbot about 1 month ago

  • Status changed from NEW to POST

#2 Updated by Anonymous about 1 month ago

  • Status changed from POST to MODIFIED

Please register to edit this issue

Also available in: Atom PDF