fix(helm): remove inline comments causing YAML parse error
Some checks failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / security (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
CD - Build & Deploy / build-and-push (push) Has been cancelled
CD - Build & Deploy / package-helm (push) Has been cancelled
CD - Build & Deploy / deploy-staging (push) Has been cancelled
CD - Build & Deploy / deploy-production (push) Has been cancelled
CD - Build & Deploy / release (push) Has been cancelled
CI / security (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
Comments between env list items were breaking YAML parser in ArgoCD: 'error converting YAML to JSON: yaml: line 79: did not find expected key' Removed inline comments before env var definitions. The YAML structure is now clean and validates correctly with helm template.
This commit is contained in:
@@ -49,7 +49,6 @@ spec:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
env:
|
||||
{{- toYaml .Values.env | nindent 12 }}
|
||||
# Reflex configuration
|
||||
- name: API_URL
|
||||
value: {{ .Values.reflex.apiUrl | quote }}
|
||||
- name: FRONTEND_PORT
|
||||
@@ -73,7 +72,6 @@ spec:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.postgresql.external.passwordSecret.name }}
|
||||
key: {{ .Values.postgresql.external.passwordSecret.key }}
|
||||
# Construct DATABASE_URL for Reflex
|
||||
- name: DATABASE_URL
|
||||
value: "postgresql://$(DATABASE_USER):$(DATABASE_PASSWORD)@$(DATABASE_HOST):$(DATABASE_PORT)/$(DATABASE_NAME)"
|
||||
{{- end }}
|
||||
@@ -88,11 +86,9 @@ spec:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.redis.external.passwordSecret.name }}
|
||||
key: {{ .Values.redis.external.passwordSecret.key }}
|
||||
# Construct REDIS_URL with password
|
||||
- name: REDIS_URL
|
||||
value: "redis://:$(REDIS_PASSWORD)@$(REDIS_HOST):$(REDIS_PORT)/0"
|
||||
{{- else }}
|
||||
# Construct REDIS_URL without password
|
||||
- name: REDIS_URL
|
||||
value: "redis://$(REDIS_HOST):$(REDIS_PORT)/0"
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user