mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 05:06:22 -03:00
fix vpn rendering
This commit is contained in:
@@ -36,7 +36,6 @@ workload:
|
||||
type: http
|
||||
port: "{{ .Values.service.main.ports.main.port }}"
|
||||
|
||||
|
||||
args:
|
||||
- --port
|
||||
- '8080'
|
||||
@@ -53,7 +52,7 @@ addons:
|
||||
# @default -- See values.yaml
|
||||
vpn:
|
||||
# -- Specify the VPN type. Valid options are disabled, gluetun or tailscale
|
||||
type: tailscale
|
||||
type: gluetun
|
||||
|
||||
# -- All variables specified here will be added to the vpn sidecar container
|
||||
# See the documentation of the VPN image for all config values
|
||||
|
||||
@@ -36,7 +36,6 @@ workload:
|
||||
type: http
|
||||
port: "{{ .Values.service.main.ports.main.port }}"
|
||||
|
||||
|
||||
args:
|
||||
- --port
|
||||
- '8080'
|
||||
|
||||
@@ -8,10 +8,10 @@ probes:
|
||||
{{- if $.Values.addons.vpn.livenessProbe }}
|
||||
liveness:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- else -}}
|
||||
{{- else }}
|
||||
liveness:
|
||||
enabled: false
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
readiness:
|
||||
enabled: false
|
||||
startup:
|
||||
@@ -27,7 +27,7 @@ securityContext:
|
||||
{{- with $.Values.addons.vpn.env }}
|
||||
env:
|
||||
{{- . | toYaml | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{- range $envList := $.Values.addons.vpn.envList -}}
|
||||
{{- if and $envList.name $envList.value }}
|
||||
|
||||
@@ -8,10 +8,10 @@ probes:
|
||||
{{- if $.Values.addons.vpn.livenessProbe }}
|
||||
liveness:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- else -}}
|
||||
{{- else }}
|
||||
liveness:
|
||||
enabled: false
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
readiness:
|
||||
enabled: false
|
||||
startup:
|
||||
|
||||
Reference in New Issue
Block a user