Skip to content

Commit d87d09a

Browse files
author
TheCodingSheikh
committed
feat(kubecodex): allow to disable autoSync per app
1 parent 212e12c commit d87d09a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

charts/kubecodex/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: kubecodex
33
description: A Helm chart for deploying kubecodex style projects
44
type: application
5-
version: 1.0.0
5+
version: 1.1.0
66
appVersion: "1.0.0"
77
keywords:
88
- kubecodex

charts/kubecodex/templates/applicationset.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ spec:
5858
{{ `{{- range $key, $value := .annotations }}` }}
5959
{{ `{{ $key }}` }}: {{ `{{ $value | quote }}` }}
6060
{{ `{{- end }}` }}
61+
spec:
62+
syncPolicy:
63+
automated:
64+
{{ `{{- if ne .autoSync false }}` }}
65+
allowEmpty: true
66+
prune: false
67+
selfHeal: false
68+
{{ `{{- end }}` }}
6169
syncPolicy: {}
6270
---
6371
{{- end }}

0 commit comments

Comments
 (0)