Skip to content

Commit eb630e5

Browse files
authored
Merge pull request #50 from J-roen/add-service-annotations-values
2 parents e4680e6 + b0b0f3c commit eb630e5

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

helm/wireguard/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: wireguard
33
description: A Helm chart for managing a wireguard vpn in kubernetes
44
type: application
5-
version: 0.21.0
5+
version: 0.22.0
66
appVersion: "0.0.0"
77
maintainers:
88
- name: bryopsida

helm/wireguard/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# wireguard
22

3-
![Version: 0.21.0](https://img.shields.io/badge/Version-0.21.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.0](https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square)
3+
![Version: 0.22.0](https://img.shields.io/badge/Version-0.22.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.0](https://img.shields.io/badge/AppVersion-0.0.0-informational?style=flat-square)
44

55
A Helm chart for managing a wireguard vpn in kubernetes
66

@@ -110,6 +110,7 @@ A Helm chart for managing a wireguard vpn in kubernetes
110110
| securityContext.readOnlyRootFilesystem | bool | `true` | |
111111
| securityContext.runAsNonRoot | bool | `true` | |
112112
| securityContext.runAsUser | int | `1000` | |
113+
| service.annotations | object | `{}` | Annotations |
113114
| service.enabled | bool | `true` | Whether the service will be created or not |
114115
| service.externalTrafficPolicy | string | `""` | External Traffic Policy for the service |
115116
| service.loadBalancerIP | string | `""` | IP to assign to the LoadBalancer service |

helm/wireguard/templates/service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ metadata:
55
name: "{{ .Release.Name }}-wireguard"
66
labels:
77
app: "{{ .Release.Name }}-wireguard"
8+
{{- if .Values.service.annotations }}
9+
annotations:
10+
{{- toYaml .Values.service.annotations | nindent 4 }}
11+
{{- end }}
812
spec:
913
type: {{ .Values.service.type }}
1014
ports:

helm/wireguard/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ service:
7070
externalTrafficPolicy: ""
7171
# -- IP to assign to the LoadBalancer service
7272
loadBalancerIP: ""
73+
# -- Annotations
74+
annotations: {}
7375
# -- Name of a secret with a wireguard private key on key privatekey, if not provided on first install a hook generates one.
7476
secretName: ~
7577
replicaCount: 3

0 commit comments

Comments
 (0)