Skip to content

Commit e6be12e

Browse files
[PLAT-2481] Add support for service annotations in Helm chart (#9)
Co-authored-by: Nazarii Ahapevych <nazarii.ahapevych>
1 parent 82748be commit e6be12e

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/eks-pod-identity-webhook/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: eks-pod-identity-webhook
33
description: Helm chart for deploying the EKS Pod Identity Webhook
44
type: application
5-
version: 0.1.2
5+
version: 0.2.0
66
appVersion: "0.1.2"

charts/eks-pod-identity-webhook/templates/service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ metadata:
66
labels:
77
app.kubernetes.io/name: {{ include "eks-pod-identity-webhook.name" . }}
88
app.kubernetes.io/instance: {{ include "eks-pod-identity-webhook.fullname" . }}
9+
{{- if .Values.service.annotations }}
10+
annotations: {{ toYaml .Values.service.annotations | nindent 4 }}
11+
{{- end }}
912
spec:
1013
selector:
1114
app.kubernetes.io/name: {{ include "eks-pod-identity-webhook.name" . }}

charts/eks-pod-identity-webhook/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ existingTLSSecret: ""
2121

2222
service:
2323
port: 443
24+
annotations: {}
2425

2526
nodeSelector:
2627
kubernetes.io/arch: arm64

0 commit comments

Comments
 (0)