You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2023/08/28 11:01:28 UTC

[skywalking-swck] branch master updated: Fix number env value format error in template yaml. (#90)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-swck.git


The following commit(s) were added to refs/heads/master by this push:
     new f0388c2  Fix number env value format error in template yaml. (#90)
f0388c2 is described below

commit f0388c2e26b59bb437ca318f007c2bf062ec54af
Author: weixiang1862 <65...@qq.com>
AuthorDate: Mon Aug 28 19:01:24 2023 +0800

    Fix number env value format error in template yaml. (#90)
---
 operator/pkg/operator/manifests/oapserver/templates/deployment.yaml     | 2 +-
 .../operator/manifests/storage/elasticsearch/templates/statefulset.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/operator/pkg/operator/manifests/oapserver/templates/deployment.yaml b/operator/pkg/operator/manifests/oapserver/templates/deployment.yaml
index 9c430cf..d8ced76 100644
--- a/operator/pkg/operator/manifests/oapserver/templates/deployment.yaml
+++ b/operator/pkg/operator/manifests/oapserver/templates/deployment.yaml
@@ -107,7 +107,7 @@ spec:
               value: default
           {{range .Spec.Config}}
             - name: {{ .Name }}
-              value: {{ .Value }}
+              value: "{{ .Value }}"
           {{end}}
       {{if .Spec.StorageConfig.Storage.Spec.Security.TLS}}
       volumes:
diff --git a/operator/pkg/operator/manifests/storage/elasticsearch/templates/statefulset.yaml b/operator/pkg/operator/manifests/storage/elasticsearch/templates/statefulset.yaml
index 936442f..4ff393d 100644
--- a/operator/pkg/operator/manifests/storage/elasticsearch/templates/statefulset.yaml
+++ b/operator/pkg/operator/manifests/storage/elasticsearch/templates/statefulset.yaml
@@ -98,7 +98,7 @@ spec:
               value: "1000"
             {{ range .Spec.Config }}
             - name: {{ .Name }}
-              value: {{ .Value }}
+              value: "{{ .Value }}"
             {{end}}
           readinessProbe:
             exec: