-
Notifications
You must be signed in to change notification settings - Fork 68
Incorrect Kind
in ownerRef
#98
Comments
controller-reconciler is a manually vendored project. We are trying to fix that. For now copy that from master into your vendor directory. |
Would you ensure that the CRDs are installed ? |
Yes, as I mentioned, I found a workaround with disabling
The problem with I am happy to send a PR, but I am not sure what is the good way to fix this |
I am trying to run Airflow Operator on OpenShift 4 and I am hitting an interesting issue:
I traced the source of this to https://github.com/GoogleCloudPlatform/airflow-operator/blob/master/vendor/sigs.k8s.io/controller-reconciler/pkg/genericreconciler/genericreconciler.go#L219 - i.e. the
Kind
gets set to actual type (*v1alpha1.AirflowBase
) instead of justAirflowBase
I also noticed this function https://github.com/GoogleCloudPlatform/airflow-operator/blob/master/pkg/apis/airflow/v1alpha1/airflowbase_types.go#L513 which looks like that is what we actually want to be used, but it never enters that function during execution.
It also seems the
controller-reconciler
project is gone.I was able to workaround the issue by turning of the
blockOwnerDeletion
but I don't like that at all:) It unblocked me for experimenting more with Airflow, but I would like to find a real solution.Any thoughts on how to solve this?
The text was updated successfully, but these errors were encountered: