Skip to content

Commit 8b566ab

Browse files
committed
feat(podAnnotations): allow for podAnnotations on kcp server deployment
Signed-off-by: aaronschweig <[email protected]>
1 parent a4e9759 commit 8b566ab

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

charts/kcp/templates/server-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ spec:
8585
labels:
8686
{{- include "common.labels" . | nindent 8 }}
8787
app.kubernetes.io/component: "server"
88+
annotations:
89+
{{- with .Values.kcp.podAnnotations }}
90+
{{- toYaml . | nindent 8 }}
91+
{{- end }}
8892
spec:
8993
{{- with .Values.kcp.securityContext }}
9094
securityContext:

charts/kcp/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ kcp:
5555
# cpu: 1
5656
memory: 20Gi
5757
volumeClassName: ""
58+
podAnnotations: {}
5859
etcd:
5960
# set this if you are using external etcds. Do not set this to "embedded", it is not supported.
6061
serverAddress: ""

0 commit comments

Comments
 (0)