feat: remove secrets block from Helm values

Remove the secrets: block from values.yaml so no plaintext credentials
live in the chart or git history. Update values-prod.yaml to replace the
--set secrets.* instructions with a pointer to the create-secrets.sh script.
This commit is contained in:
2026-02-28 23:08:48 +01:00
parent a8e30fa7c4
commit 3278ef63b3
2 changed files with 6 additions and 9 deletions

View File

@@ -1,8 +1,9 @@
ingress:
host: shorefront.yourdomain.com
# Override secrets at deploy time:
# helm upgrade --install shorefront ./helm/shorefront \
# --values helm/shorefront/values-prod.yaml \
# --set secrets.postgresPassword=<real-password> \
# --set secrets.jwtSecretKey=<real-jwt-secret>
# Secrets are NOT managed by Helm. Run scripts/create-secrets.sh before
# the first helm install/ArgoCD sync:
#
# export POSTGRES_PASSWORD=<real-password>
# export JWT_SECRET_KEY=<real-jwt-secret>
# bash scripts/create-secrets.sh

View File

@@ -33,7 +33,3 @@ nfs:
ingress:
host: shorefront.example.com
ingressClassName: traefik
secrets:
postgresPassword: changeme-in-prod
jwtSecretKey: changeme-in-prod