initialize wg-easy

This commit is contained in:
2025-08-25 19:20:19 +02:00
commit 0bd6cd012d
10 changed files with 336 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "wg-easy.name" . }}
spec:
type: {{ .Values.service.type }}
{{- if and .Values.service.loadBalancerIP (ne .Values.service.loadBalancerIP "") }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
selector:
app: {{ include "wg-easy.name" . }}
ports:
- name: http
port: {{ .Values.service.uiPort }}
targetPort: 51821
protocol: TCP
- name: wireguard
port: {{ .Values.service.wgPort }}
targetPort: {{ .Values.service.wgPort }}
protocol: UDP