Skip to content

Commit

Permalink
feat: add reloader
Browse files Browse the repository at this point in the history
  • Loading branch information
locmai committed Sep 13, 2022
1 parent 93de532 commit 2d1fe59
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions platform/templates/reloader.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{{- if .Values.reloader.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .Values.argocd.project }}-reloader
namespace: {{ .Values.argocd.namespace }}
annotations:
argocd.argoproj.io/sync-wave: "1"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: {{ .Values.argocd.project }}
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true
destination:
name: in-cluster
namespace: {{ .Values.reloader.namespace }}
source:
chart: reloader
repoURL: https://stakater.github.io/stakater-charts
targetRevision: v0.0.118
helm:
releaseName: reloader
values: |
dummy: true
{{- end }}
3 changes: 3 additions & 0 deletions platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ runnerController:
enabled: false
namespace: platform

reloader:
enabled: true
namespace: platform

0 comments on commit 2d1fe59

Please sign in to comment.