Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Implements #11353 : [stable/airflow] install-requirements.sh script s…
Browse files Browse the repository at this point in the history
…hould be always available
  • Loading branch information
mgaggero committed Feb 12, 2019
1 parent 4d83b64 commit 49ff84a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions stable/airflow/templates/deployments-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ spec:
env:
{{- include "airflow.mapenvsecrets" . | indent 10 }}
volumeMounts:
- name: scripts
mountPath: /usr/local/scripts
{{- if .Values.persistence.enabled }}
- name: dags-data
mountPath: {{ .Values.dags.path }}
{{- else if .Values.dags.initContainer.enabled }}
- name: dags-data
mountPath: {{ .Values.dags.path }}
- name: scripts
mountPath: /usr/local/scripts
{{- if .Values.airflow.connections }}
- name: connections
mountPath: /usr/local/connections
Expand Down
4 changes: 2 additions & 2 deletions stable/airflow/templates/deployments-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ spec:
env:
{{- include "airflow.mapenvsecrets" . | indent 10 }}
volumeMounts:
- name: scripts
mountPath: /usr/local/scripts
{{- if .Values.persistence.enabled }}
- name: dags-data
mountPath: {{ .Values.dags.path }}
{{- else if .Values.dags.initContainer.enabled }}
- name: dags-data
mountPath: {{ .Values.dags.path }}
- name: scripts
mountPath: /usr/local/scripts
{{- end }}
{{- if .Values.logsPersistence.enabled }}
- name: logs-data
Expand Down
4 changes: 2 additions & 2 deletions stable/airflow/templates/statefulsets-workers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ spec:
env:
{{- include "airflow.mapenvsecrets" . | indent 10 }}
volumeMounts:
- name: scripts
mountPath: /usr/local/scripts
{{- $secretsDir := .Values.workers.secretsDir -}}
{{- range .Values.workers.secrets }}
- name: {{ . }}-volume
Expand All @@ -90,8 +92,6 @@ spec:
{{- else if .Values.dags.initContainer.enabled }}
- name: dags-data
mountPath: {{ .Values.dags.path }}
- name: scripts
mountPath: /usr/local/scripts
{{- end }}
args:
- "bash"
Expand Down

0 comments on commit 49ff84a

Please sign in to comment.