Skip to content

Commit

Permalink
Don't need an external Kustomize
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrankel committed Jan 6, 2025
1 parent d43be37 commit f5578b2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test-on-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ jobs:
with:
cluster_name: minimal-cluster
location: europe-west9
- name: Install kustomize
run: |
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
sudo mv kustomize /usr/local/bin
- name: Edit image tag with GitHub Run ID
run: (cd kubernetes && kustomize edit set image ghcr.io/ajavageek/vcluster-pipeline=:${{github.run_id}})
- name: Install vCluster
Expand Down Expand Up @@ -120,9 +116,7 @@ jobs:
--docker-username="${{ github.actor }}" --docker-password="${{ secrets.GITHUB_TOKEN }}" \
--dry-run=client -o yaml | kubectl apply -f -
- name: Deploy Kustomized manifest to Google Cloud
run: |
kustomize build kubernetes > manifest.yml
kubectl apply -f manifest.yml
run: kubectl apply -k kubernetes
- name: Retrieve LoadBalancer external IP inside the vCluster
run: |
for i in {1..10}; do
Expand Down

0 comments on commit f5578b2

Please sign in to comment.