Skip to content

Commit

Permalink
Merge pull request #76 from ultimateai/fix/QAT-549
Browse files Browse the repository at this point in the history
fix: QAT-549 remove value in http_route
  • Loading branch information
kunle-johnson committed Aug 22, 2024
2 parents add9b9f + 1820891 commit a3b59e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/preview-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
echo "No Entries found /$preview_branch_name in http_route path, no action required"
else
echo "Entries found for /$preview_branch_name in path http_route.yaml. Doing the clean up"
preview_path=/$preview_branch_name preview_service=dashboard-frontend-dev-$preview_branch_name-service yq -i '.spec.rules += [{"matches": [{"path":{"type": "PathPrefix", "value": env(preview_path)}}] , "backendRefs": [{"kind": "Service", "name": env(preview_service), "port": 3000 }]}]' http_route.yaml
preview_path=/$preview_branch_name preview_service=dashboard-frontend-dev-$preview_branch_name-service yq -i '.spec.rules -= [{"matches": [{"path":{"type": "PathPrefix", "value": env(preview_path)}}] , "backendRefs": [{"kind": "Service", "name": env(preview_service), "port": 3000 }]}]' http_route.yaml
fi
env:
K8S_ENV_NAME: development
Expand Down

0 comments on commit a3b59e1

Please sign in to comment.