Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

155
Views
Create secret for all namespaces

When I create secret with Rancher and select it should be visible in all namespaces, it creates a secret without namespace tag and with namespaceId: null.

How to create such secret without Rancher? When I use kubectl, it always binds it to the namespace from the command context.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

kubectl currently does not support creating secrets across namespaces.

They are available to a single namespace. Rancher supports it creating secrets at the project level. it will replicate the secret to all namespaces in the project (present and future). also, functionality is not in the rancher cli yet.

there are some work around option available to replicate the secret and configmap across the namespace in Kuberenetes.

You can check this out open source projects:

  1. https://github.com/zakkg3/ClusterSecret
  2. https://github.com/mittwald/kubernetes-replicator
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!