Skip to content

Commit 0dc3ed5

Browse files
committed
fix(argocd): add kustomize binary to KSOPS init container
The KSOPS tarball only contains the ksops binary, but the repo-server volumeMounts expect both kustomize and ksops at /usr/local/bin. Downloads kustomize v5.8.0 alongside KSOPS v4.4.0.
1 parent 29e97b7 commit 0dc3ed5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bootstrap/argocd-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ spec:
4040
args:
4141
- |
4242
set -e
43+
echo "Downloading kustomize v5.8.0..."
44+
wget -qO- https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.8.0/kustomize_v5.8.0_linux_amd64.tar.gz | tar xz -C /custom-tools
4345
echo "Downloading KSOPS v4.4.0..."
4446
wget -qO- https://github.com/viaduct-ai/kustomize-sops/releases/download/v4.4.0/ksops_4.4.0_Linux_x86_64.tar.gz | tar xz -C /custom-tools
47+
chmod +x /custom-tools/kustomize /custom-tools/ksops
4548
echo "Done."
4649
volumeMounts:
4750
- mountPath: /custom-tools

0 commit comments

Comments
 (0)