mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add command line parameters quoting in create connections script in Airflow chart (#17062)
Signed-off-by: Mikhail Cherepnev <mikhail.cherepnev@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
4e48d6e9f5
commit
a8c435ee48
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Airflow is a platform to programmatically author, schedule and monitor workflows
|
||||
name: airflow
|
||||
version: 4.0.7
|
||||
version: 4.0.8
|
||||
appVersion: 1.10.4
|
||||
icon: https://airflow.apache.org/_images/pin_large.png
|
||||
home: https://airflow.apache.org/
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{{- define "connections.script" }}
|
||||
#!/bin/sh -e
|
||||
{{- range .Values.airflow.connections }}
|
||||
airflow connections --add --conn_type {{ .type }} --conn_id {{ .id }}
|
||||
airflow connections --add --conn_type {{ .type }} --conn_id {{ .id }}
|
||||
{{- if .uri }} --conn_uri {{ .uri | quote }} {{ end -}}
|
||||
{{- if .host }} --conn_host {{ .host }} {{ end -}}
|
||||
{{- if .login }} --conn_login {{ .login }} {{ end -}}
|
||||
{{- if .password }} --conn_password {{ .password }} {{ end -}}
|
||||
{{- if .schema }} --conn_schema {{ .schema }} {{ end -}}
|
||||
{{- if .host }} --conn_host {{ .host | quote }} {{ end -}}
|
||||
{{- if .login }} --conn_login {{ .login | quote }} {{ end -}}
|
||||
{{- if .password }} --conn_password {{ .password | quote }} {{ end -}}
|
||||
{{- if .schema }} --conn_schema {{ .schema | quote }} {{ end -}}
|
||||
{{- if .port }} --conn_port {{ .port }} {{ end -}}
|
||||
{{- if .extra }} --conn_extra {{ .extra | quote }} {{ end -}}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user