2ec840ff63
I've decided to maintain the project myself now, so I've forked it and create a drone pipeline to push image to my registry
19 lines
578 B
YAML
19 lines
578 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "openvpn-chart.fullname" . }}
|
|
labels:
|
|
{{- include "openvpn-chart.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
{{- if .Values.service.nodePort }}
|
|
nodePort: {{ int .Values.service.nodePort }}
|
|
{{- end}}
|
|
targetPort: {{ .Values.service.port | default 1194 }}
|
|
protocol: {{ .Values.service.protocol | default "UDP" | quote }}
|
|
name: openvpn
|
|
selector:
|
|
{{- include "openvpn-chart.selectorLabels" . | nindent 4 }}
|