File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
templates/argocd-repo-server Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -984,7 +984,7 @@ NAME: my-release
984984| repoServer.containerPorts.metrics | int | `8084` | Metrics container port |
985985| repoServer.containerPorts.server | int | `8081` | Repo server container port |
986986| repoServer.containerSecurityContext | object | See [values.yaml] | Repo server container-level security context |
987- | repoServer.copyutil | object | `{"resources":{}} ` | Resource limits and requests for the copyutil initContainer |
987+ | repoServer.copyutil.resources | object | `{} ` | Resource limits and requests for the repo server copyutil initContainer |
988988| repoServer.deploymentAnnotations | object | `{}` | Annotations to be added to repo server Deployment |
989989| repoServer.deploymentLabels | object | `{}` | Labels for the repo server Deployment |
990990| repoServer.deploymentStrategy | object | `{}` | Deployment strategy to be added to the repo server Deployment |
Original file line number Diff line number Diff line change @@ -412,11 +412,7 @@ spec:
412412 imagePullPolicy : {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
413413 name : copyutil
414414 resources :
415- {{- if .Values.repoServer.copyutil.resources }}
416- {{- toYaml .Values.repoServer.copyutil.resources | nindent 10 }}
417- {{- else }}
418- {{- toYaml .Values.repoServer.resources | nindent 10 }}
419- {{- end }}
415+ {{- toYaml (default .Values.repoServer.resources .Values.repoServer.copyutil.resources) | nindent 10 }}
420416 {{- with .Values.repoServer.containerSecurityContext }}
421417 securityContext :
422418 {{- toYaml . | nindent 10 }}
Original file line number Diff line number Diff line change @@ -2793,8 +2793,8 @@ repoServer:
27932793 # -- Init containers to add to the repo server pods
27942794 initContainers : []
27952795
2796- # -- Resource limits and requests for the copyutil initContainer
27972796 copyutil :
2797+ # -- Resource limits and requests for the repo server copyutil initContainer
27982798 resources : {}
27992799 # limits:
28002800 # cpu: 100m
You can’t perform that action at this time.
0 commit comments