22 lines
970 B
Markdown
22 lines
970 B
Markdown
# replicator
|
||
|
||
Kubernetes Replicator (mittwald/kubernetes‑replicator) is a lightweight controller that automatically copies Secrets and ConfigMaps between namespaces. It is ideal for sharing resources like wildcard TLS certificates generated by cert‑manager across multiple namespaces without manual copying.
|
||
|
||
Replicator watches for annotations on a source Secret and keeps synchronized copies updated in the target namespaces. It preserves custom metadata and removes cert‑manager‑specific annotations from the replicated secrets to avoid conflicts. When cert‑manager renews a certificate, Replicator automatically updates all replicated copies.
|
||
|
||
``` bash
|
||
helm repo add mittwald https://helm.mittwald.de
|
||
kubectl create namespace replicator
|
||
helm repo update
|
||
helm upgrade --install replicator mittwald/kubernetes-replicator \
|
||
--namespace replicator
|
||
```
|
||
|
||
## Setup
|
||
|
||
Using flux for reconciliation.
|
||
|
||
``` bash
|
||
kubectl kustomize deploy/flux | kubectl apply -f -
|
||
```
|