From 9f2d1e5d3015cf4955161570ddd70278f88163c0 Mon Sep 17 00:00:00 2001 From: Jakub Date: Thu, 11 Nov 2021 15:59:34 +0100 Subject: [PATCH] feat(argo-cd): Add signature keys for GPG in additionalProjects (#1011) * Add signature keys for GPG in additionalProjects Signed-off-by: Jakub Faber * Fix whitespace Signed-off-by: Jakub Faber * Fix lint - Newline at the end of file Signed-off-by: Jakub Faber --- charts/argo-cd/Chart.yaml | 4 ++-- charts/argo-cd/templates/argocd-configs/projects.yaml | 4 ++++ charts/argo-cd/values.yaml | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 379085f8..faf1fc48 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.1.6 description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 3.26.7 +version: 3.26.8 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -21,4 +21,4 @@ dependencies: condition: redis-ha.enabled annotations: artifacthub.io/changes: | - - "[Fixed]: Added Openshift Route values that were previously included in Route.yaml directives." + - "[Added]: Signature keys for GPG in additionalProjects" diff --git a/charts/argo-cd/templates/argocd-configs/projects.yaml b/charts/argo-cd/templates/argocd-configs/projects.yaml index d51a19b6..dd24c10f 100644 --- a/charts/argo-cd/templates/argocd-configs/projects.yaml +++ b/charts/argo-cd/templates/argocd-configs/projects.yaml @@ -54,5 +54,9 @@ items: syncWindows: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .signatureKeys }} + signatureKeys: + {{- toYaml . | nindent 8 }} + {{- end }} {{- end }} {{- end }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index b7d64e10..4082489c 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -1153,6 +1153,8 @@ server: # applications: # - '*-prod' # manualSync: true + # signatureKeys: + # - keyID: ABCDEF1234567890 ## Enable Admin ClusterRole resources. ## Enable if you would like to grant rights to ArgoCD to deploy to the local Kubernetes cluster.