Adding certificate secrets using Rancher CLI

Dear all,

I’m adding certificates using RancherCLI, using the syntax below:

$ rancher kubectl create secret tls mycert --cert=cert.crt --key.key -n harbor

The secret is added and can be seen on Rancher console. However, I need to make the secret available to all namespaces in the project, and the default setting always created as “Available to a single namespace”.

How can I change that in order the secrets are available for being referenced on Apps form for Harbor deployment?

Thanks in advance for any help.

Hutger