argo-cd: add server init containers ()

pull/132/head
Antoine Dao 2019-10-23 02:12:08 +10:00 committed by Alex Collins
parent cc0746951b
commit b2e9de6019
5 changed files with 26 additions and 1 deletions

View File

@ -2,5 +2,5 @@ apiVersion: v1
appVersion: "1.2.3"
description: A Helm chart for Argo-CD
name: argo-cd
version: 0.6.1
version: 0.7.1
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png

View File

@ -75,6 +75,8 @@ $ helm install --name my-release argo/argo-cd
| repoServer.servicePort | int | `8081` | Service port for repo server |
| repoServer.volumeMounts | list | `[]` | Additional volume mounts |
| repoServer.volumes | list | `[]` | Additional volumes |
| repoServer.initContainers | list | `[]` | Initialisation containers, see [values.yaml](./values.yaml) for syntax for Helm v2.12.3 |
| repoServer.imagePullSecrets | list | `[]` | List of image pull secrets, see [values.yaml](./values.yaml) for syntax for a secret called "docker-auth-secret" |
| server.annotations | object | `{}` | Annotations for the server deployment |
| server.containerPort | int | `8080` | Container port for server |
| server.extraArgs | list | `[]` | Add additional arguments |

View File

@ -59,3 +59,11 @@ spec:
{{- if .Values.repoServer.volumes }}
{{ toYaml .Values.repoServer.volumes | nindent 6 | trim }}
{{- end }}
{{- if .Values.repoServer.initContainers }}
initContainers:
{{ toYaml .Values.repoServer.initContainers | nindent 6 | trim }}
{{- end }}
{{- if .Values.repoServer.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.repoServer.imagePullSecrets | nindent 6 | trim }}
{{- end }}

View File

@ -74,3 +74,4 @@ spec:
{{- if .Values.server.volumes }}
{{ toYaml .Values.server.volumes | nindent 6 | trim }}
{{- end }}

View File

@ -38,6 +38,20 @@ repoServer:
pullPolicy: Always
volumeMounts: []
volumes: []
# - name: custom-tools
# emptyDir: {}
initContainers: []
# - name: download-tools
# image: alpine:3.8
# command: [sh, -c]
# args:
# - wget -qO- https://storage.googleapis.com/kubernetes-helm/helm-v2.12.3-linux-amd64.tar.gz | tar -xvzf - &&
# mv linux-amd64/helm /custom-tools/
# volumeMounts:
# - mountPath: /custom-tools
# name: custom-tools
imagePullSecrets: []
# - name: docker-auth-secret
dexServer:
containerPortHttp: 5556