You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/11/29 00:49:50 UTC

[skywalking-kubernetes] branch cm/binary created (now d1ebf85)

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

kezhenxu94 pushed a change to branch cm/binary
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git.


      at d1ebf85  enhancement: allow mounting binary data files

This branch includes the following new commits:

     new d1ebf85  enhancement: allow mounting binary data files

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-kubernetes] 01/01: enhancement: allow mounting binary data files

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch cm/binary
in repository https://gitbox.apache.org/repos/asf/skywalking-kubernetes.git

commit d1ebf850c8c51f0be1b1e4eac57026bcd92c3775
Author: kezhenxu94 <ke...@163.com>
AuthorDate: Sun Nov 29 08:49:33 2020 +0800

    enhancement: allow mounting binary data files
---
 chart/skywalking/templates/oap-cm-override.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chart/skywalking/templates/oap-cm-override.yaml b/chart/skywalking/templates/oap-cm-override.yaml
index f89884d..d39b97d 100644
--- a/chart/skywalking/templates/oap-cm-override.yaml
+++ b/chart/skywalking/templates/oap-cm-override.yaml
@@ -22,9 +22,9 @@ metadata:
     app: {{ template "skywalking.name" . }}
     release: {{ .Release.Name }}
     component: {{ .Values.oap.name }}
-data:
+binaryData:
   {{ range $path, $bytes := .Files.Glob "files/conf.d/oap/**" }}
   {{- $path | replace "files/conf.d/oap/" "" | b64enc | replace "=" "-" | indent 2 }}: |
-  {{ $.Files.Get $path | indent 4 }}
+  {{ $.Files.Get $path | b64enc | indent 4 }}
   {{ end }}
   {{ end }}