diff --git a/stable/openvpn/Chart.yaml b/stable/openvpn/Chart.yaml index 6e09048895..5f60c2c872 100755 --- a/stable/openvpn/Chart.yaml +++ b/stable/openvpn/Chart.yaml @@ -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 diff --git a/stable/openvpn/templates/openvpn-service.yaml b/stable/openvpn/templates/openvpn-service.yaml index 2e9d2942eb..144fc19124 100644 --- a/stable/openvpn/templates/openvpn-service.yaml +++ b/stable/openvpn/templates/openvpn-service.yaml @@ -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 diff --git a/stable/openvpn/values.yaml b/stable/openvpn/values.yaml index f2cc95c962..2144cb0c47 100644 --- a/stable/openvpn/values.yaml +++ b/stable/openvpn/values.yaml @@ -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