Allow extraargs for argocd server (#47)

* adding extraArgs for argocd-server.

This is useful if you need to change the basehref or use insecure
when using ingress
https://github.com/argoproj/argo-cd/blob/master/docs/ingress.md

* indent fix.

* bumping chart version
This commit is contained in:
Vignir Hafsteinsson 2019-04-09 19:29:24 +00:00 committed by Alexander Matyushentsev
parent f607f4fc80
commit a41d240cb0
3 changed files with 9 additions and 2 deletions

View file

@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "0.12" appVersion: "0.12"
description: A Helm chart for Argo-CD description: A Helm chart for Argo-CD
name: argo-cd name: argo-cd
version: 0.2.0 version: 0.2.1

View file

@ -36,7 +36,13 @@ spec:
- name: argocd-server - name: argocd-server
image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag }} image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag }}
imagePullPolicy: {{ .Values.server.image.pullPolicy }} imagePullPolicy: {{ .Values.server.image.pullPolicy }}
command: [argocd-server, --staticassets, /shared/app] command:
- argocd-server
- --staticassets
- /shared/app
{{- range .Values.server.extraArgs }}
- {{. | quote }}
{{- end }}
volumeMounts: volumeMounts:
- mountPath: /shared - mountPath: /shared
name: static-files name: static-files

View file

@ -20,6 +20,7 @@ server:
repository: argoproj/argocd-ui repository: argoproj/argocd-ui
tag: v0.12.0 tag: v0.12.0
pullPolicy: Always pullPolicy: Always
extraArgs: []
repoServer: repoServer:
containerPort: 8081 containerPort: 8081