mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-29 01:16:12 -05:00
0564e4ebb4
* vpn: add fake-on-prem infra * dev-docs: move vpn helm
27 lines
586 B
YAML
27 lines
586 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "..fullname" . }}-lb
|
|
labels:
|
|
{{- include "..labels" . | nindent 4 }}
|
|
spec:
|
|
type: LoadBalancer
|
|
selector:
|
|
{{- include "..selectorLabels" . | nindent 4 }}
|
|
component: frontend
|
|
externalTrafficPolicy: Local
|
|
ports:
|
|
{{- if .Values.ipsec.enabled }}
|
|
- name: isakmp
|
|
protocol: UDP
|
|
port: 500
|
|
- name: ipsec-nat-t
|
|
protocol: UDP
|
|
port: 4500
|
|
{{- end }}
|
|
{{- if .Values.wireguard.enabled }}
|
|
- name: wg
|
|
protocol: UDP
|
|
port: {{ .Values.wireguard.port }}
|
|
{{- end }}
|