This leads to errors as seen in getting_started scripts (described in a slack thread):
Creating Airflow cluster
error: resource mapping not found for name: "airflow" namespace: "" from "airflow.yaml": no matches for kind "AirflowCluster" in version "airflow.stackable.tech/v1alpha1"
ensure CRDs are installed first
The workaround is to add a sleep 20
Why now
Previously, Helm installed the CRDs, and did so before deploying the operators.
Now Helm deploys the operators without CRDs (by default), and the CRDs are created after the operator pod is up. An apply of a CR that happens straight after that but before the maintainer has created the CRD will fail.
Possible solution
Add a startupProbe endpoint which only gives 200 OK when the CRD has been deployed.
This leads to errors as seen in getting_started scripts (described in a slack thread):
The workaround is to add a
sleep 20Why now
Previously, Helm installed the CRDs, and did so before deploying the operators.
Now Helm deploys the operators without CRDs (by default), and the CRDs are created after the operator pod is up. An apply of a CR that happens straight after that but before the maintainer has created the CRD will fail.
Possible solution
Add a startupProbe endpoint which only gives
200 OKwhen the CRD has been deployed.