mirror of https://github.com/kubernetes/kops.git
Fix render template cilium AgentPrometheusPort into a UNICODE char
This commit is contained in:
parent
7fe3d21c24
commit
55c3120ff6
|
@ -420,7 +420,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
|
||||
|
|
|
@ -552,7 +552,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 }}
|
||||
{{- with .AgentPodAnnotations }}
|
||||
{{- . | nindent 8 }}
|
||||
|
|
|
@ -591,7 +591,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 }}
|
||||
{{- with .AgentPodAnnotations }}
|
||||
{{- . | nindent 8 }}
|
||||
|
|
Loading…
Reference in New Issue