fluxcd: replicator

This commit is contained in:
Márcio Fernandes
2026-06-07 15:12:43 +00:00
parent 29feda6a64
commit 24fe92de8c
6 changed files with 53 additions and 0 deletions
+8
View File
@@ -11,3 +11,11 @@ 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 -
```
@@ -0,0 +1,15 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: replicator
spec:
releaseName: replicator
interval: 40h
chart:
spec:
chart: kubernetes-replicator
version: 2.x.x
sourceRef:
kind: HelmRepository
name: replicator
interval: 40h
@@ -0,0 +1,7 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: replicator
spec:
interval: 40h
url: https://helm.mittwald.de
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: teleport-agent
resources:
- helm-repo.yaml
- helm-release.yaml
@@ -0,0 +1,12 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: replicator
spec:
interval: 1m
sourceRef:
kind: GitRepository
name: casa
namespace: casa-limbosolutions-com
path: services/replicator/deploy/app
prune: true
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: replicator
resources:
- app-sync.yaml