-
Notifications
You must be signed in to change notification settings - Fork 4
add option to replicate only to defined namespaces #9
Comments
+1. Was going to ask the same thing. I've been running clusters where I have a user namespace <project> and a supporting namespace we manage for the user <project>-admin. I'd like to sync secrets managed in the <project>-admin namespace (cert-manager generated/managed) into the <project> namespace. So I'd need a way to specify just the namespace I want it to go into. |
wolud it also be an option to add an annotation to a single secret with the list of namespaces? I'm currently thinking how to solve it and also be flexible. |
That could be another option, but does run into problems with cert-manager specifically: |
ok I will think about it. Thank's for your answer. |
@rpahli Ping :) |
@kfox1111 |
@monotek, no it won't work. See referenced issue above. TL;DR Secret-replicator will just about work, but only needs to sync from -admin to , not to every other namespace. |
Looks like this may be implemented already? Is there a plan to cut a new release soon with this in place? Thanks! |
Actually, I hit another snag. This only looks to be able to run across all namespaces. I'd be wanting to use it to watch one namespace and syncronize into a second namespace and have multiple instances of secret-replicator running in parallel looking at nonoverlapping namespaces. |
currently only exclude is possible which means you need to know all namespaces you want to have excluded.
a new env var NAMESPACE_INCLUDE should be available.
default should be "all".
The text was updated successfully, but these errors were encountered: