From 5e7372ae7f85ab93ee3a41c267c57d39e15977b3 Mon Sep 17 00:00:00 2001 From: Jakub M Date: Thu, 7 Nov 2024 12:34:00 +0100 Subject: [PATCH] Allow to specify annotations for operator KSA --- helm/camel-k/templates/operator-service-account.yaml | 4 ++++ helm/camel-k/values.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/helm/camel-k/templates/operator-service-account.yaml b/helm/camel-k/templates/operator-service-account.yaml index c91ab3a615..f5ad7fbaaf 100644 --- a/helm/camel-k/templates/operator-service-account.yaml +++ b/helm/camel-k/templates/operator-service-account.yaml @@ -22,3 +22,7 @@ metadata: labels: app: "camel-k" {{- include "camel-k.labels" . | nindent 4 }} + {{- with .Values.operator.serviceAccount.annotations }} + annotations: + {{ toYaml . | nindent 4 }} + {{- end }} diff --git a/helm/camel-k/values.yaml b/helm/camel-k/values.yaml index f8b1e88905..3c4d08abdc 100644 --- a/helm/camel-k/values.yaml +++ b/helm/camel-k/values.yaml @@ -45,3 +45,6 @@ operator: # Default operator name operatorId: camel-k + + serviceAccount: + annotations: