From 7b44fb13ee2dcd9a4e32fda709d803447ad5073e Mon Sep 17 00:00:00 2001 From: Marlon <49958228+maxthier@users.noreply.github.com> Date: Fri, 12 Jan 2024 09:10:32 +0100 Subject: [PATCH] fix(argoconfig): Remove empty syncPolicy from application template (#1172) * fix(argoconfig): Remove empty syncPolicy from application template * fix(argoconfig): Remove empty syncPolicy from application template * fix(argoconfig): Remove empty syncPolicy from application template --------- Co-authored-by: Marlon Moser --- charts/argoconfig/Chart.yaml | 6 +++++- charts/argoconfig/README.md | 2 +- charts/argoconfig/templates/_application.yaml | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/charts/argoconfig/Chart.yaml b/charts/argoconfig/Chart.yaml index 1acf74095..f0a8cf3ef 100644 --- a/charts/argoconfig/Chart.yaml +++ b/charts/argoconfig/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: argoconfig description: Configure Argo CD AppProjects and Applications type: library -version: 0.9.0 +version: 0.9.1 home: https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/ sources: - https://github.com/adfinis/helm-charts/tree/main/charts/argoconfig @@ -14,3 +14,7 @@ dependencies: - name: common repository: https://charts.adfinis.com version: 0.0.8 +annotations: + artifacthub.io/changes: | + - kind: changed + description: "Remove empty syncPolicy to fix going out-of-sync in argoCD" diff --git a/charts/argoconfig/README.md b/charts/argoconfig/README.md index aa85919e1..03cab6315 100644 --- a/charts/argoconfig/README.md +++ b/charts/argoconfig/README.md @@ -1,6 +1,6 @@ # argoconfig -![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) +![Version: 0.9.1](https://img.shields.io/badge/Version-0.9.1-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) Configure Argo CD AppProjects and Applications diff --git a/charts/argoconfig/templates/_application.yaml b/charts/argoconfig/templates/_application.yaml index a61f26afb..cad548cf3 100644 --- a/charts/argoconfig/templates/_application.yaml +++ b/charts/argoconfig/templates/_application.yaml @@ -15,7 +15,6 @@ spec: source: {} destination: server: "https://kubernetes.default.svc" - syncPolicy: {} {{- end -}} {{- define "argoconfig.application" -}} {{- include "common.util.merge" (append . "argoconfig.application.tpl") -}}