Skip to content

Commit edef3a6

Browse files
author
Abdo
committed
feat(kubecodex): allow ignoreDifferences in config.yaml
1 parent 456e869 commit edef3a6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

charts/kubecodex/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: kubecodex
33
description: A Helm chart for deploying kubecodex style projects
44
type: application
5-
version: 1.0.0
6-
appVersion: "1.0.0"
5+
version: 1.1.0
6+
appVersion: "1.1.0"
77
keywords:
88
- kubecodex
99
- helm

charts/kubecodex/templates/applicationset.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@ spec:
7272
{{ `{{- end }}` }}
7373
{{ `{{- range .additionalSyncOptions }}` }}
7474
- {{ `{{ . }}` }}
75-
{{ `{{- end }}` }}
75+
{{ `{{- end }}` }}
76+
{{ `{{- if .ignoreDifferences }}` }}
77+
ignoreDifferences:
78+
{{ `{{ toYaml .ignoreDifferences | indent 4 }}` }}
79+
{{ `{{- end }}` }}
7680
{{- if .preserveResourcesOnDeletion }}
7781
syncPolicy:
7882
preserveResourcesOnDeletion: true

0 commit comments

Comments
 (0)