mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 08:37:03 +02:00
- 🛑 BREAKING - Removed support for the openvpn and wireguard VPN types.
- Update container versions
- Added support for adding serviceMonitors to services.
- ConfigMap checksum logic now only looks at ConfigMap data
- Explicitly convert defaultMode to decimal notation in code-server addon.
17 lines
627 B
Smarty
17 lines
627 B
Smarty
{{/*
|
|
The volume (referencing git deploykey) to be inserted into additionalVolumes.
|
|
*/}}
|
|
{{- define "common.addon.codeserver.deployKeyVolumeSpec" -}}
|
|
{{- if or .Values.addons.codeserver.git.deployKey .Values.addons.codeserver.git.deployKeyBase64 .Values.addons.codeserver.git.deployKeySecret }}
|
|
secret:
|
|
{{- if .Values.addons.codeserver.git.deployKeySecret }}
|
|
secretName: {{ .Values.addons.codeserver.git.deployKeySecret }}
|
|
{{- else }}
|
|
secretName: {{ include "common.names.fullname" . }}-deploykey
|
|
{{- end }}
|
|
defaultMode: {{ "0400" | toDecimal }}
|
|
items:
|
|
- key: id_rsa
|
|
path: id_rsa
|
|
{{- end -}}
|
|
{{- end -}}
|