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:
parent
f607f4fc80
commit
a41d240cb0
3 changed files with 9 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue