Skip to content

Commit ab05674

Browse files
authored
chore: Fix listenerClass references in tests and docs (#632)
1 parent 7604406 commit ab05674

24 files changed

+35
-3
lines changed

docs/modules/airflow/examples/example-airflow-dags-configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ spec:
1919
mountPath: /dags/test_airflow_dag.py # <6>
2020
subPath: test_airflow_dag.py # <7>
2121
webservers:
22+
config:
23+
listenerClass: external-unstable
2224
roleGroups:
2325
default:
2426
envOverrides:

docs/modules/airflow/examples/example-airflow-incluster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
exposeConfig: false
1212
credentialsSecret: simple-airflow-credentials
1313
webservers:
14+
config:
15+
listenerClass: external-unstable
1416
roleGroups:
1517
default:
1618
envOverrides:

docs/modules/airflow/examples/example-airflow-kubernetes-executor-s3-logging.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ spec:
77
productVersion: 2.10.5
88
clusterConfig: {}
99
webservers:
10+
config:
11+
listenerClass: external-unstable
1012
envOverrides: &envOverrides
1113
AIRFLOW__LOGGING__REMOTE_LOGGING: "True"
1214
AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER: s3://<bucket-name>/airflow-task-logs/

docs/modules/airflow/examples/example-airflow-kubernetes-executor-s3-xcom.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ spec:
77
productVersion: 2.10.5
88
clusterConfig: {}
99
webservers:
10+
config:
11+
listenerClass: external-unstable
1012
envOverrides: &envOverrides
1113
AIRFLOW__CORE__XCOM_BACKEND: airflow.providers.common.io.xcom.backend.XComObjectStorageBackend
1214
# The connection id is obtained from the user part of the url that you will provide

docs/modules/airflow/examples/getting_started/code/airflow.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ spec:
99
clusterConfig:
1010
loadExamples: true
1111
exposeConfig: false
12-
listenerClass: external-unstable
1312
credentialsSecret: simple-airflow-credentials
1413
webservers:
14+
config:
15+
listenerClass: external-unstable
1516
roleGroups:
1617
default:
1718
replicas: 1

examples/simple-airflow-cluster-dags-cmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ spec:
9696
mountPath: /dags/test_airflow_dag.py
9797
subPath: test_airflow_dag.py
9898
webservers:
99+
config:
100+
listenerClass: external-unstable
99101
roleGroups:
100102
default:
101103
envOverrides:

examples/simple-airflow-cluster-ldap-insecure-tls.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ spec:
157157
- authenticationClass: airflow-with-ldap-insecure-tls-ldap
158158
userRegistrationRole: Admin
159159
webservers:
160+
config:
161+
listenerClass: external-unstable
160162
roleGroups:
161163
default:
162164
replicas: 1

examples/simple-airflow-cluster-ldap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ spec:
155155
- authenticationClass: airflow-with-ldap-server-veri-tls-ldap
156156
userRegistrationRole: Admin
157157
webservers:
158+
config:
159+
listenerClass: external-unstable
158160
roleGroups:
159161
default:
160162
replicas: 1

examples/simple-airflow-cluster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ spec:
2828
exposeConfig: false
2929
credentialsSecret: simple-airflow-credentials
3030
webservers:
31+
config:
32+
listenerClass: external-unstable
3133
roleGroups:
3234
default:
3335
replicas: 1

tests/templates/kuttl/cluster-operation/08-install-airflow.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ spec:
4040
credentialsSecret: test-airflow-credentials
4141
webservers:
4242
config:
43+
listenerClass: external-unstable
4344
logging:
4445
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
4546
roleGroups:

tests/templates/kuttl/cluster-operation/10-pause-airflow.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
credentialsSecret: test-airflow-credentials
2828
webservers:
2929
config:
30+
listenerClass: external-unstable
3031
logging:
3132
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3233
roleGroups:

tests/templates/kuttl/cluster-operation/20-stop-airflow.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
credentialsSecret: test-airflow-credentials
2828
webservers:
2929
config:
30+
listenerClass: external-unstable
3031
logging:
3132
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3233
roleGroups:

tests/templates/kuttl/cluster-operation/30-restart-airflow.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
credentialsSecret: test-airflow-credentials
2828
webservers:
2929
config:
30+
listenerClass: external-unstable
3031
logging:
3132
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3233
roleGroups:

tests/templates/kuttl/ldap/60-install-airflow-cluster.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ commands:
6666
userRegistrationRole: Admin
6767
webservers:
6868
config:
69+
listenerClass: external-unstable
6970
logging:
7071
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
7172
roleGroups:

tests/templates/kuttl/logging/41-install-airflow-cluster.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ spec:
7575
gitFolder: dags
7676
webservers:
7777
config:
78+
listenerClass: external-unstable
7879
resources:
7980
cpu:
8081
min: 200m

tests/templates/kuttl/mount-dags-configmap/30-install-airflow-cluster.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ spec:
8686
subPath: example_trigger_target_dag.py
8787
webservers:
8888
config:
89+
listenerClass: external-unstable
8990
logging:
9091
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
9192
roleGroups:

tests/templates/kuttl/mount-dags-gitsync/30-install-airflow-cluster.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ spec:
8181
name: test-cm-gitsync
8282
webservers:
8383
config:
84+
listenerClass: external-unstable
8485
logging:
8586
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
8687
roleGroups:

tests/templates/kuttl/oidc/install-airflow.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ spec:
5959
{% endif %}
6060
webservers:
6161
config:
62+
listenerClass: external-unstable
6263
logging:
6364
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
6465
roleGroups:

tests/templates/kuttl/opa/30-install-airflow.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ spec:
4747
{% endif %}
4848
webservers:
4949
config:
50+
listenerClass: external-unstable
5051
logging:
5152
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
5253
configOverrides:

tests/templates/kuttl/orphaned-resources/30-install-airflow-cluster.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ spec:
4040
credentialsSecret: test-airflow-credentials
4141
webservers:
4242
config:
43+
listenerClass: external-unstable
4344
logging:
4445
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
4546
roleGroups:

tests/templates/kuttl/overrides/10-install-airflow.yaml.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ spec:
4646
clusterConfig:
4747
loadExamples: true
4848
exposeConfig: false
49-
listenerClass: external-unstable
5049
credentialsSecret: airflow-credentials
5150
webservers:
51+
config:
52+
listenerClass: external-unstable
5253
envOverrides:
5354
COMMON_VAR: role-value # overridden by role group below
5455
ROLE_VAR: role-value # only defined here at role level

tests/templates/kuttl/overrides/20-install-airflow2.yaml.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ spec:
1414
clusterConfig:
1515
loadExamples: true
1616
exposeConfig: false
17-
listenerClass: external-unstable
1817
credentialsSecret: airflow-credentials
1918
webservers:
19+
config:
20+
listenerClass: external-unstable
2021
roleGroups:
2122
default:
2223
replicas: 1

tests/templates/kuttl/resources/30-install-airflow-cluster.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ spec:
4040
credentialsSecret: test-airflow-credentials
4141
webservers:
4242
config:
43+
listenerClass: external-unstable
4344
logging:
4445
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
4546
roleGroups:

tests/templates/kuttl/smoke/40-install-airflow-cluster.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ spec:
4343
credentialsSecret: test-airflow-credentials
4444
webservers:
4545
config:
46+
listenerClass: external-unstable
4647
logging:
4748
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
4849
configOverrides:

0 commit comments

Comments
 (0)