diff --git a/charts/flagger/values.yaml b/charts/flagger/values.yaml index 2c135187c..42af79ce3 100644 --- a/charts/flagger/values.yaml +++ b/charts/flagger/values.yaml @@ -6,7 +6,9 @@ image: pullPolicy: IfNotPresent pullSecret: -podAnnotations: {} +podAnnotations: + prometheus.io/scrape: "true" + prometheus.io/port: "8080" metricsServer: "http://prometheus:9090" diff --git a/kustomize/base/flagger/deployment.yaml b/kustomize/base/flagger/deployment.yaml index ab02b0e89..241f91f15 100644 --- a/kustomize/base/flagger/deployment.yaml +++ b/kustomize/base/flagger/deployment.yaml @@ -15,6 +15,7 @@ spec: app: flagger annotations: prometheus.io/scrape: "true" + prometheus.io/port: "8080" spec: serviceAccountName: flagger containers: