fix(platform): inject ELASTIC_PASSWORD from platform secrets in production
Build and Deploy Platform / build-and-deploy (push) Successful in 16m13s
Build and Deploy Platform / build-and-deploy (push) Successful in 16m13s
Backend validate-production-config requires a non-default ELASTIC_PASSWORD; read it from abrban-platform-secrets.elastic-password like other credentials. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -98,6 +98,11 @@ spec:
|
||||
secretKeyRef:
|
||||
name: {{ include "cloudhost-platform.secretName" . }}
|
||||
key: cluster-kubeconfig-key
|
||||
- name: ELASTIC_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "cloudhost-platform.secretName" . }}
|
||||
key: elastic-password
|
||||
- name: FRONTEND_URL
|
||||
value: {{ include "cloudhost-platform.corsOrigins" . | quote }}
|
||||
{{- include "cloudhost-platform.buildEnv" . | nindent 12 }}
|
||||
|
||||
@@ -124,7 +124,7 @@ secrets:
|
||||
# Use a pre-created Secret instead of chart-managed one. Required for GitOps
|
||||
# (Argo CD renders with `helm template`, so lookup/randAlphaNum regenerate on
|
||||
# every sync). Secret must contain keys: postgres-password, jwt-secret,
|
||||
# jwt-refresh-secret, cluster-kubeconfig-key.
|
||||
# jwt-refresh-secret, cluster-kubeconfig-key, redis-password, elastic-password.
|
||||
existingSecret: ""
|
||||
jwtSecret: ""
|
||||
jwtRefreshSecret: ""
|
||||
|
||||
Reference in New Issue
Block a user