Skip to content

Commit 6516432

Browse files
author
kemv
committed
Added podAnnotations feature
1 parent c451ca2 commit 6516432

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
controllerManager:
22
annotations:
3-
tv2.dk/gateway-controller/annontations: true
3+
tv2.dk/gateway-controller/annotations: true
4+
podAnnotations:
5+
tv2.dk/gateway-controller/podAnnotations: true

charts/bifrost-gateway-controller/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ spec:
2222
control-plane: manager
2323
{{- include "gateway-controller.selectorLabels" . | nindent 8 }}
2424
annotations:
25+
{{- with .Values.controllerManager.podAnnotations }}
26+
{{- toYaml . | nindent 8 }}
27+
{{- end }}
2528
kubectl.kubernetes.io/default-container: manager
2629
spec:
2730
containers:

charts/bifrost-gateway-controller/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ controllerManager:
5050

5151
# Annotations to add to the deployment
5252
annotations: {}
53+
54+
# Annotations to add to the pod
55+
podAnnotations: {}
56+
5357
replicas: 1
5458

5559
deploymentStrategy:

0 commit comments

Comments
 (0)