Skip to content

Commit 801c1b7

Browse files
jland-redhatJaland
andauthored
fix: fixing kuadrant install issue (#148)
* Fixing install script * Removing the route as you need to chose one or the other and it is causing issues for the golden path --------- Co-authored-by: Jamie Land <hokie10@gmail.com>
1 parent 7e79990 commit 801c1b7

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

deployment/scripts/install-dependencies.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff 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
108123
apiVersion: operators.coreos.com/v1alpha1
109124
kind: CatalogSource

docs/samples/models/simulator/model.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ spec:
88
name: facebook/opt-125m
99
replicas: 1
1010
router:
11-
route: { }
1211
# Connect to MaaS-enabled gateway
1312
gateway:
1413
refs:

0 commit comments

Comments
 (0)