Replicates all Secrets
in the copier
namespace that have label copier
set to 'true'
to all other namespaces in given cluster. It's just a mildly modifed example from shell-operator, therefore all credit belongs to the authors of the original.
Difference from 104-secret-copier
- doesn't need a custom container image (better for clusters without a private registry)
- easily deployable as a Kustomize remote base/build
- deployed as
Deployment
instead of just aPod
, therefore doesn't die whenPod
is rescheduled - different label and namespace name (
secret-copier
->copier
)