feat(argo-cd): Allow configuring Dex's init image resources separately (#2161)

Allow configuring Dex's init image resources separately

Signed-off-by: Angelo Ross <angelo.ross@objective.com.br>
This commit is contained in:
Angelo Ross 2023-07-13 11:05:13 -03:00 committed by GitHub
parent 047ba6b24d
commit e15b7b7018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 3 deletions

View file

@ -149,7 +149,7 @@ spec:
- mountPath: /tmp
name: dexconfig
resources:
{{- toYaml .Values.dex.resources | nindent 10 }}
{{- toYaml (default .Values.dex.resources .Values.dex.initImage.resources) | nindent 10 }}
{{- with .Values.dex.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}