feat: Allow adding extraVolume and mounts
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
6166630458
commit
509eb263b3
3 changed files with 14 additions and 0 deletions
|
@ -1640,6 +1640,8 @@ To read more about this component, please read [Argo CD Manifest Hydrator] and [
|
||||||
| commitServer.extraArgs | list | `[]` | commit server command line flags |
|
| commitServer.extraArgs | list | `[]` | commit server command line flags |
|
||||||
| commitServer.extraEnv | list | `[]` | Environment variables to pass to the commit server |
|
| commitServer.extraEnv | list | `[]` | Environment variables to pass to the commit server |
|
||||||
| commitServer.extraEnvFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the commit server |
|
| commitServer.extraEnvFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the commit server |
|
||||||
|
| commitServer.extraVolumeMounts | list | `[]` | List of extra mounts to add (normally used with extraVolumes) |
|
||||||
|
| commitServer.extraVolumes | list | `[]` | List of extra volumes to add |
|
||||||
| commitServer.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the commit server |
|
| commitServer.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the commit server |
|
||||||
| commitServer.image.repository | string | `""` (defaults to global.image.repository) | Repository to use for the commit server |
|
| commitServer.image.repository | string | `""` (defaults to global.image.repository) | Repository to use for the commit server |
|
||||||
| commitServer.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the commit server |
|
| commitServer.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the commit server |
|
||||||
|
|
|
@ -143,6 +143,9 @@ spec:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
{{- with .Values.commitServer.extraVolumeMounts }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
- name: ssh-known-hosts
|
- name: ssh-known-hosts
|
||||||
mountPath: /app/config/ssh
|
mountPath: /app/config/ssh
|
||||||
- name: tls-certs
|
- name: tls-certs
|
||||||
|
@ -172,6 +175,9 @@ spec:
|
||||||
- mountPath: /var/run/argocd
|
- mountPath: /var/run/argocd
|
||||||
name: var-files
|
name: var-files
|
||||||
volumes:
|
volumes:
|
||||||
|
{{- with .Values.commitServer.extraVolumes }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
- name: ssh-known-hosts
|
- name: ssh-known-hosts
|
||||||
configMap:
|
configMap:
|
||||||
name: argocd-ssh-known-hosts-cm
|
name: argocd-ssh-known-hosts-cm
|
||||||
|
|
|
@ -3790,6 +3790,12 @@ commitServer:
|
||||||
# - secretRef:
|
# - secretRef:
|
||||||
# name: secret-name
|
# name: secret-name
|
||||||
|
|
||||||
|
# -- List of extra mounts to add (normally used with extraVolumes)
|
||||||
|
extraVolumeMounts: []
|
||||||
|
|
||||||
|
# -- List of extra volumes to add
|
||||||
|
extraVolumes: []
|
||||||
|
|
||||||
## commit server service configuration
|
## commit server service configuration
|
||||||
service:
|
service:
|
||||||
# -- commit server service annotations
|
# -- commit server service annotations
|
||||||
|
|
Loading…
Reference in a new issue