[stable/openvpn] Custom annotations for service (#5173)

* [stable/openvpn] Custom annotations for service

Allows, for example, specifying a custom domain name to external-dns.

* Update values.yaml
This commit is contained in:
Dan Wendorf
2018-05-11 01:08:04 -07:00
committed by k8s-ci-robot
parent 1f171942ef
commit 1da75ed746
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ description: A Helm chart to install an openvpn server inside a kubernetes clust
generation is also part of the deployment, and this chart will generate client keys
as needed.
name: openvpn
version: 3.2.1
version: 3.3.0
appVersion: 1.1.0
maintainers:
- name: jfelten
@@ -7,6 +7,10 @@ metadata:
chart: {{ template "openvpn.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
ports:
- name: openvpn
+6
View File
@@ -13,6 +13,12 @@ service:
internalPort: 443
nodePort: 32085
# loadBalancerIP: 10.0.0.1
## Here annotations can be added to the openvpn service
# annotations:
# external-dns.alpha.kubernetes.io/hostname: vpn.example.com
annotations: {}
resources:
limits:
cpu: 300m