-
Notifications
You must be signed in to change notification settings - Fork 88
Closed as not planned
Labels
enhancementNew feature or requestNew feature or requestpostgresIssues regarding the postgres chartIssues regarding the postgres chart
Description
Name and Version
postgres:0.12.1
What is the problem this feature will solve?
It is not possible to define the custom user secret key only like:
customUser:
name: "my-user"
database: "my-database"
existingSecret: "my-external-secret"
secretKeys:
password: "psql-user-password"which will result in:
- name: CUSTOM_DB
valueFrom:
secretKeyRef:
name: my-external-secret
key: ''
- name: CUSTOM_USER
valueFrom:
secretKeyRef:
name: my-external-secret
key: ''
- name: CUSTOM_PASSWORD
valueFrom:
secretKeyRef:
name: my-external-secret
key: psql-user-passwordDescribe the solution you'd like?
Please make the secretKeys for username and database optional with fallback to the customUser.name and customUser.database.
That makes it a lot more easier to define username and database as convention (by overriding values) and store the actual database user secret in a secret only. Especially when your secret is defined by an ExternalSecretProvider.
What alternatives have you considered?
No response
Additional informations
No response
Affected Helm charts
postgres
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpostgresIssues regarding the postgres chartIssues regarding the postgres chart