Closed sirhc-chris closed 2 months ago
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.
Expected Behavior
When using
pubsub.kafka
withauthType mtls
, you should be able to retrieve a value (e.g.clientKey
) fromsecretstores.hashicorp.vault
where the secret contains other key-value pairs with non-string values.Actual Behavior
When using
pubsub.kafka
withauthType mtls
and attempting to retrieve a secret (e.g.clientKey
) fromsecretstores.hashicorp.vault
, you receive the following error when the secret contains other key-value pairs that have non-string values:Steps to Reproduce the Problem
Launch a local vault instance:
Create a secret containing a non-string value:
Run dapr and observe the json decoding error:
Full log excerpt:
If the secret only contains key-value pairs with string values, the json body is successfully decoded. For example:
Create a secret containing only string values:
And reference it in the
pubsub.kafka
spec:Run dapr and note the json body is successfully decoded:
(It will still fail, as the secret isn't a valid certificate)