You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
External Secret should be created with specific decoding strategy. Secret values in secret store can be already base64 encoded.
Doing secret via eso result in double encoding.
This works well with plain yaml manifest.
Actual Behavior
The dataFrom block is missing decodingStrategy. https://external-secrets.io/v0.5.8/guides-decoding-strategy/
"The decodingStrategy field allows the user to set the following Decoding Strategies based on their needs. decodingStrategy can be placed under spec.data.remoteRef, spec.dataFrom.extract or spec.dataFrom.find."
The proper configuration is present in manifest but is missing in object.
Here are a few things that I have learned while reproducing this issue.
In the documentation you refer to it says decodingStrategy can be placed under spec.data.remoteRef, spec.dataFrom.extract or spec.dataFrom.find. In the provided config, you placed decodingStrategy under spec.dataFrom. If you apply this config, the controller will accept it but decodingStrategy will be ignored. Move it under spec.dataFrom.extract, for example:
Once you move decodingStrategy to the right place, Terraform will fail to apply this since external-secrets.io/v1alpha1 seem to be deprecated and you need to use external-secrets.io/v1beta1 instead, for example:
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
kuberneres_manifest
Terraform Configuration Files
Debug Output
Panic Output
Steps to Reproduce
Expected Behavior
External Secret should be created with specific decoding strategy. Secret values in secret store can be already base64 encoded.
Doing secret via eso result in double encoding.
This works well with plain yaml manifest.
Actual Behavior
The dataFrom block is missing decodingStrategy.
https://external-secrets.io/v0.5.8/guides-decoding-strategy/
"The decodingStrategy field allows the user to set the following Decoding Strategies based on their needs. decodingStrategy can be placed under spec.data.remoteRef, spec.dataFrom.extract or spec.dataFrom.find."
The proper configuration is present in manifest but is missing in object.
Important Factoids
References
Community Note
The text was updated successfully, but these errors were encountered: