mirror of https://github.com/kubernetes/kops.git
[tests/feedback] fix missing quote function with printf
This commit is contained in:
parent
2ba0843c91
commit
bb98caeed3
|
|
@ -421,7 +421,7 @@ spec:
|
|||
# https://docs.cilium.io/en/v1.9/operations/metrics/#installation
|
||||
{{ if .EnablePrometheusMetrics }}
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: {{ .AgentPrometheusPort | quote }}
|
||||
prometheus.io/port: {{ printf "%q" .AgentPrometheusPort }}
|
||||
{{ end }}
|
||||
labels:
|
||||
k8s-app: cilium
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ spec:
|
|||
# https://docs.cilium.io/en/v1.9/operations/metrics/#installation
|
||||
{{ if .EnablePrometheusMetrics }}
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: {{ .AgentPrometheusPort | quote }}
|
||||
prometheus.io/port: {{ printf "%q" .AgentPrometheusPort }}
|
||||
{{ end }}
|
||||
labels:
|
||||
k8s-app: cilium
|
||||
|
|
|
|||
|
|
@ -523,7 +523,7 @@ spec:
|
|||
# https://docs.cilium.io/en/v1.9/operations/metrics/#installation
|
||||
{{ if .EnablePrometheusMetrics }}
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: {{ .AgentPrometheusPort | quote }}
|
||||
prometheus.io/port: {{ printf "%q" .AgentPrometheusPort }}
|
||||
{{ end }}
|
||||
labels:
|
||||
k8s-app: cilium
|
||||
|
|
|
|||
Loading…
Reference in New Issue