Add resources to copyutil initContainer (#1093)

Signed-off-by: Sven Haardiek <sven.haardiek@uni-muenster.de>

Co-authored-by: Marko Bevc <marko@scalefactory.com>
This commit is contained in:
Sven Haardiek 2022-01-19 20:25:58 +01:00 committed by GitHub
parent a3c77c80d7
commit 66194fd35f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 3 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.2.2 appVersion: v2.2.2
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 3.30.0 version: 3.30.1
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords: keywords:
@ -21,5 +21,4 @@ dependencies:
condition: redis-ha.enabled condition: redis-ha.enabled
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Added]: Add support for Google ManagedCertificate on GKE - "[Added]: Add configurable resources to copyutil initContainer"
- "[Added]: Add support for Google FrontendConfig on GKE

View file

@ -316,6 +316,7 @@ NAME: my-release
| repoServer.clusterRoleRules.rules | list | `[]` | List of custom rules for the Repo server's Cluster Role resource | | repoServer.clusterRoleRules.rules | list | `[]` | List of custom rules for the Repo server's Cluster Role resource |
| repoServer.containerPort | int | `8081` | Configures the repo server port | | repoServer.containerPort | int | `8081` | Configures the repo server port |
| repoServer.containerSecurityContext | object | `{}` | Repo server container-level security context | | repoServer.containerSecurityContext | object | `{}` | Repo server container-level security context |
| repoServer.copyutil.resources | object | `{}` | Resource limits and requests for the copyutil initContainer |
| repoServer.env | list | `[]` | Environment variables to pass to repo server | | repoServer.env | list | `[]` | Environment variables to pass to repo server |
| repoServer.envFrom | list | `[]` (See [values.yaml]) | envFrom to pass to repo server | | repoServer.envFrom | list | `[]` (See [values.yaml]) | envFrom to pass to repo server |
| repoServer.extraArgs | list | `[]` | Additional command line arguments to pass to repo server | | repoServer.extraArgs | list | `[]` | Additional command line arguments to pass to repo server |

View file

@ -191,6 +191,8 @@ spec:
- /var/run/argocd/argocd-cmp-server - /var/run/argocd/argocd-cmp-server
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }} image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
name: copyutil name: copyutil
resources:
{{- toYaml .Values.repoServer.copyutil.resources | nindent 10 }}
volumeMounts: volumeMounts:
- mountPath: /var/run/argocd - mountPath: /var/run/argocd
name: var-files name: var-files

View file

@ -1535,6 +1535,17 @@ repoServer:
# - list # - list
# - watch # - watch
# Init container to copy argocd binary
copyutil:
# -- Resource limits and requests for the copyutil initContainer
resources: {}
# limits:
# cpu: 50m
# memory: 64Mi
# requests:
# cpu: 10m
# memory: 32Mi
# -- Init containers to add to the repo server pods # -- Init containers to add to the repo server pods
initContainers: [] initContainers: []
# - name: download-tools # - name: download-tools