You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/03/12 01:00:26 UTC

[airflow] branch master updated: Wrapping create-user-job by double quote for Helm Chart (#14723)

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

kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e6398f  Wrapping create-user-job by double quote for Helm Chart (#14723)
1e6398f is described below

commit 1e6398f5797877c8c956187f5c4c89125f6a7826
Author: Dongyeon Lee <de...@gmail.com>
AuthorDate: Fri Mar 12 09:58:48 2021 +0900

    Wrapping create-user-job by double quote for Helm Chart (#14723)
    
    When UI default user password includes a special character like `$`, it occurs error in helm.
---
 chart/templates/create-user-job.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chart/templates/create-user-job.yaml b/chart/templates/create-user-job.yaml
index 30b6c25..7dcec9d 100644
--- a/chart/templates/create-user-job.yaml
+++ b/chart/templates/create-user-job.yaml
@@ -81,7 +81,7 @@ spec:
             - "-l"
             - {{ .Values.webserver.defaultUser.lastName }}
             - "-p"
-            - {{ .Values.webserver.defaultUser.password }}
+            - "{{ .Values.webserver.defaultUser.password }}"
           envFrom:
           {{- include "custom_airflow_environment_from" . | default "\n  []" | indent 10 }}
           env: