Skip to content

Commit

Permalink
Add example gateway like make local setup to fix issue with namespace…
Browse files Browse the repository at this point in the history
…s. Fix issue with Sail version not populating
  • Loading branch information
R-Lawton committed Nov 8, 2024
1 parent 549f150 commit 1bbd75b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: istiod
namespace: gateway-system
namespace: istio-system
spec:
namespaceSelector:
matchNames:
- gateway-system
- istio-system
selector:
matchLabels:
app: istiod
Expand Down
8 changes: 8 additions & 0 deletions hack/quickstart-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ fi

if [ -z $ISTIO_INSTALL_SAIL ]; then
ISTIO_INSTALL_SAIL=${ISTIO_INSTALL_SAIL:=true}
fi

if [ -z "$SAIL_VERSION" ] && [ "$ISTIO_INSTALL_SAIL" = "true" ]; then
SAIL_VERSION=${SAIL_VERSION:="0.1.0"}
fi

Expand Down Expand Up @@ -457,6 +460,11 @@ info "Deploying Kuadrant sample configuration..."
kubectl -n ${KUADRANT_NAMESPACE} apply -f ${KUADRANT_REPO_RAW}/config/samples/kuadrant_v1beta1_kuadrant.yaml
success "Kuadrant sample configuration deployed."

# Deploy gateway
info "Deploying example gateway ..."
kustomize build config/dependencies/istio/gateway | kubectl apply -f -
success "Kuadrant sample gateway deployed."

# Install thanos on hub cluster
if [ "$HUB" -eq 1 ]; then
info "Installing thanos in ${KUADRANT_CLUSTER_NAME}... (as hub cluster)"
Expand Down

0 comments on commit 1bbd75b

Please sign in to comment.