service.yaml 327 B

1234567891011121314
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: {{ .Release.Name }}-ingress
  5. spec:
  6. type: LoadBalancer
  7. selector:
  8. {{- include "openvpn.selectorLabels" . | nindent 4 }}
  9. ports:
  10. - name: ingress
  11. protocol: TCP
  12. port: {{ .Values.inbound_port }}
  13. loadBalancerIP: {{ .Values.inbound_IP }}
  14. externalTrafficPolicy: Local