From 574bca96509b7e404af91b1b06594c1f391a0586 Mon Sep 17 00:00:00 2001 From: Tetsuya Yamamoto Date: Fri, 12 Jul 2024 15:51:10 +0900 Subject: [PATCH] Add pod annotations for piped helm (#5034) Signed-off-by: tetsuya28 Signed-off-by: khanhtc1202 --- manifests/piped/templates/deployment.yaml | 3 +++ manifests/piped/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/manifests/piped/templates/deployment.yaml b/manifests/piped/templates/deployment.yaml index f91b671d5f..ee8ba5d8b4 100644 --- a/manifests/piped/templates/deployment.yaml +++ b/manifests/piped/templates/deployment.yaml @@ -23,6 +23,9 @@ spec: {{- if .Values.args.forceRestart }} rollme: {{ randAlphaNum 5 | quote }} {{- end }} + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: serviceAccountName: {{ include "piped.serviceAccountName" . }} containers: diff --git a/manifests/piped/values.yaml b/manifests/piped/values.yaml index d17ec2114e..22061c47aa 100644 --- a/manifests/piped/values.yaml +++ b/manifests/piped/values.yaml @@ -97,6 +97,8 @@ priorityClassName: {} podLabels: {} +podAnnotations: {} + # Specifies how much of each resource the Piped container needs. resources: {}