Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Expand Down
2 changes: 1 addition & 1 deletion base-kustomize/envoyproxy-gateway/base/kustomization.yaml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add --- to beginning of file.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
sortOptions:
order: fifo
resources:
Expand All @@ -8,4 +9,3 @@ resources:
- envoy-gateway.yaml
- envoy-endpoint-policies.yaml
- envoy-service-monitor.yaml
- all.yaml
15 changes: 15 additions & 0 deletions base-kustomize/envoyproxy-gateway/overlay/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

# Include the helm output (all.yaml) that was saved by the post-renderer
# This file contains the controller deployment and other helm-generated resources
resources:
- all.yaml
- ../base/envoy-gateway-namespace.yaml
- ../base/envoy-internal-gateway-issuer.yaml
- ../base/envoy-custom-proxy-config.yaml
- ../base/envoy-gatewayclass.yaml
- ../base/envoy-gateway.yaml
- ../base/envoy-endpoint-policies.yaml
- ../base/envoy-service-monitor.yaml
5 changes: 5 additions & 0 deletions base-kustomize/kustomize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ set -e
KUSTOMIZE_DIR=${1:-$GENESTACK_KUSTOMIZE_ARG}
pushd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null
cat <&0 > "${KUSTOMIZE_DIR}"/../base/all.yaml

# Also copy it to the overlay directory so kustomize can reference it
# This is needed because kustomize has security restrictions on file paths
cp "${KUSTOMIZE_DIR}"/../base/all.yaml "${KUSTOMIZE_DIR}"/all.yaml

kubectl kustomize "${KUSTOMIZE_DIR}"
popd &>/dev/null
15 changes: 14 additions & 1 deletion bin/install-envoy-gateway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,19 @@ echo
# Execute the command directly from the array
"${helm_command[@]}"

# Debug: Check what was actually installed
echo ""
echo "[DEBUG] Checking what was installed by helm..."
echo "Deployments in envoyproxy-gateway-system:"
kubectl get deployments -n envoyproxy-gateway-system -o wide 2>/dev/null || echo "No deployments found"
echo ""
echo "All resources in envoyproxy-gateway-system:"
kubectl get all -n envoyproxy-gateway-system 2>/dev/null || echo "No resources found"
echo ""
echo "Helm manifest (first 50 lines):"
helm get manifest envoyproxy-gateway -n envoyproxy-gateway-system 2>/dev/null | head -50 || echo "Could not get manifest"
echo ""

## Install egctl Binary (Post-Installation)

# Install egctl
Expand All @@ -143,7 +156,7 @@ if [ ! -f "/usr/local/bin/egctl" ]; then
sudo mkdir -p /opt/egctl-install
pushd /opt/egctl-install || exit 1
# Use the extracted version for wget
sudo wget "https://github.com/envoyproxy/gateway/releases/download/${SERVICE_VERSION}/egctl_${SERVICE_VERSION}_linux_amd64.tar.gz" -O egctl.tar.gz
sudo wget -nv "https://github.com/envoyproxy/gateway/releases/download/${SERVICE_VERSION}/egctl_${SERVICE_VERSION}_linux_amd64.tar.gz" -O egctl.tar.gz
sudo tar -xvf egctl.tar.gz
sudo install -o root -g root -m 0755 bin/linux/amd64/egctl /usr/local/bin/egctl
/usr/local/bin/egctl completion bash > /tmp/egctl.bash
Expand Down
Loading
Loading