Skip to content

Commit

Permalink
Fix #25 - Config not being loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
PseudoResonance committed Nov 23, 2024
1 parent 4e594c2 commit 2253880
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions charts/wg-access-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@ spec:
- name: data
mountPath: /data
{{- end }}
{{- if or .Values.secretConfig.config .Values.secretConfig.existingSecret }}
- mountPath: /config.yaml
subPath: config.yaml
name: merged-config
{{- else }}
- mountPath: /config.yaml
subPath: config.yaml
name: configmap-config
{{- end }}
{{- with .Values.extraVolumeMounts }}
{{- tpl ( . | toYaml ) $ | nindent 12 }}
{{- end}}
Expand Down

0 comments on commit 2253880

Please sign in to comment.