Upgrade Guide: v4.5.0 to v4.5.1
What changed
In v4.5.0, ksops install always copied both ksops and kustomize from hardcoded paths. This release makes two improvements based on community feedback (#327):
-
ksops installnow usesos.Executable()to resolve its own binary path instead of hardcoding/usr/local/bin/ksops. This makes the install command work regardless of where the binary is located. -
Kustomize copying is now opt-in via
--with-kustomize. Since ArgoCD already ships with kustomize,ksops installnow only copies theksopsbinary by default. Pass--with-kustomizeto also copy kustomize.
How to upgrade
Add --with-kustomize to your ksops install command if you want to continue overriding ArgoCD's built-in kustomize (the previous default behavior).
Before:
initContainers:
- name: install-ksops
image: viaductoss/ksops:v4.5.0
command: ["/usr/local/bin/ksops", "install", "/custom-tools"]
volumeMounts:
- mountPath: /custom-tools
name: custom-toolsAfter:
initContainers:
- name: install-ksops
image: viaductoss/ksops:v4.5.1
command: ["/usr/local/bin/ksops", "install", "--with-kustomize", "/custom-tools"]
volumeMounts:
- mountPath: /custom-tools
name: custom-toolsIf you don't need to override ArgoCD's kustomize, you can drop --with-kustomize and remove the kustomize volume mount:
initContainers:
- name: install-ksops
image: viaductoss/ksops:v4.5.1
command: ["/usr/local/bin/ksops", "install", "/custom-tools"]
volumeMounts:
- mountPath: /custom-tools
name: custom-tools