mirror of https://github.com/kubernetes/kops.git
Merge pull request #12747 from hakman/automated-cherry-pick-of-#12721-upstream-release-1.22
Automated cherry pick of #12721: Fix render template cilium AgentPrometheusPort into a UNICODE
This commit is contained in:
commit
902ae8610b
|
|
@ -421,7 +421,7 @@ spec:
|
|||
# Annotation required for prometheus auto-discovery scraping
|
||||
# https://docs.cilium.io/en/v1.9/operations/metrics/#installation
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: {{ printf "%q" .Networking.Cilium.AgentPrometheusPort }}
|
||||
prometheus.io/port: "{{ .Networking.Cilium.AgentPrometheusPort }}"
|
||||
{{ end }}
|
||||
labels:
|
||||
k8s-app: cilium
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ spec:
|
|||
# Annotation required for prometheus auto-discovery scraping
|
||||
# https://docs.cilium.io/en/v1.9/operations/metrics/#installation
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: {{ printf "%q" .AgentPrometheusPort }}
|
||||
prometheus.io/port: "{{ .AgentPrometheusPort }}"
|
||||
{{ end }}
|
||||
labels:
|
||||
k8s-app: cilium
|
||||
|
|
|
|||
|
|
@ -578,7 +578,7 @@ spec:
|
|||
# Annotation required for prometheus auto-discovery scraping
|
||||
# https://docs.cilium.io/en/v1.9/operations/metrics/#installation
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: {{ printf "%q" .AgentPrometheusPort }}
|
||||
prometheus.io/port: "{{ .AgentPrometheusPort }}"
|
||||
{{ end }}
|
||||
labels:
|
||||
k8s-app: cilium
|
||||
|
|
|
|||
Loading…
Reference in New Issue