add parameters to the configmap for appset controller

Signed-off-by: aburan28 <aburan28@gmail.com>
pull/3123/head
aburan28 2025-01-13 14:25:51 -03:00
parent 191e7688ab
commit bb63f2ebb8
2 changed files with 16 additions and 1 deletions

View File

@ -211,6 +211,18 @@ spec:
name: argocd-cmd-params-cm
key: applicationsetcontroller.webhook.parallelism.limit
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_GITHUB_CACHE
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.enable.github.cache
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_GITHUB_CACHE_SIZE
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.github.cache.size
optional: true
{{- with .Values.applicationSet.extraEnvFrom }}
envFrom:
{{- toYaml . | nindent 12 }}

View File

@ -303,7 +303,10 @@ configs:
# @default -- `""` (default is only the ns where the controller is installed)
## For more information: https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Appset-Any-Namespace/
applicationsetcontroller.namespaces: ""
# -- Enables caching of github api requests
applicationsetcontroller.enable.github.caching: false
# -- Max items to store in the github lru cache
applicationsetcontroller.github.cache.size: 1000
# -- Enables [Applications in any namespace]
## List of additional namespaces where applications may be created in and reconciled from.
## The namespace where Argo CD is installed to will always be allowed.