fix: remove unused Flux CLI install from deploy workflow
The deploy pipeline never uses the flux binary after installation, so the GitHub release download only adds a flaky failure point. Remove the step and keep the bootstrap path kubectl-only.
This commit is contained in:
@@ -241,12 +241,6 @@ jobs:
|
|||||||
curl -fsSL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/$(curl -fsSL https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
curl -fsSL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/$(curl -fsSL https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||||
chmod +x /usr/local/bin/kubectl
|
chmod +x /usr/local/bin/kubectl
|
||||||
|
|
||||||
- name: Install flux CLI
|
|
||||||
run: |
|
|
||||||
curl -fsSL https://github.com/fluxcd/flux2/releases/download/v2.5.1/flux_2.5.1_linux_amd64.tar.gz | tar xz -C /tmp
|
|
||||||
mv /tmp/flux /usr/local/bin/flux
|
|
||||||
chmod +x /usr/local/bin/flux
|
|
||||||
|
|
||||||
- name: Rewrite kubeconfig for runner-reachable API
|
- name: Rewrite kubeconfig for runner-reachable API
|
||||||
working-directory: terraform
|
working-directory: terraform
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user