Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 79aae2d

Browse files
authored
Merge pull request #112 from phanama/master
Add Service annotations to Helm Charts
2 parents e3cb240 + 5bdb3dd commit 79aae2d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

deploy/charts/kube-oidc-proxy/templates/service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ metadata:
44
name: {{ include "kube-oidc-proxy.fullname" . }}
55
labels:
66
{{ include "kube-oidc-proxy.labels" . | indent 4 }}
7+
annotations:
8+
{{- range $key, $val := .Values.service.annotations }}
9+
{{ $key }}: {{ $val | quote }}
10+
{{- end }}
711
spec:
812
type: {{ .Values.service.type }}
913
ports:

deploy/charts/kube-oidc-proxy/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ fullnameOverride: ""
1616
service:
1717
type: ClusterIP
1818
port: 443
19+
annotations:
20+
# You can use this field to add annotations to the Service.
21+
# Define it in a key-value pairs. E.g.
22+
# service.beta.kubernetes.io/aws-load-balancer-internal: true
1923

2024
tls:
2125
# `secretName` must be a name of Secret of TLS type. If not provided a

0 commit comments

Comments
 (0)