diff --git a/hacks/values/hydra-maester.yaml b/hacks/values/hydra-maester.yaml index b171741fba..27b4f45a0a 100644 --- a/hacks/values/hydra-maester.yaml +++ b/hacks/values/hydra-maester.yaml @@ -2,6 +2,8 @@ adminService: name: hydra-admin.default deployment: + extraAnnotations: + ory.sh/deployment_annotation: hydra-maester podMetadata: labels: ory.sh/pod_label: hydra-maester diff --git a/hacks/values/oathkeeper-maester.yaml b/hacks/values/oathkeeper-maester.yaml index 64cdfac72b..e04582ed81 100644 --- a/hacks/values/oathkeeper-maester.yaml +++ b/hacks/values/oathkeeper-maester.yaml @@ -2,6 +2,8 @@ # singleNamespaceMode: true priorityClassName: "system-cluster-critical" deployment: + annotations: + ory.sh/deployment_annotation: oathkeeper_maester podMetadata: labels: ory.sh/pod_label: oathkeeper_maester @@ -9,4 +11,4 @@ deployment: ory.sh/pod_annotation: oathkeeper_maester serviceAccount: annotations: - ory.sh/pod_annotation: hydra-maester + ory.sh/pod_annotation: oathkeeper_maester diff --git a/helm/charts/hydra-maester/templates/deployment.yaml b/helm/charts/hydra-maester/templates/deployment.yaml index 290f4a330a..acd559fc79 100644 --- a/helm/charts/hydra-maester/templates/deployment.yaml +++ b/helm/charts/hydra-maester/templates/deployment.yaml @@ -11,6 +11,10 @@ metadata: {{- with .Values.deployment.extraLabels }} {{- toYaml . | nindent 4 }} {{- end }} + {{- with .Values.deployment.extraAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.replicaCount }} revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} diff --git a/helm/charts/oathkeeper-maester/templates/deployment.yaml b/helm/charts/oathkeeper-maester/templates/deployment.yaml index 2702ba54dc..bdf4291d45 100644 --- a/helm/charts/oathkeeper-maester/templates/deployment.yaml +++ b/helm/charts/oathkeeper-maester/templates/deployment.yaml @@ -12,6 +12,10 @@ metadata: {{- with .Values.deployment.extraLabels }} {{- toYaml . | nindent 4 }} {{- end }} + {{- with .Values.deployment.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.replicaCount }} revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}