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
Describe the bug
A SecretProviderClass specifying a secretObject that references an integer value stored in an ASM Secret fails to create a K8s Secret.
To Reproduce
Steps to reproduce the behavior:
Given an ASM Secret will-fail with the following structure:
Workloads that depend on the above will fail with the following error:
Failure getting secret values from provider type secretsmanager: Failed to fetch secret from all regions: will-fail
The inclusion of a jmesPath reference within .spec.parameters.objects causes this issue. The provider will succeed if the explicit reference to a key of an integer value is removed.
Expected behavior
Workload containers start and are able to consume the K8s Secret as well as access the CSI driver-managed volume data.
The text was updated successfully, but these errors were encountered:
Hi @ajthyng. The upstream Secret Store CSI Driver requires this to be returned as a byte array. Since there are numerous native JSON object types, some of which require binary encoding/correct native ordering, we made the intentional decision to restrict this to string values at this time. We recognize that this may not work for all customers and have noted this enhancement.
Hi i has the same issue but my question is... the warning/error cannot be more detailed? i need to change the version to a OLD for know this was the error.
Describe the bug
A
SecretProviderClass
specifying asecretObject
that references an integer value stored in an ASM Secret fails to create a K8s Secret.To Reproduce
Steps to reproduce the behavior:
Given an ASM Secret
will-fail
with the following structure:And a
SecretProviderClass
resource declaration:Workloads that depend on the above will fail with the following error:
Failure getting secret values from provider type secretsmanager: Failed to fetch secret from all regions: will-fail
The inclusion of a
jmesPath
reference within.spec.parameters.objects
causes this issue. The provider will succeed if the explicit reference to a key of an integer value is removed.Expected behavior
Workload containers start and are able to consume the K8s Secret as well as access the CSI driver-managed volume data.
The text was updated successfully, but these errors were encountered: