cndi E701 - failure to persist a Kubernetes Secret with stringData from cndi-config
#548
johnstonmatt
announced in
Error Message Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
description
The
cndiCLI exits with error code701when a Kubernetes Secret resource is created with adatafield containing anything other than a$.cndi.secrets.seal(MY_VAR)literal. This is because CNDI is protecting you from posting secret data to source control.resolution tips
incorrect:
correct:
Passing a
$.cndi.secrets(MY_VAR)instead, alongside definingMY_VARin your environment, will result in that value being inserted into a new SealedSecret, and shared with your cluster in a secure way.Beta Was this translation helpful? Give feedback.
All reactions