From 541dd7ee14264b83b57298e595c6ebbd7f4affd4 Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Sat, 24 Oct 2020 21:03:06 +0900
Subject: [PATCH] Fix cilium template by specifying boolean as a string for
enable-metrics
---
upup/models/bindata.go | 4 ++--
.../addons/networking.cilium.io/k8s-1.12-v1.8.yaml.template | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/upup/models/bindata.go b/upup/models/bindata.go
index 6f61366e10..ebed113d0c 100644
--- a/upup/models/bindata.go
+++ b/upup/models/bindata.go
@@ -4646,8 +4646,8 @@ data:
# NOTE that this will open the port on ALL nodes where Cilium pods are
# scheduled.
prometheus-serve-addr: ":{{ .AgentPrometheusPort }}"
- operator-prometheus-serve-addr: ":6942"
- enable-metrics: true
+ operator-prometheus-serve-addr: ":6942"
+ enable-metrics: "true"
{{ end }}
{{ if .EnableEncryption }}
enable-ipsec: "true"
diff --git a/upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.12-v1.8.yaml.template b/upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.12-v1.8.yaml.template
index 52dacb4977..03da0b1a99 100644
--- a/upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.12-v1.8.yaml.template
+++ b/upup/models/cloudup/resources/addons/networking.cilium.io/k8s-1.12-v1.8.yaml.template
@@ -53,8 +53,8 @@ data:
# NOTE that this will open the port on ALL nodes where Cilium pods are
# scheduled.
prometheus-serve-addr: ":{{ .AgentPrometheusPort }}"
- operator-prometheus-serve-addr: ":6942"
- enable-metrics: true
+ operator-prometheus-serve-addr: ":6942"
+ enable-metrics: "true"
{{ end }}
{{ if .EnableEncryption }}
enable-ipsec: "true"