Switch Reloader to Helm deployment
This commit is contained in:
parent
03e218e945
commit
740076c19f
@ -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
|
21
clusters/my-cluster/reloader/release.yaml
Normal file
21
clusters/my-cluster/reloader/release.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: reloader
|
||||||
|
namespace: reloader
|
||||||
|
spec:
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: reloader
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: stakater
|
||||||
|
interval: 50m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
values:
|
||||||
|
reloader:
|
||||||
|
isArgoRollouts: true
|
||||||
|
reloadStrategy: annotations
|
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