Actions
Issue #9421
closedAdd support for sslmode to settings in pulp and pulp-operator.
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
Actions
Added support to override PosgreSQL sslmode
closes #9421