diff --git a/charts/account-operator/templates/deployment.yaml b/charts/account-operator/templates/deployment.yaml index e6939a6d0..6fe62b7a1 100644 --- a/charts/account-operator/templates/deployment.yaml +++ b/charts/account-operator/templates/deployment.yaml @@ -12,6 +12,7 @@ spec: metadata: labels: service: {{ include "entity.name" . }} + control-plane: controller-manager {{- with .Values.deployment.specTemplate.labels }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap index c6ea61664..4d822e1c6 100644 --- a/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap +++ b/charts/account-operator/tests/__snapshot__/deployment_test.yaml.snap @@ -82,6 +82,7 @@ operator match the snapshot: template: metadata: labels: + control-plane: controller-manager service: RELEASE-NAME-account-operator spec: containers: @@ -238,6 +239,7 @@ operator match the snapshot (with kubeconfigSecret): template: metadata: labels: + control-plane: controller-manager service: RELEASE-NAME-account-operator spec: containers: