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 2023/03/26 02:47:34 UTC

[skywalking-kubernetes] branch ui/env created (now 611721b)

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

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


      at 611721b  Allow setting env for UI deployment

This branch includes the following new commits:

     new 611721b  Allow setting env for UI deployment

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: Allow setting env for UI deployment

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

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

commit 611721bfd44e56495a4bae61166b5342fb7cbe17
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sun Mar 26 10:47:25 2023 +0800

    Allow setting env for UI deployment
---
 chart/skywalking/templates/ui-deployment.yaml | 4 ++++
 chart/skywalking/values.yaml                  | 1 +
 2 files changed, 5 insertions(+)

diff --git a/chart/skywalking/templates/ui-deployment.yaml b/chart/skywalking/templates/ui-deployment.yaml
index 9746107..6495d23 100644
--- a/chart/skywalking/templates/ui-deployment.yaml
+++ b/chart/skywalking/templates/ui-deployment.yaml
@@ -77,3 +77,7 @@ spec:
         env:
         - name: SW_OAP_ADDRESS
           value: "http://{{ template "skywalking.oap.fullname" . }}:{{ .Values.oap.ports.rest }}"
+        {{- range $key, $value :=  .Values.ui.env }}
+        - name: {{ $key }}
+          value: {{ $value | quote }}
+        {{- end }}
diff --git a/chart/skywalking/values.yaml b/chart/skywalking/values.yaml
index eaa54d3..5cf3992 100644
--- a/chart/skywalking/values.yaml
+++ b/chart/skywalking/values.yaml
@@ -170,6 +170,7 @@ ui:
     # runAsUser: 1000
     # runAsGroup: 1000
     # fsGroup: 1000
+  env:
 
 oapInit:
   nodeAffinity: {}