File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,25 @@ install_component() {
100100
101101 # Inline handler for Kuadrant (installed via Helm)
102102 if [[ " $component " == " kuadrant" ]]; then
103+ # Ensure kuadrant-system namespace exists
104+ kubectl create namespace kuadrant-system 2> /dev/null || echo " ✅ Namespace kuadrant-system already exists"
105+
106+
107+ echo " 🚀 Creating Kuadrant OperatorGroup..."
108+ kubectl apply -f - << EOF
109+ apiVersion: operators.coreos.com/v1
110+ kind: OperatorGroup
111+ metadata:
112+ name: kuadrant-operator-group
113+ namespace: kuadrant-system
114+ spec: {}
115+ EOF
116+
103117 # Check if the CatalogSource already exists before applying
104118 if kubectl get catalogsource kuadrant-operator-catalog -n kuadrant-system & > /dev/null; then
105119 echo " ✅ Kuadrant CatalogSource already exists in namespace kuadrant-system, skipping creation."
106120 else
121+ echo " 🚀 Creating Kuadrant CatalogSource..."
107122 kubectl apply -f - << EOF
108123apiVersion: operators.coreos.com/v1alpha1
109124kind: CatalogSource
You can’t perform that action at this time.
0 commit comments