From 25d9697356e3e9bf894607597bc4ab493a97d342 Mon Sep 17 00:00:00 2001 From: Sebastian Woehrl Date: Mon, 18 Mar 2024 10:45:44 +0100 Subject: [PATCH] Add podLabels to helm chart --- helm/hybrid-cloud-amqp-operator/templates/deployment.yaml | 3 +++ helm/hybrid-cloud-amqp-operator/values.yaml | 4 ++++ requirements.txt | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/helm/hybrid-cloud-amqp-operator/templates/deployment.yaml b/helm/hybrid-cloud-amqp-operator/templates/deployment.yaml index 99a37e4..17cb4b8 100644 --- a/helm/hybrid-cloud-amqp-operator/templates/deployment.yaml +++ b/helm/hybrid-cloud-amqp-operator/templates/deployment.yaml @@ -26,6 +26,9 @@ spec: {{- end }} labels: {{- include "operator.selectorLabels" . | nindent 8 }} + {{- if .Values.podLabels }} + {{- toYaml .Values.podLabels | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/helm/hybrid-cloud-amqp-operator/values.yaml b/helm/hybrid-cloud-amqp-operator/values.yaml index 133368c..cb4354d 100644 --- a/helm/hybrid-cloud-amqp-operator/values.yaml +++ b/helm/hybrid-cloud-amqp-operator/values.yaml @@ -36,8 +36,12 @@ volumes: [] # List of volume mounts for the operator pod volumeMounts: [] +# Extra annotations to add to the operator pods podAnnotations: {} +# Extra labels to add to the operator pods +podLabels: {} + podSecurityContext: {} securityContext: {} diff --git a/requirements.txt b/requirements.txt index 6763541..ebb05aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -azure-identity==1.13.0 +azure-identity==1.15.0 azure-mgmt-resource==23.0.1 azure-mgmt-servicebus==8.2.0 requests==2.31.0 -git+https://github.com/MaibornWolff/hybrid-cloud-operator-library.git@068c411 +git+https://github.com/MaibornWolff/hybrid-cloud-operator-library.git@19a8275