From b9c19ff1b2bf5e807fa6e543653e59960ef1e0f0 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Fri, 20 Oct 2023 16:20:35 +0900 Subject: [PATCH] add yaml tag to istio related config --- pkg/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 69d0410a..0b15b9ad 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -43,9 +43,9 @@ type Config struct { // TODO: the following fields should be removed after we stop depending on deployment. // So, we don't put them in the documentation. // IstioSidecarProxyDefaultCPU is the default CPU resource request of the istio sidecar proxy (default: 100m) - IstioSidecarProxyDefaultCPU string + IstioSidecarProxyDefaultCPU string `yaml:"IstioSidecarProxyDefaultCPU"` // IstioSidecarProxyDefaultMemory is the default Memory resource request of the istio sidecar proxy (default: 200Mi) - IstioSidecarProxyDefaultMemory string + IstioSidecarProxyDefaultMemory string `yaml:"IstioSidecarProxyDefaultMemory"` } // ParseConfig parses the config file (yaml) and returns Config.