Skip to content
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

Append production guidelines to NOTES #330

Merged
merged 3 commits into from
Sep 18, 2024
Merged

Append production guidelines to NOTES #330

merged 3 commits into from
Sep 18, 2024

Conversation

LeoColomb
Copy link
Member

@LeoColomb LeoColomb commented Sep 6, 2024

Fixes #187

Provides:

  • Improved general content of the notes
  • Initial validation for external database values
  • Standard warning for image tagging and pod ressources
  • Empty password validation for superuser (Helm will reject with error if so at upgrade time)

Bitnami's both PostgreSQL and Redis chart handled empty/generated passwords already:

For these two, there is no need to enforce empty password validation (see bitnami/charts#8534 & bitnami/charts#8518).

@LeoColomb LeoColomb force-pushed the leo/feat/notes branch 3 times, most recently from 173c81b to a9f30ef Compare September 6, 2024 13:36
charts/netbox/templates/NOTES.txt Show resolved Hide resolved
@LeoColomb LeoColomb force-pushed the leo/feat/notes branch 2 times, most recently from 1bde8b3 to 19c88e2 Compare September 9, 2024 23:19
@LeoColomb LeoColomb enabled auto-merge (squash) September 9, 2024 23:29
@LeoColomb
Copy link
Member Author

Please disregard linter failure, they all relate to the README file, which will be reviewed with #331.

@@ -11,7 +11,7 @@ metadata:
type: kubernetes.io/basic-auth
data:
username: {{ .Values.superuser.name | default "admin" | b64enc | quote }}
password: {{ .Values.superuser.password | default (randAlphaNum 16) | b64enc | quote }}
password: {{ include "common.secrets.passwords.manage" (dict "secret" (include "common.secrets.name" (dict "defaultNameSuffix" "superuser" "context" $)) "key" "password" "providedValues" (list "superuser.password") "context" $) }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hah, I ran into this in NBE at some point and just went a different route, didn't have time to look into why the common stuff wasn't working :D

@LeoColomb LeoColomb disabled auto-merge September 18, 2024 20:06
@LeoColomb LeoColomb enabled auto-merge (rebase) September 18, 2024 20:06
@LeoColomb LeoColomb merged commit df11c38 into develop Sep 18, 2024
11 of 17 checks passed
@LeoColomb LeoColomb deleted the leo/feat/notes branch September 18, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update NOTES.txt to be vocal about production guidelines
2 participants