From 507e46dfb6cb5492c537720916c8f23fd59826d5 Mon Sep 17 00:00:00 2001 From: Kenneth Bambridge Date: Thu, 2 Apr 2020 11:12:50 -0700 Subject: [PATCH] feat(argocd): Add shareProcessNamespace option to repoServer --- charts/argo-cd/Chart.yaml | 2 +- charts/argo-cd/templates/argocd-repo-server/deployment.yaml | 3 +++ charts/argo-cd/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 23b3695c..96d29475 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.4.2" description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 2.0.3 +version: 2.1.0 home: https://github.com/argoproj/argo-helm icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png keywords: diff --git a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml index 0431bd63..fdc82c96 100755 --- a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml @@ -39,6 +39,9 @@ spec: {{- toYaml .Values.repoServer.podLabels | nindent 8 }} {{- end }} spec: + {{- if .Values.repoServer.shareProcessNamespace }} + shareProcessNamespace: true + {{- end }} {{- with .Values.global.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 0f810c1a..02127401 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -547,6 +547,8 @@ repoServer: replicas: 1 + shareProcessNamespace: false # Enable for zombie process cleanup + autoscaling: enabled: false minReplicas: 1