Skip to content
Snippets Groups Projects
Unverified Commit aa30fa80 authored by gorazio's avatar gorazio Committed by GitHub
Browse files

Add prometheus annotations to spec in ingress

Added annotations from metadata to spec.template.metadata. Without it, pod does not get any annotations, and Prometheus didn't see it
parent 8b6a6a5a
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,9 @@ spec:
labels:
k8s-app: ingress-nginx
version: v{{ ingress_nginx_controller_image_tag }}
annotations:
prometheus.io/port: '10254'
prometheus.io/scrape: 'true'
spec:
containers:
- name: ingress-nginx-controller
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment