mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-25 00:19:10 +00:00
[media-common-openvpn] Fix auth syntax, indenting (#56)
This commit is contained in:
parent
fb1c653533
commit
bc2742e655
@ -4,8 +4,9 @@ description: OpenVPN add-on for `media-common`-based charts
|
|||||||
type: library
|
type: library
|
||||||
keywords:
|
keywords:
|
||||||
- media-common
|
- media-common
|
||||||
|
- openvpn
|
||||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/media-common-openvpn
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/media-common-openvpn
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: bjw-s
|
- name: bjw-s
|
||||||
email: bjw-s@users.noreply.github.com
|
email: bjw-s@users.noreply.github.com
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
|
@ -10,7 +10,6 @@ The OpenVPN container(s) to be inserted
|
|||||||
add: ["NET_ADMIN"]
|
add: ["NET_ADMIN"]
|
||||||
{{- if .Values.openvpn.env }}
|
{{- if .Values.openvpn.env }}
|
||||||
env:
|
env:
|
||||||
{{- if .Values.openvpn.env }}
|
|
||||||
{{- range $k, $v := .Values.openvpn.env }}
|
{{- range $k, $v := .Values.openvpn.env }}
|
||||||
- name: {{ $k }}
|
- name: {{ $k }}
|
||||||
value: {{ $v }}
|
value: {{ $v }}
|
||||||
@ -25,7 +24,6 @@ The OpenVPN container(s) to be inserted
|
|||||||
name: {{ template "media-common.fullname" . }}-openvpn
|
name: {{ template "media-common.fullname" . }}-openvpn
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if .Values.openvpn.vpnConf }}
|
{{- if .Values.openvpn.vpnConf }}
|
||||||
- name: openvpnconf
|
- name: openvpnconf
|
||||||
@ -43,7 +41,7 @@ The OpenVPN container(s) to be inserted
|
|||||||
subPath: down.sh
|
subPath: down.sh
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.openvpn.additionalVolumeMounts }}
|
{{- if .Values.openvpn.additionalVolumeMounts }}
|
||||||
{{- toYaml .Values.openvpn.additionalVolumeMounts | nindent 4 }}
|
{{- toYaml .Values.openvpn.additionalVolumeMounts | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml .Values.openvpn.livenessProbe | nindent 4 }}
|
{{- toYaml .Values.openvpn.livenessProbe | nindent 4 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user