Unable to install Openshift Gitops when DeploymentConfig capability is disabled in Openshift cluster
Issue
-
Openshift Gitops Operator following errOpenshift clusterDeploymentConfig capability and when trying to install
-
Openshift Cluster 4.14 is build without DeploymentConfig capability and when trying to install Openshift Gitops Operator on the same Openshift cluster following error is observed in openshift-gitops-operator-controller-manager pod and the Gitops Operator installation fails.
ERROR controller-runtime.source.EventHandler if kind is a CRD, it should be installed before calling Start {"kind": "DeploymentConfig.apps.openshift.io", "error": "no matches for kind \"DeploymentConfig\" in version \"apps.openshift.io/v1\""}
sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1.1
/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/source/kind.go:63
k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func1
/remote-source/deps/gomod/pkg/mod/k8s.io/apimachinery@v0.28.3/pkg/util/wait/loop.go:49
k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext
/remote-source/deps/gomod/pkg/mod/k8s.io/apimachinery@v0.28.3/pkg/util/wait/loop.go:50
k8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel
/remote-source/deps/gomod/pkg/mod/k8s.io/apimachinery@v0.28.3/pkg/util/wait/poll.go:33
sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1
/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/source/kind.go:56
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.14+
- Red Hat OpenShift GitOps
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.