Browse Source

Add prometheus annotations to console service

Samuel Padgett 7 years ago
parent
commit
95baaab260
1 changed files with 2 additions and 0 deletions
  1. 2 0
      files/origin-components/console-template.yaml

+ 2 - 0
files/origin-components/console-template.yaml

@@ -116,6 +116,8 @@ objects:
       app: openshift-web-console
     annotations:
       service.alpha.openshift.io/serving-cert-secret-name: webconsole-serving-cert
+      prometheus.io/scrape: "true"
+      prometheus.io/scheme: https
   spec:
     selector:
       webconsole: "true"