feat(argocd-applicationset): add env variable in values (#1132)
* feat(appset): add env variable in values Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com> * wrong chart!!! Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com> * quote Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com> * update variable name Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
This commit is contained in:
parent
59feee1a07
commit
ae13c65229
4 changed files with 25 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: argocd-applicationset
|
||||
description: A Helm chart for installing ArgoCD ApplicationSet
|
||||
type: application
|
||||
version: 1.9.1
|
||||
version: 1.10.0
|
||||
appVersion: "v0.3.0"
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argocd-applicationset.readthedocs.io/en/stable/assets/logo.png
|
||||
|
@ -14,4 +14,4 @@ maintainers:
|
|||
- name: maruina
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- "[Changed]: Consistent .helmignore"
|
||||
- "[Added]: Ability to define custom env variables for ArgoCD applicationset"
|
||||
|
|
|
@ -67,6 +67,8 @@ 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.probeBindAddr | string | `":8081"` | The default health check port |
|
||||
| extraArgs | list | `[]` | List of extra cli args to add |
|
||||
| extraEnv | list | `[]` | Environment variables 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) |
|
||||
| extraVolumes | list | `[]` | List of extra volumes to add |
|
||||
| fullnameOverride | string | `""` | Override the default fully qualified app name |
|
||||
|
|
|
@ -59,6 +59,14 @@ spec:
|
|||
- name: webhook
|
||||
containerPort: 7000
|
||||
protocol: TCP
|
||||
{{- with .Values.extraEnv }}
|
||||
env:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.extraEnvFrom }}
|
||||
envFrom:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
|
|
|
@ -147,6 +147,19 @@ extraVolumes: []
|
|||
extraArgs: []
|
||||
# - --loglevel=warn
|
||||
|
||||
# -- Environment variables to pass to the controller
|
||||
extraEnv: []
|
||||
# - name: "MY_VAR"
|
||||
# value: "value"
|
||||
|
||||
# -- envFrom to pass to the controller
|
||||
# @default -- `[]` (See [values.yaml])
|
||||
extraEnvFrom: []
|
||||
# - configMapRef:
|
||||
# name: config-map-name
|
||||
# - secretRef:
|
||||
# name: secret-name
|
||||
|
||||
# -- Override the Kubernetes version, which is used to evaluate certain manifests
|
||||
kubeVersionOverride: ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue