Skip to content

Commit d83dfa0

Browse files
committed
review feedback
1 parent a1a62e6 commit d83dfa0

15 files changed

Lines changed: 28 additions & 25 deletions

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
- The `runAsUser` and `runAsGroup` fields will not be set anymore by the operator
3131
- The defaults from the docker images itself will now apply, which will be different from 1000/0 going forward
3232
- This is marked as breaking because tools and policies might exist, which require these fields to be set
33+
- Changed listener class to be role-only ([#645]).
3334

3435
### Fixed
3536

@@ -48,6 +49,7 @@
4849
[#625]: https://github.com/stackabletech/airflow-operator/pull/625
4950
[#630]: https://github.com/stackabletech/airflow-operator/pull/630
5051
[#636]: https://github.com/stackabletech/airflow-operator/pull/636
52+
[#645]: https://github.com/stackabletech/airflow-operator/pull/645
5153

5254
## [25.3.0] - 2025-03-21
5355

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
mountPath: /dags/test_airflow_dag.py # <6>
2020
subPath: test_airflow_dag.py # <7>
2121
webservers:
22-
config:
22+
roleConfig:
2323
listenerClass: external-unstable
2424
roleGroups:
2525
default:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
exposeConfig: false
1212
credentialsSecret: simple-airflow-credentials
1313
webservers:
14-
config:
14+
roleConfig:
1515
listenerClass: external-unstable
1616
roleGroups:
1717
default:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
productVersion: 2.10.5
88
clusterConfig: {}
99
webservers:
10-
config:
10+
roleConfig:
1111
listenerClass: external-unstable
1212
envOverrides: &envOverrides
1313
AIRFLOW__LOGGING__REMOTE_LOGGING: "True"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
productVersion: 2.10.5
88
clusterConfig: {}
99
webservers:
10-
config:
10+
roleConfig:
1111
listenerClass: external-unstable
1212
envOverrides: &envOverrides
1313
AIRFLOW__CORE__XCOM_BACKEND: airflow.providers.common.io.xcom.backend.XComObjectStorageBackend

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
exposeConfig: false
1212
credentialsSecret: simple-airflow-credentials
1313
webservers:
14-
config:
14+
roleConfig:
1515
listenerClass: external-unstable
1616
roleGroups:
1717
default:

docs/modules/airflow/pages/usage-guide/listenerclass.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:description: Configure Airflow service exposure with ListenerClasses: cluster-internal, external-unstable, or external-stable.
33

44
The operator deploys a xref:listener-operator:listener.adoc[Listener] for the Webserver pod.
5-
The listener defaults to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.webservers.config.listenerClass`:
5+
The listener defaults to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.webservers.roleConfig.listenerClass`:
66

77
[source,yaml]
88
----

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ spec:
9696
mountPath: /dags/test_airflow_dag.py
9797
subPath: test_airflow_dag.py
9898
webservers:
99-
config:
99+
roleConfig:
100100
listenerClass: external-unstable
101101
roleGroups:
102102
default:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ spec:
157157
- authenticationClass: airflow-with-ldap-insecure-tls-ldap
158158
userRegistrationRole: Admin
159159
webservers:
160-
config:
160+
roleConfig:
161161
listenerClass: external-unstable
162162
roleGroups:
163163
default:

examples/simple-airflow-cluster-ldap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ spec:
155155
- authenticationClass: airflow-with-ldap-server-veri-tls-ldap
156156
userRegistrationRole: Admin
157157
webservers:
158-
config:
158+
roleConfig:
159159
listenerClass: external-unstable
160160
roleGroups:
161161
default:

0 commit comments

Comments
 (0)