diff --git a/bottlerocket-update-operator.yaml b/bottlerocket-update-operator.yaml index aa23f780..a648704f 100644 --- a/bottlerocket-update-operator.yaml +++ b/bottlerocket-update-operator.yaml @@ -699,6 +699,9 @@ spec: type: Recreate template: metadata: + annotations: + prometheus.io/port: "8080" + prometheus.io/scrape: "true" labels: brupop.bottlerocket.aws/component: brupop-controller namespace: brupop-bottlerocket-aws diff --git a/deploy/charts/bottlerocket-update-operator/templates/controller-deployment.yaml b/deploy/charts/bottlerocket-update-operator/templates/controller-deployment.yaml index 83358c60..82e55f89 100644 --- a/deploy/charts/bottlerocket-update-operator/templates/controller-deployment.yaml +++ b/deploy/charts/bottlerocket-update-operator/templates/controller-deployment.yaml @@ -18,6 +18,9 @@ spec: type: Recreate template: metadata: + annotations: + prometheus.io/port: "8080" + prometheus.io/scrape: "true" labels: brupop.bottlerocket.aws/component: brupop-controller {{- if .Values.podLabels }}