Open cmoulliard opened 2 years ago
Hey @cmoulliard! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Tanzu Framework.
Got it. The k8s resource name to be used to find theSecretExport
is
kc get secretexport.secretgen.carvel.dev -A
This is nevertheless weird as the no shortname
exist for the secretexport
or secretimport
and by consequence we must use the FQN secretexports.secretgen.carvel.dev
kubectl api-resources --api-group=secretgen.carvel.dev
NAME SHORTNAMES APIVERSION NAMESPACED KIND
secretexports secretgen.carvel.dev/v1alpha1 true SecretExport
secretimports secretgen.carvel.dev/v1alpha1 true SecretImport
AND
kubectl get secretexports -A
No resources found
@shyaamsn can you ptal and reassign as appropriate?
Bug description
According to the code of the tanzu client secret plugin a SecretGen object should be created when we use the option
--export-to-all-namespaces
- https://github.com/vmware-tanzu/tanzu-framework/blob/v0.11.1/pkg/v1/tkg/tkgpackageclient/registry_secret_add.go#L45-L50 but when I execute the following command, noSecretExport
k8s object seems to be created.Affected product area (please put an X in all that apply)
Expected behavior A secretGen k8s object should be created
Steps to reproduce the bug
Version (include the SHA if the version is not obvious)