@@ -8,16 +8,16 @@ commands:
88 # check that the executor template configmap contains mounts and envs
99 # will expect 6 (2 from from the volume declaration + mounts to four containers, base and gitsync-0, gitsync-1 and multi-gitsync)
1010 - script: kubectl -n $NAMESPACE get cm airflow-executor-pod-template -o json | jq -r '.data."airflow_executor_pod_template.yaml"' | grep "test-cm-gitsync" | wc -l | grep 6
11- # will expect 4 (two containers, base and gitsync-0, gitsync-1 and multi-gitsync)
11+ # will expect 4 (four containers, base, gitsync-0, gitsync-1 and multi-gitsync)
1212 - script: kubectl -n $NAMESPACE get cm airflow-executor-pod-template -o json | jq -r '.data."airflow_executor_pod_template.yaml"' | grep "AIRFLOW_TEST_VAR" | wc -l | grep 4
13- # will expect 2 (three container, gitsync-0, gitsync-1)
13+ # will expect 2 (two container, gitsync-0, gitsync-1)
1414{% if test_scenario ['values' ]['access' ] == 'https' %}
1515 - script: kubectl -n $NAMESPACE get cm airflow-executor-pod-template -o json | jq -r '.data."airflow_executor_pod_template.yaml"' | grep "GITSYNC_USERNAME" | wc -l | grep 2
1616 - script: kubectl -n $NAMESPACE get cm airflow-executor-pod-template -o json | jq -r '.data."airflow_executor_pod_template.yaml"' | grep "GITSYNC_PASSWORD" | wc -l | grep 2
1717{% endif %}
1818{% else %}
1919 # check that the statefulset contains mounts and envs
20- # will expect 6 (2 from from the volume declaration + mounts to 5 containers, base and 2 gitsyncs plus configmap restarter)
20+ # will expect 6 (2 from the volume declaration + mounts to 5 containers, base and 2 gitsyncs plus configmap restarter)
2121 - script: kubectl -n $NAMESPACE get sts airflow-worker-default -o json | grep "test-cm-gitsync" | wc -l | grep 7
2222 # will expect 5 (three containers, base, gitsyinc-0 and gitsync-1, and two initContainer gitsync-0 and gitsync-1)
2323 - script: kubectl -n $NAMESPACE get sts airflow-worker-default -o json | grep "AIRFLOW_TEST_VAR" | wc -l | grep 5
0 commit comments