From 66cd82d72bc9dd1b4439d9aeb3045931e40d6b33 Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Sat, 20 Apr 2024 11:21:57 +0200 Subject: [PATCH] fix: metric template & add suggested change Signed-off-by: Ludovic Ortega --- charts/argo-cd/Chart.yaml | 2 +- charts/argo-cd/README.md | 5 ----- charts/argo-cd/templates/argocd-applicationset/metrics.yaml | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 31414e12..aadf2950 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -3,7 +3,7 @@ appVersion: v2.10.7 kubeVersion: ">=1.23.0-0" description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 6.8.0 +version: 6.7.14 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png sources: diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index 778074d6..a02a12d0 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -278,11 +278,6 @@ For full list of changes please check ArtifactHub [changelog]. Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version. -### 6.8.0 - -Added support for IPv4/IPv6 dual-stack networking. -Please refer to [the docs](https://kubernetes.io/docs/concepts/services-networking/dual-stack/) for more information. - ### 6.4.0 Added support for application controller dynamic cluster distribution. diff --git a/charts/argo-cd/templates/argocd-applicationset/metrics.yaml b/charts/argo-cd/templates/argocd-applicationset/metrics.yaml index c2ea8393..5bddc342 100644 --- a/charts/argo-cd/templates/argocd-applicationset/metrics.yaml +++ b/charts/argo-cd/templates/argocd-applicationset/metrics.yaml @@ -23,6 +23,7 @@ spec: type: {{ .Values.applicationSet.metrics.service.type }} {{- if and .Values.applicationSet.metrics.service.clusterIP (eq .Values.applicationSet.metrics.service.type "ClusterIP") }} clusterIP: {{ .Values.applicationSet.metrics.service.clusterIP }} + {{- end }} {{- with .Values.applicationSet.metrics.service.ipFamilyPolicy }} ipFamilyPolicy: {{ . }} {{- end }}