Openshift - How to share a secret between Namespaces?

7/23/2017

SSH Secrets are required to clone a private repo from Github in Origin.

I created a project, added SSH Secrets to the build config, all went fine.

Now I am creating a template, so users will create new project and use my template to deploy their applications.

Here after creating the project, build is not starting because of missing SSH Secret. Is it possible to share a SSH Secret between namespaces? So that I can create a SSH secret in Openshift project and users can use it straight away without assigning secrets to build config after creating every project?

EDIT: Is this possible in Kubernetes?

-- karthikeayan
kubernetes
openshift
openshift-origin
shared-secret

0 Answers