awslabs / crossplane-on-eks

Crossplane bespoke composition blueprints for AWS resources
Apache License 2.0
308 stars 109 forks source link

[Bug]: Vault Example doesn't create secret in kubernetes namespace #66

Open csantanapr opened 1 year ago

csantanapr commented 1 year ago

Welcome to AWS Blueprints for Crossplane!

AWS Blueprints for Crossplane Release version

latest

What is your environment, configuration and the example used?

I followed the doc doc/vault-integration.md to install and setup vault.

What did you do and What did you see instead?

Following the composition example for multitenant the secret is written to vault in the correct location for application1

But the secret is not created in namespace crossplane-system as stated in the docs.

kubectl -n crossplane-system get secret `kubectl get xobjectstorage -o json | jq -r '.items[0].metadata.uid'` -o go-template='{{range $k,$v := .data}}{{printf "%s: " $k}}{{if not $v}}{{$v}}{{else}}{{$v | base64decode}}{{end}}{{"\n"}}{{end}}'
# example output
# bucket-name: standard-object-storage-qlgvz-hz2dn
# region: us-west-2

Additional Information

No response