Skip to content

Commit 66b09a4

Browse files
fix: resolve Helm chart YAML parsing issues
Co-authored-by: vincentchalamon <407859+vincentchalamon@users.noreply.github.com>
1 parent 4a44ec9 commit 66b09a4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

helm/api-platform/Chart.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dependencies: []
2+
digest: sha256:643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726
3+
generated: "2026-02-05T15:23:06.955496718Z"

helm/api-platform/templates/configmap.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ data:
1212
php-trusted-proxies: "{{ join "," .Values.php.trustedProxies }}"
1313
mercure-url: "http://{{ include "api-platform.fullname" . }}/.well-known/mercure"
1414
mercure-public-url: {{ .Values.mercure.publicUrl | default "http://127.0.0.1/.well-known/mercure" | quote }}
15-
mercure-extra-directives:
16-
{{- .Values.mercure.extraDirectives | toYaml | nindent 4 }}
17-
caddy-global-options:
18-
{{- .Values.php.caddyGlobalOptions | toYaml | nindent 4 }}
1915
oidc-server-url: "https://{{ (first .Values.ingress.hosts).host }}/oidc/realms/demo"
2016
oidc-server-url-internal: "http://{{ include "api-platform.fullname" . }}-keycloak/oidc/realms/demo"
2117
next-auth-url: "https://{{ (first .Values.ingress.hosts).host }}/api/auth"
@@ -37,6 +33,5 @@ metadata:
3733
labels:
3834
{{- include "api-platform.labelsKeycloak" . | nindent 4 }}
3935
data:
40-
realm.json: |
41-
{{ (.Files.Glob .Values.keycloak.importRealm.path).AsConfig | indent 2 }}
36+
{{ (.Files.Glob .Values.keycloak.importRealm.path).AsConfig | indent 2 }}
4237
{{- end }}

helm/api-platform/templates/keycloak-deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ spec:
126126
secretKeyRef:
127127
name: {{ include "api-platform.fullname" . }}
128128
key: keycloak-database-password
129-
{{- toYaml .Values.keycloak.postgresql.extraEnvVars | nindent 12 }}
129+
{{- with .Values.keycloak.postgresql.extraEnvVars }}
130+
{{- toYaml . | nindent 12 }}
131+
{{- end }}
130132
ports:
131133
- name: main
132134
containerPort: 5432

0 commit comments

Comments
 (0)