- apiVersion: v1
- kind: Service
- metadata:
- name: {{ .Release.Name }}-ingress
- spec:
- type: LoadBalancer
- selector:
- {{- include "openvpn.selectorLabels" . | nindent 4 }}
- ports:
- - name: ingress
- protocol: TCP
- port: {{ .Values.inbound_port }}
- loadBalancerIP: {{ .Values.inbound_IP }}
- externalTrafficPolicy: Local
|