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
This commit is contained in:
vignir 2019-04-02 12:35:45 +00:00
parent 82ab0eaa27
commit 697d0f66e6
2 changed files with 9 additions and 2 deletions

View file

@ -36,8 +36,14 @@ 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:
volumeMounts: - argocd-server
- --staticassets
- /shared/app
{{- range .Values.server.extraArgs }}
- {{. | quote }}
{{- end}}
volumeMounts:
- mountPath: /shared - mountPath: /shared
name: static-files name: static-files
ports: ports:

View file

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