mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/airflow] remove trailing newlines (#23951)
* [stable/airflow] update README.md Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com> * [stable/airflow] remove trailing newlines Signed-off-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Airflow is a platform to programmatically author, schedule and monitor workflows
|
||||
name: airflow
|
||||
version: 7.13.0
|
||||
version: 7.13.1
|
||||
appVersion: 1.10.12
|
||||
icon: https://airflow.apache.org/_images/pin_large.png
|
||||
home: https://airflow.apache.org/
|
||||
|
||||
@@ -50,7 +50,7 @@ kubectl exec \
|
||||
|
||||
## Upgrade Steps
|
||||
|
||||
Chart version numbers: [Chart.yaml](Chart.yaml) or [Helm Hub](https://hub.helm.sh/charts/stable/airflow)
|
||||
Chart version numbers: [Chart.yaml](Chart.yaml) or [Artifact Hub](https://artifacthub.io/packages/helm/helm-stable/airflow)
|
||||
|
||||
- [v7.12.X → v7.13.0](UPGRADE.md#v712x--v7130)
|
||||
- [v7.11.X → v7.12.0](UPGRADE.md#v711x--v7120)
|
||||
|
||||
@@ -24,20 +24,19 @@ data:
|
||||
DATABASE_PORT: "{{ .Values.externalDatabase.port }}"
|
||||
DATABASE_USER: "{{ .Values.externalDatabase.user }}"
|
||||
DATABASE_DB: "{{ .Values.externalDatabase.database }}"
|
||||
DATABASE_PROPERTIES: |
|
||||
DATABASE_PROPERTIES: |-
|
||||
{{ .Values.externalDatabase.properties }}
|
||||
{{- end }}
|
||||
# bash command which echos the URL encoded value of $DATABASE_PASSWORD
|
||||
DATABASE_PASSWORD_CMD: |
|
||||
DATABASE_PASSWORD_CMD: |-
|
||||
echo ${DATABASE_PASSWORD} | python3 -c "import urllib.parse; encoded_pass = urllib.parse.quote(input()); print(encoded_pass)"
|
||||
# bash command which echos the DB connection string in SQLAlchemy format
|
||||
DATABASE_SQLALCHEMY_CMD: |
|
||||
DATABASE_SQLALCHEMY_CMD: |-
|
||||
{{ include "DATABASE_SQLALCHEMY_CMD" . }}
|
||||
# bash command which echos the DB connection string in Celery result_backend format
|
||||
DATABASE_CELERY_CMD: |
|
||||
DATABASE_CELERY_CMD: |-
|
||||
{{ include "DATABASE_CELERY_CMD" . }}
|
||||
|
||||
|
||||
{{- if eq .Values.airflow.executor "CeleryExecutor" }}
|
||||
## ----------------
|
||||
## Redis
|
||||
@@ -53,10 +52,10 @@ data:
|
||||
{{- end }}
|
||||
# a bash command which echos the URL encoded value of $REDIS_PASSWORD
|
||||
# NOTE: if $REDIS_PASSWORD is non-empty, prints `:${REDIS_PASSWORD}@`, else ``
|
||||
REDIS_PASSWORD_CMD: |
|
||||
REDIS_PASSWORD_CMD: |-
|
||||
echo ${REDIS_PASSWORD} | python3 -c "import urllib.parse; encoded_pass = urllib.parse.quote(input()); print(f\":{encoded_pass}@\") if len(encoded_pass) > 0 else None"
|
||||
# a bash command which echos the Redis connection string
|
||||
REDIS_CONNECTION_CMD: |
|
||||
REDIS_CONNECTION_CMD: |-
|
||||
{{ include "REDIS_CONNECTION_CMD" . }}
|
||||
{{- end }}
|
||||
|
||||
@@ -72,7 +71,7 @@ data:
|
||||
{{- if .Values.airflow.fernetKey }}
|
||||
AIRFLOW__CORE__FERNET_KEY: "{{ .Values.airflow.fernetKey }}"
|
||||
{{- end }}
|
||||
AIRFLOW__CORE__SQL_ALCHEMY_CONN_CMD: |
|
||||
AIRFLOW__CORE__SQL_ALCHEMY_CONN_CMD: |-
|
||||
bash -c 'eval "$DATABASE_SQLALCHEMY_CMD"'
|
||||
{{- if .Values.web.serializeDAGs }}
|
||||
AIRFLOW__CORE__STORE_SERIALIZED_DAGS: "{{ .Values.web.serializeDAGs }}"
|
||||
@@ -85,13 +84,13 @@ data:
|
||||
## ----------------
|
||||
## Airflow - CeleryExecutor
|
||||
## ----------------
|
||||
AIRFLOW__CELERY__BROKER_URL_CMD: |
|
||||
AIRFLOW__CELERY__BROKER_URL_CMD: |-
|
||||
bash -c 'eval "$REDIS_CONNECTION_CMD"'
|
||||
{{- if .Values.flower.enabled }}
|
||||
AIRFLOW__CELERY__FLOWER_PORT: "5555"
|
||||
AIRFLOW__CELERY__FLOWER_URL_PREFIX: "{{ .Values.flower.urlPrefix }}"
|
||||
{{- end }}
|
||||
AIRFLOW__CELERY__RESULT_BACKEND_CMD: |
|
||||
AIRFLOW__CELERY__RESULT_BACKEND_CMD: |-
|
||||
bash -c 'eval "$DATABASE_CELERY_CMD"'
|
||||
AIRFLOW__CELERY__WORKER_CONCURRENCY: "{{ .Values.workers.celery.instances }}"
|
||||
AIRFLOW__CELERY__WORKER_LOG_SERVER_PORT: "8793"
|
||||
|
||||
Reference in New Issue
Block a user