Skip to content

Commit

Permalink
Fix YAML indentation when extraEnvVars is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Tassatux committed Sep 26, 2024
1 parent 023a16b commit fa2720a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/directus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.9.09
version: 0.9.10

# This is the version number of the application being deployed. They should reflect the version
# the application is using.
Expand Down
6 changes: 3 additions & 3 deletions charts/directus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ spec:
{{- if .Values.extraEnvVars }}
envFrom:
- configMapRef:
name: {{ include "directus.fullname" . }}-extra-environment-variables
name: {{ include "directus.fullname" . }}-extra-environment-variables
{{- end }}
volumeMounts:
- name: uploads
Expand Down Expand Up @@ -186,7 +186,7 @@ spec:
{{- if .Values.extraEnvVars }}
envFrom:
- configMapRef:
name: {{ include "directus.fullname" . }}-extra-environment-variables
name: {{ include "directus.fullname" . }}-extra-environment-variables
{{- end }}
volumeMounts:
- mountPath: /startup-snapshot
Expand Down Expand Up @@ -291,7 +291,7 @@ spec:
{{- if .Values.extraEnvVars }}
envFrom:
- configMapRef:
name: {{ include "directus.fullname" . }}-extra-environment-variables
name: {{ include "directus.fullname" . }}-extra-environment-variables
{{- end }}
volumeMounts:
{{- if .Values.snapshot }}
Expand Down

0 comments on commit fa2720a

Please sign in to comment.