-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change postgresql.useSubChart to .enabled #341
Conversation
Changes 'useSubChart' to 'enabled'https://helm.sh/docs/topics/charts/ to follow common convention as mentioned in https://helm.sh/docs/topics/charts/. This should make it more clear what this key does. Closes #336
Removes the postgresql.enabled check on the PostgreSQL Secret injection in the Deployment. Turning off the installation of the chart shouldn't prevent a secret from being injected, since a user can provide an existing Secret name.
d73cbcf
to
31c8577
Compare
Jotting down action items for myself: Caught up with @jamiezieziula on this. The We'll also want to support passing no auth and no database for those who want to test with the SQLite DB. EDIT: following up here, you can still pass values to the |
Documents how to disable the bundled PostgreSQL instance and provide the auth Secret. This Secret will be injected into the Prefect Server Deployment.
Looking at the Secret template, we no longer need a `password` key in the existingSecret object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a duplicate enabled
map in the json schema. Also, can you remove all form: true
fields in the schema, these aren't needed (we removed most before but must have missed these)
Removes the extra 'enabled' key from the schema as it's already defined on line 599.
Removed |
db29dcf
to
88262c8
Compare
|
This is excellent!!! |
Summary
Changes
postgresql.useSubChart
topostgresql.enabled
, following the common convention mentioned in https://helm.sh/docs/topics/charts/https://helm.sh/docs/topics/charts/.This should hopefully make it clearer what that key does - and this key already existed, so by removing
useSubChart
, there's only one key to manipulate.Other commits in this PR have commit messages explaining what and why.
Closes #336
Testing
Internal PostgreSQL enabled (default)
(Default values used)
Internal PostgreSQL disabled
Internal PostgreSQL + default Secret
(Default values used)
Internal PostgreSQL + existing Secret
External PostgreSQL + existing Secret