Add tcp routes to openvpn containers
This commit is contained in:
parent
2ec62d9c45
commit
cd8a6394da
|
@ -3,7 +3,7 @@ apiVersion: v2
|
||||||
name: openvpn-xor
|
name: openvpn-xor
|
||||||
description: A Helm chart for deploying OpenVPN with the XOR patch
|
description: A Helm chart for deploying OpenVPN with the XOR patch
|
||||||
type: application
|
type: application
|
||||||
version: 1.3.0
|
version: 1.4.0
|
||||||
appVersion: v2.6.9
|
appVersion: v2.6.9
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
|
|
13
charts/openvpn-xor/templates/tcp_route.yaml
Normal file
13
charts/openvpn-xor/templates/tcp_route.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteTCP" }}
|
||||||
|
{{- if .Values.tcproute.enabled -}}
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRouteTCP
|
||||||
|
name: {{ include "openvpn-chart.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "openvpn-chart.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
{{ tpl (.Values.tcproute.spec | toYaml | indent 2 | toString) $ }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -3,7 +3,7 @@ apiVersion: v2
|
||||||
name: openvpn
|
name: openvpn
|
||||||
description: A Helm chart for deploying OpenVPN
|
description: A Helm chart for deploying OpenVPN
|
||||||
type: application
|
type: application
|
||||||
version: 1.2.0
|
version: 1.3.0
|
||||||
appVersion: v2.6.10
|
appVersion: v2.6.10
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
|
|
13
charts/openvpn/templates/tcp_route.yaml
Normal file
13
charts/openvpn/templates/tcp_route.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
{{- if $.Capabilities.APIVersions.Has "traefik.io/v1alpha1/IngressRouteTCP" }}
|
||||||
|
{{- if .Values.tcproute.enabled -}}
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRouteTCP
|
||||||
|
name: {{ include "openvpn-chart.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "openvpn-chart.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
{{ tpl (.Values.tcproute.spec | toYaml | indent 2 | toString) $ }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
Loading…
Reference in New Issue
Block a user