fluxcd: replicator
This commit is contained in:
@@ -11,3 +11,11 @@ helm repo update
|
|||||||
helm upgrade --install replicator mittwald/kubernetes-replicator \
|
helm upgrade --install replicator mittwald/kubernetes-replicator \
|
||||||
--namespace 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
|
||||||
Reference in New Issue
Block a user