fix(argo-cd applicationset): add extraContainers to deployment (#1125)
Signed-off-by: AJ Christensen <aj@junglistheavy.industries> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
ae13c65229
commit
f8803d52d1
4 changed files with 9 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: argocd-applicationset
|
name: argocd-applicationset
|
||||||
description: A Helm chart for installing ArgoCD ApplicationSet
|
description: A Helm chart for installing ArgoCD ApplicationSet
|
||||||
type: application
|
type: application
|
||||||
version: 1.10.0
|
version: 1.11.0
|
||||||
appVersion: "v0.3.0"
|
appVersion: "v0.3.0"
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argocd-applicationset.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argocd-applicationset.readthedocs.io/en/stable/assets/logo.png
|
||||||
|
@ -14,4 +14,4 @@ maintainers:
|
||||||
- name: maruina
|
- name: maruina
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Ability to define custom env variables for ArgoCD applicationset"
|
- "[Added]: extraContainers support in Deployment resource"
|
||||||
|
|
|
@ -67,6 +67,7 @@ kubectl apply -k https://github.com/argoproj-labs/applicationset.git/manifests/c
|
||||||
| args.policy | string | `"sync"` | How application is synced between the generator and the cluster |
|
| args.policy | string | `"sync"` | How application is synced between the generator and the cluster |
|
||||||
| args.probeBindAddr | string | `":8081"` | The default health check port |
|
| args.probeBindAddr | string | `":8081"` | The default health check port |
|
||||||
| extraArgs | list | `[]` | List of extra cli args to add |
|
| extraArgs | list | `[]` | List of extra cli args to add |
|
||||||
|
| extraContainers | list | `[]` | Additional containers to be added to the applicationset controller pod |
|
||||||
| extraEnv | list | `[]` | Environment variables to pass to the controller |
|
| extraEnv | list | `[]` | Environment variables to pass to the controller |
|
||||||
| extraEnvFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the controller |
|
| extraEnvFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the controller |
|
||||||
| extraVolumeMounts | list | `[]` | List of extra mounts to add (normally used with extraVolumes) |
|
| extraVolumeMounts | list | `[]` | List of extra mounts to add (normally used with extraVolumes) |
|
||||||
|
|
|
@ -91,6 +91,9 @@ spec:
|
||||||
{{- with .Values.extraVolumeMounts }}
|
{{- with .Values.extraVolumeMounts }}
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.extraContainers }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- emptyDir: {}
|
- emptyDir: {}
|
||||||
name: tmp-dir
|
name: tmp-dir
|
||||||
|
|
|
@ -31,6 +31,9 @@ args:
|
||||||
# -- Enable dry run mode
|
# -- Enable dry run mode
|
||||||
dryRun: false
|
dryRun: false
|
||||||
|
|
||||||
|
# -- Additional containers to be added to the applicationset controller pod
|
||||||
|
extraContainers: []
|
||||||
|
|
||||||
## Metrics service configuration
|
## Metrics service configuration
|
||||||
metrics:
|
metrics:
|
||||||
# -- Deploy metrics service
|
# -- Deploy metrics service
|
||||||
|
|
Loading…
Reference in a new issue