2727 - name : Test kustomize with different overlays
2828 run : |
2929 echo "Testing base kustomization..."
30- kustomize build deploy/kubernetes > /tmp/base-manifests.yaml
30+ kustomize build deploy/kubernetes/ai-gateway/semantic-router > /tmp/base-manifests.yaml
3131
3232 echo "Validating generated resources..."
3333
@@ -57,22 +57,22 @@ jobs:
5757 - name : Verify ConfigMap generation
5858 run : |
5959 echo "Checking ConfigMap generation..."
60- kustomize build deploy/kubernetes | grep -A 20 "kind: ConfigMap"
60+ kustomize build deploy/kubernetes/ai-gateway/semantic-router | grep -A 20 "kind: ConfigMap"
6161
6262 # Verify config files are included
63- if ! kustomize build deploy/kubernetes | grep -q "config.yaml"; then
63+ if ! kustomize build deploy/kubernetes/ai-gateway/semantic-router | grep -q "config.yaml"; then
6464 echo "Warning: config.yaml might not be properly included in ConfigMap"
6565 fi
6666
67- if ! kustomize build deploy/kubernetes | grep -q "tools_db.json"; then
67+ if ! kustomize build deploy/kubernetes/ai-gateway/semantic-router | grep -q "tools_db.json"; then
6868 echo "Warning: tools_db.json might not be properly included in ConfigMap"
6969 fi
7070
7171 - name : Validate observability kustomization
7272 run : |
7373 echo "Validating observability stack kustomization..."
74- if [ -d "deploy/kubernetes/observability" ]; then
75- kustomize build deploy/kubernetes/observability > /tmp/observability-manifests.yaml
74+ if [ -d "deploy/kubernetes/ai-gateway/semantic-router/ observability" ]; then
75+ kustomize build deploy/kubernetes/ai-gateway/semantic-router/ observability > /tmp/observability-manifests.yaml
7676 echo "✓ Observability kustomization is valid"
7777
7878 # Verify expected resources
9090 echo "Validating AI Gateway configurations..."
9191
9292 # Check if ai-gateway directory exists
93- if [ -d "deploy/kubernetes/ai-gateway" ]; then
93+ if [ -d "deploy/kubernetes/ai-gateway/semantic-router/ai-gateway " ]; then
9494 # Validate configuration yamls (without CRDs)
95- for yaml_file in deploy/kubernetes/ai-gateway/configuration/*.yaml; do
95+ for yaml_file in deploy/kubernetes/ai-gateway/semantic-router/ai-gateway/ configuration/*.yaml; do
9696 if [ -f "$yaml_file" ]; then
9797 echo "Checking $yaml_file..."
9898 # Basic YAML syntax check
@@ -101,7 +101,7 @@ jobs:
101101 done
102102
103103 # Validate inference-pool manifests (skip CRD validation as they may not be installed)
104- for yaml_file in deploy/kubernetes/ai-gateway/inference-pool/*.yaml; do
104+ for yaml_file in deploy/kubernetes/ai-gateway/semantic-router/ai-gateway/ inference-pool/*.yaml; do
105105 if [ -f "$yaml_file" ]; then
106106 echo "Checking $yaml_file for YAML syntax..."
107107 # Just check if it's valid YAML
0 commit comments