Add tcp routes to openvpn containers

This commit is contained in:
Nikolai Rodionov 2024-05-26 17:36:22 +02:00
parent 2ec62d9c45
commit cd8a6394da
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
4 changed files with 28 additions and 2 deletions

View File

@ -3,7 +3,7 @@ apiVersion: v2
name: openvpn-xor
description: A Helm chart for deploying OpenVPN with the XOR patch
type: application
version: 1.3.0
version: 1.4.0
appVersion: v2.6.9
sources:

View 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 }}

View File

@ -3,7 +3,7 @@ apiVersion: v2
name: openvpn
description: A Helm chart for deploying OpenVPN
type: application
version: 1.2.0
version: 1.3.0
appVersion: v2.6.10
sources:

View 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 }}