Skip to content

Commit 3a6f6ec

Browse files
committed
fix overrides integrationtest
1 parent b13cfb7 commit 3a6f6ec

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

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

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,24 @@ stringData:
1111
adminUser.email: airflow@airflow.com
1212
adminUser.password: airflow
1313
connections.secretKey: thisISaSECRET_1234
14-
connections.sqlalchemyDatabaseUri: postgresql+psycopg2://airflow:airflow@airflow-postgresql.default.svc.cluster.local/airflow
15-
# Only needed when using celery workers (instead of Kubernetes executors)
16-
connections.celeryResultBackend: db+postgresql://airflow:airflow@airflow-postgresql.default.svc.cluster.local/airflow
14+
connections.sqlalchemyDatabaseUri: postgresql+psycopg2://airflow:airflow@airflow-postgresql/airflow
15+
connections.celeryResultBackend: db+postgresql://airflow:airflow@airflow-postgresql/airflow
16+
connections.celeryBrokerUrl: redis://:redis@airflow-redis-master:6379/0
17+
---
18+
apiVersion: v1
19+
kind: Secret
20+
metadata:
21+
name: test-override
22+
type: Opaque
23+
stringData:
24+
adminUser.username: airflow
25+
adminUser.firstname: Airflow
26+
adminUser.lastname: Admin
27+
adminUser.email: airflow@airflow.com
28+
adminUser.password: airflow
29+
connections.secretKey: thisISaSECRET_1234
30+
connections.sqlalchemyDatabaseUri: postgresql+psycopg2://airflow:airflow@airflow-postgresql/airflow
31+
connections.celeryResultBackend: db+postgresql://airflow:airflow@airflow-postgresql/airflow
1732
connections.celeryBrokerUrl: redis://:redis@airflow-redis-master:6379/0
1833
---
1934
apiVersion: airflow.stackable.tech/v1alpha1
@@ -29,7 +44,7 @@ spec:
2944
listenerClass: external-unstable
3045
credentialsSecret: airflow-credentials
3146
webservers:
32-
envOverride:
47+
envOverrides:
3348
credentialsSecret: test-override
3449
roleGroups:
3550
default:

0 commit comments

Comments
 (0)