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:
@@ -1,8 +1,9 @@
|
|||||||
ingress:
|
ingress:
|
||||||
host: shorefront.yourdomain.com
|
host: shorefront.yourdomain.com
|
||||||
|
|
||||||
# Override secrets at deploy time:
|
# Secrets are NOT managed by Helm. Run scripts/create-secrets.sh before
|
||||||
# helm upgrade --install shorefront ./helm/shorefront \
|
# the first helm install/ArgoCD sync:
|
||||||
# --values helm/shorefront/values-prod.yaml \
|
#
|
||||||
# --set secrets.postgresPassword=<real-password> \
|
# export POSTGRES_PASSWORD=<real-password>
|
||||||
# --set secrets.jwtSecretKey=<real-jwt-secret>
|
# export JWT_SECRET_KEY=<real-jwt-secret>
|
||||||
|
# bash scripts/create-secrets.sh
|
||||||
|
|||||||
@@ -33,7 +33,3 @@ nfs:
|
|||||||
ingress:
|
ingress:
|
||||||
host: shorefront.example.com
|
host: shorefront.example.com
|
||||||
ingressClassName: traefik
|
ingressClassName: traefik
|
||||||
|
|
||||||
secrets:
|
|
||||||
postgresPassword: changeme-in-prod
|
|
||||||
jwtSecretKey: changeme-in-prod
|
|
||||||
|
|||||||
Reference in New Issue
Block a user