-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KSOPS error on decrypting when integrate with ArgoCD #263
Comments
Hey @PhamQuang-512! 👋 I'm here to help you with your KSOPS error. I'm a bot designed to assist with bug fixes, answer questions, and help you become a contributor. Let's tackle this together! To resolve the KSOPS decryption error when integrating with ArgoCD, ensure that ArgoCD is configured to enable kustomize plugins. You need to add the apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
labels:
app.kubernetes.io/name: argocd-cm
app.kubernetes.io/part-of: argocd
data:
kustomize.buildOptions: "--enable-alpha-plugins" Additionally, make sure the KSOPS executable is in your PATH or that the path to the executable in the generator manifest is correctly specified relative to the manifest files. Also, ensure that the |
i have added that option from the beginning |
I have a same problem in here: Argo gives: And same directly from bash: Argo have worked fine months before but now after reboot this appears. |
I have looked it a hours before i wrote previous one and 30sec later i changed
And it's solved a problem. |
i have follow the docs and create a test application to mange secret but i'm getting this error
failed to evaluate function: error decrypting file "test.yaml" from manifest.Files: trouble decrypting file: Error getting data key: 0 successful groups required, got 0unable to generate manifests: error decrypting file "test.yaml" from manifest.Files: trouble decrypting file: Error getting data key: 0 successful groups required, got 0Error: couldn't execute function: exit status 1
i have tried to exec into repo-server and clone my repo and decrypt using
kustomize build --enable-alpha-plugins --enable-exec
and it still oki'm using helm chart argo/argo-cd version 7.4.3 - argocd version v2.12.0
The text was updated successfully, but these errors were encountered: