Due to issues with go's plugin system, its sometimes easier to workaround KSOPS with a kustomize exec plugin.
Save the following as ~/.config/kustomize/plugin/viaduct.ai/v1/ksops/ksops:
~/.config/kustomize/plugin/viaduct.ai/v1/ksops/ksops
#!/bin/bash yq -r '.files[]' "$1" | while read file; do echo "---" sops -d "$file" done
There was an error while loading. Please reload this page.