Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ spec:
mountPath: /dags/test_airflow_dag.py # <6>
subPath: test_airflow_dag.py # <7>
webservers:
config:
listenerClass: external-unstable
roleGroups:
default:
envOverrides:
Expand Down
2 changes: 2 additions & 0 deletions docs/modules/airflow/examples/example-airflow-incluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ spec:
exposeConfig: false
credentialsSecret: simple-airflow-credentials
webservers:
config:
listenerClass: external-unstable
roleGroups:
default:
envOverrides:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ spec:
productVersion: 2.10.5
clusterConfig: {}
webservers:
config:
listenerClass: external-unstable
envOverrides: &envOverrides
AIRFLOW__LOGGING__REMOTE_LOGGING: "True"
AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER: s3://<bucket-name>/airflow-task-logs/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ spec:
productVersion: 2.10.5
clusterConfig: {}
webservers:
config:
listenerClass: external-unstable
envOverrides: &envOverrides
AIRFLOW__CORE__XCOM_BACKEND: airflow.providers.common.io.xcom.backend.XComObjectStorageBackend
# The connection id is obtained from the user part of the url that you will provide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ spec:
clusterConfig:
loadExamples: true
exposeConfig: false
listenerClass: external-unstable
credentialsSecret: simple-airflow-credentials
webservers:
config:
listenerClass: external-unstable
roleGroups:
default:
replicas: 1
Expand Down
2 changes: 2 additions & 0 deletions examples/simple-airflow-cluster-dags-cmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ spec:
mountPath: /dags/test_airflow_dag.py
subPath: test_airflow_dag.py
webservers:
config:
listenerClass: external-unstable
roleGroups:
default:
envOverrides:
Expand Down
2 changes: 2 additions & 0 deletions examples/simple-airflow-cluster-ldap-insecure-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ spec:
- authenticationClass: airflow-with-ldap-insecure-tls-ldap
userRegistrationRole: Admin
webservers:
config:
listenerClass: external-unstable
roleGroups:
default:
replicas: 1
Expand Down
2 changes: 2 additions & 0 deletions examples/simple-airflow-cluster-ldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ spec:
- authenticationClass: airflow-with-ldap-server-veri-tls-ldap
userRegistrationRole: Admin
webservers:
config:
listenerClass: external-unstable
roleGroups:
default:
replicas: 1
Expand Down
2 changes: 2 additions & 0 deletions examples/simple-airflow-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ spec:
exposeConfig: false
credentialsSecret: simple-airflow-credentials
webservers:
config:
listenerClass: external-unstable
roleGroups:
default:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ spec:
credentialsSecret: test-airflow-credentials
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
credentialsSecret: test-airflow-credentials
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
credentialsSecret: test-airflow-credentials
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
credentialsSecret: test-airflow-credentials
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ commands:
userRegistrationRole: Admin
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ spec:
gitFolder: dags
webservers:
config:
listenerClass: external-unstable
resources:
cpu:
min: 200m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ spec:
subPath: example_trigger_target_dag.py
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ spec:
name: test-cm-gitsync
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
1 change: 1 addition & 0 deletions tests/templates/kuttl/oidc/install-airflow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ spec:
{% endif %}
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
1 change: 1 addition & 0 deletions tests/templates/kuttl/opa/30-install-airflow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ spec:
{% endif %}
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
configOverrides:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ spec:
credentialsSecret: test-airflow-credentials
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
3 changes: 2 additions & 1 deletion tests/templates/kuttl/overrides/10-install-airflow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ spec:
clusterConfig:
loadExamples: true
exposeConfig: false
listenerClass: external-unstable
credentialsSecret: airflow-credentials
webservers:
config:
listenerClass: external-unstable
envOverrides:
COMMON_VAR: role-value # overridden by role group below
ROLE_VAR: role-value # only defined here at role level
Expand Down
3 changes: 2 additions & 1 deletion tests/templates/kuttl/overrides/20-install-airflow2.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ spec:
clusterConfig:
loadExamples: true
exposeConfig: false
listenerClass: external-unstable
credentialsSecret: airflow-credentials
webservers:
config:
listenerClass: external-unstable
roleGroups:
default:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ spec:
credentialsSecret: test-airflow-credentials
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
credentialsSecret: test-airflow-credentials
webservers:
config:
listenerClass: external-unstable
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
configOverrides:
Expand Down