Switch Reloader to Helm deployment
This commit is contained in:
parent
03e218e945
commit
6c5d2051ef
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
namespace: reloader
|
||||||
resources:
|
resources:
|
||||||
- https://github.com/stakater/Reloader/deployments/kubernetes?ref=v1.0.121
|
- namespace.yaml
|
||||||
|
- repository.yaml
|
||||||
|
- release.yaml
|
||||||
|
5
clusters/my-cluster/reloader/namespace.yaml
Normal file
5
clusters/my-cluster/reloader/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: reloader
|
19
clusters/my-cluster/reloader/release.yaml
Normal file
19
clusters/my-cluster/reloader/release.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: stakater
|
||||||
|
namespace: reloader
|
||||||
|
spec:
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: reloader
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: stakater
|
||||||
|
interval: 50m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
values:
|
||||||
|
reloader.isArgoRollouts: true
|
9
clusters/my-cluster/reloader/repository.yaml
Normal file
9
clusters/my-cluster/reloader/repository.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: stakater
|
||||||
|
namespace: reloader
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
url: https://stakater.github.io/stakater-charts
|
Loading…
Reference in New Issue
Block a user