global support for toleration, affinity, nodeSelector
This commit is contained in:
parent
f3888bc996
commit
0f6bc91b02
10 changed files with 229 additions and 5 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.5.7
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.17.4
|
version: 5.17.5
|
||||||
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
|
||||||
sources:
|
sources:
|
||||||
|
@ -23,4 +23,4 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Changed]: Update Argo CD extensions to v0.2.1"
|
- "[Changed]: Update Argo CD to v2.5.7"
|
||||||
|
|
|
@ -263,18 +263,45 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.controller.nodeSelector .Values.global.nodeSelector }}
|
||||||
|
{{- if .Values.controller.nodeSelector }}
|
||||||
{{- with .Values.controller.nodeSelector }}
|
{{- with .Values.controller.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.controller.tolerations .Values.global.tolerations }}
|
||||||
|
{{- if .Values.controller.tolerations }}
|
||||||
{{- with .Values.controller.tolerations }}
|
{{- with .Values.controller.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.controller.affinity .Values.global.affinity }}
|
||||||
|
{{- if .Values.controller.affinity }}
|
||||||
{{- with .Values.controller.affinity }}
|
{{- with .Values.controller.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.controller.topologySpreadConstraints }}
|
{{- with .Values.controller.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
|
@ -310,4 +337,4 @@ spec:
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
{{- with .Values.controller.priorityClassName }}
|
{{- with .Values.controller.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -131,18 +131,45 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.applicationSet.nodeSelector .Values.global.nodeSelector }}
|
||||||
|
{{- if .Values.applicationSet.nodeSelector }}
|
||||||
{{- with .Values.applicationSet.nodeSelector }}
|
{{- with .Values.applicationSet.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.applicationSet.affinity .Values.global.affinity }}
|
||||||
|
{{- if .Values.applicationSet.affinity }}
|
||||||
{{- with .Values.applicationSet.affinity }}
|
{{- with .Values.applicationSet.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.applicationSet.tolerations .Values.global.tolerations }}
|
||||||
|
{{- if .Values.applicationSet.tolerations }}
|
||||||
{{- with .Values.applicationSet.tolerations }}
|
{{- with .Values.applicationSet.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.applicationSet.priorityClassName }}
|
{{- with .Values.applicationSet.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -48,16 +48,43 @@ spec:
|
||||||
{{- toYaml .Values.notifications.bots.slack.resources | nindent 12 }}
|
{{- toYaml .Values.notifications.bots.slack.resources | nindent 12 }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.notifications.bots.slack.containerSecurityContext | nindent 12 }}
|
{{- toYaml .Values.notifications.bots.slack.containerSecurityContext | nindent 12 }}
|
||||||
|
{{- if or .Values.notifications.bots.slack.nodeSelector .Values.global.nodeSelector }}
|
||||||
|
{{- if .Values.notifications.bots.slack.nodeSelector }}
|
||||||
{{- with .Values.notifications.bots.slack.nodeSelector }}
|
{{- with .Values.notifications.bots.slack.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.notifications.bots.slack.affinity .Values.global.affinity }}
|
||||||
|
{{- if .Values.notifications.bots.slack.affinity }}
|
||||||
{{- with .Values.notifications.bots.slack.affinity }}
|
{{- with .Values.notifications.bots.slack.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.notifications.bots.slack.tolerations .Values.global.tolerations }}
|
||||||
|
{{- if .Values.notifications.bots.slack.tolerations }}
|
||||||
{{- with .Values.notifications.bots.slack.tolerations }}
|
{{- with .Values.notifications.bots.slack.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -88,18 +88,45 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml . ) $ | nindent 8 }}
|
{{- tpl (toYaml . ) $ | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.notifications.nodeSelector .Values.global.nodeSelector }}
|
||||||
|
{{- if .Values.notifications.nodeSelector }}
|
||||||
{{- with .Values.notifications.nodeSelector }}
|
{{- with .Values.notifications.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.notifications.affinity .Values.global.affinity }}
|
||||||
|
{{- if .Values.notifications.affinity }}
|
||||||
{{- with .Values.notifications.affinity }}
|
{{- with .Values.notifications.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.notifications.tolerations .Values.global.tolerations }}
|
||||||
|
{{- if .Values.notifications.tolerations }}
|
||||||
{{- with .Values.notifications.tolerations }}
|
{{- with .Values.notifications.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.notifications.priorityClassName }}
|
{{- with .Values.notifications.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -289,18 +289,45 @@ spec:
|
||||||
{{- with .Values.repoServer.initContainers }}
|
{{- with .Values.repoServer.initContainers }}
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.repoServer.nodeSelector .Values.global.nodeSelector }}
|
||||||
|
{{- if .Values.repoServer.nodeSelector }}
|
||||||
{{- with .Values.repoServer.nodeSelector }}
|
{{- with .Values.repoServer.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.repoServer.tolerations .Values.global.tolerations }}
|
||||||
|
{{- if .Values.repoServer.tolerations }}
|
||||||
{{- with .Values.repoServer.tolerations }}
|
{{- with .Values.repoServer.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.repoServer.affinity .Values.global.affinity }}
|
||||||
|
{{- if .Values.repoServer.affinity }}
|
||||||
{{- with .Values.repoServer.affinity }}
|
{{- with .Values.repoServer.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.repoServer.topologySpreadConstraints }}
|
{{- with .Values.repoServer.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
|
|
|
@ -340,18 +340,45 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.server.nodeSelector .Values.global.nodeSelector }}
|
||||||
|
{{- if .Values.server.nodeSelector }}
|
||||||
{{- with .Values.server.nodeSelector }}
|
{{- with .Values.server.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.server.tolerations .Values.global.tolerations }}
|
||||||
|
{{- if .Values.server.tolerations }}
|
||||||
{{- with .Values.server.tolerations }}
|
{{- with .Values.server.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.server.affinity .Values.global.affinity }}
|
||||||
|
{{- if .Values.server.affinity }}
|
||||||
{{- with .Values.server.affinity }}
|
{{- with .Values.server.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.server.topologySpreadConstraints }}
|
{{- with .Values.server.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
|
|
|
@ -138,18 +138,45 @@ spec:
|
||||||
{{- with .Values.dex.initContainers }}
|
{{- with .Values.dex.initContainers }}
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.dex.nodeSelector .Values.global.nodeSelector }}
|
||||||
|
{{- if .Values.dex.nodeSelector }}
|
||||||
{{- with .Values.dex.nodeSelector }}
|
{{- with .Values.dex.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.dex.tolerations .Values.global.tolerations }}
|
||||||
|
{{- if .Values.dex.tolerations }}
|
||||||
{{- with .Values.dex.tolerations }}
|
{{- with .Values.dex.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.dex.affinity .Values.global.affinity }}
|
||||||
|
{{- if .Values.dex.affinity }}
|
||||||
{{- with .Values.dex.affinity }}
|
{{- with .Values.dex.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.dex.topologySpreadConstraints }}
|
{{- with .Values.dex.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
|
|
|
@ -98,18 +98,45 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or .Values.redis.nodeSelector .Values.global.nodeSelector }}
|
||||||
|
{{- if .Values.redis.nodeSelector }}
|
||||||
{{- with .Values.redis.nodeSelector }}
|
{{- with .Values.redis.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.redis.tolerations .Values.global.tolerations }}
|
||||||
|
{{- if .Values.redis.tolerations }}
|
||||||
{{- with .Values.redis.tolerations }}
|
{{- with .Values.redis.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.redis.affinity .Values.global.affinity }}
|
||||||
|
{{- if .Values.redis.affinity }}
|
||||||
{{- with .Values.redis.affinity }}
|
{{- with .Values.redis.affinity }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- with .Values.global.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.redis.topologySpreadConstraints }}
|
{{- with .Values.redis.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
|
|
|
@ -86,12 +86,20 @@ global:
|
||||||
# runAsGroup: 999
|
# runAsGroup: 999
|
||||||
# fsGroup: 999
|
# fsGroup: 999
|
||||||
|
|
||||||
|
# -- [Node selector]
|
||||||
|
nodeSelector: {}
|
||||||
|
|
||||||
|
# -- [Tolerations] for use with node taints
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
|
# -- Assign custom [affinity] rules to the deployment
|
||||||
|
affinity: {}
|
||||||
# -- Mapping between IP and hostnames that will be injected as entries in the pod's hosts files
|
# -- Mapping between IP and hostnames that will be injected as entries in the pod's hosts files
|
||||||
hostAliases: []
|
hostAliases: []
|
||||||
# - ip: 10.20.30.40
|
# - ip: 10.20.30.40
|
||||||
# hostnames:
|
# hostnames:
|
||||||
# - git.myhostname
|
# - git.myhostname
|
||||||
|
|
||||||
networkPolicy:
|
networkPolicy:
|
||||||
# -- Create NetworkPolicy objects for all components
|
# -- Create NetworkPolicy objects for all components
|
||||||
create: false
|
create: false
|
||||||
|
@ -1333,7 +1341,7 @@ server:
|
||||||
# -- Repository to use for extensions image
|
# -- Repository to use for extensions image
|
||||||
repository: "ghcr.io/argoproj-labs/argocd-extensions"
|
repository: "ghcr.io/argoproj-labs/argocd-extensions"
|
||||||
# -- Tag to use for extensions image
|
# -- Tag to use for extensions image
|
||||||
tag: "v0.2.1"
|
tag: "v0.1.0"
|
||||||
# -- Image pull policy for extensions
|
# -- Image pull policy for extensions
|
||||||
# @default -- `""` (defaults to global.image.imagePullPolicy)
|
# @default -- `""` (defaults to global.image.imagePullPolicy)
|
||||||
imagePullPolicy: ""
|
imagePullPolicy: ""
|
||||||
|
|
Loading…
Reference in a new issue