kubernetes / kubernetes

Production-Grade Container Scheduling and Management

Home Page:https://kubernetes.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global inter-namespace cluster secrets - Secrets that work across namespaces

feluxe opened this issue · comments

/kind feature
/sig api-machinery
/sig architecture
/sig auth

I'm currently setting up a docker-image registry for multiple clusters with multiple namespaces. In order to make this work for every namespace in every cluster, I have to create a secret for each single namespace.

I have no idea about the implications, but from a user's perspective it would be handy to have something like global secrets available that work across namespaces.

I'm sorry if this was already asked, I couldn't find anything related.

/remove-sig api-machinery

Is there any progress on this ?

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

This is a genuine need, why is it not worked on?

Yeah, this is a genuine need, We have many situations where we have to copy secrets between namespaces and which adds extra management care. Which is very crucial for secrets availability across namespaces. Our major blocker is on syncing cert-manager certificates and across namespaces. Its always beneficial to manage "ClusterSecrets" and manage them at Cluster level, though i am not very sure about the impact and possibilities.

Any news on this?

commented

This would be very good, but hard to imagine how it would work. cert-manager is a major use case. Would be helpful for rotating secrets generally.

hard to imagine how it would work

Why? There are many cluster-wide resources in K8s.

Here you have the solution: An operator that introduces ClusterSecret object:

Global inter-namespace cluster secrets - Secrets that work across namespaces

https://github.com/zakkg3/ClusterSecret

PR / bugs reports / feature request are welcome.

@absmith82: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen
/remove-lifecycle rotten

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.