feat(argo-cd): Add additional global parameters for scheduling (#1846)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>pull/1874/head^2 argo-cd-5.24.0
parent
7b499adc8b
commit
053a338ea9
|
@ -3,7 +3,7 @@ appVersion: v2.6.3
|
||||||
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.23.5
|
version: 5.24.0
|
||||||
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,5 +23,15 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: added
|
||||||
description: Indentation for argo-server role when exec.enabled is True.
|
description: Global nodeSelector configuration
|
||||||
|
- kind: added
|
||||||
|
description: Global tolerations configuration
|
||||||
|
- kind: added
|
||||||
|
description: Global topologySpreadConstraints configuration
|
||||||
|
- kind: added
|
||||||
|
description: Missing component level topologySpreadConstraints configuration
|
||||||
|
- kind: added
|
||||||
|
description: Missing component level priorityClassName configuration
|
||||||
|
- kind: changed
|
||||||
|
description: Global affinity preset can be disabled
|
||||||
|
|
|
@ -105,7 +105,12 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
|
|
||||||
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
|
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
|
||||||
|
|
||||||
### 5.21.0
|
### 5.24.0
|
||||||
|
|
||||||
|
This versions adds additional global parameters for scheduling (`nodeSelector`, `tolerations`, `topologySpreadConstraints`).
|
||||||
|
Default `global.affinity` rules can be disabled when `none` value is used for the preset.
|
||||||
|
|
||||||
|
### 5.22.0
|
||||||
|
|
||||||
This versions adds `global.affinity` options that are used as a presets. Override on component level works as before and replaces the default preset completely.
|
This versions adds `global.affinity` options that are used as a presets. Override on component level works as before and replaces the default preset completely.
|
||||||
|
|
||||||
|
@ -386,8 +391,8 @@ NAME: my-release
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| global.additionalLabels | object | `{}` | Common labels for the all resources |
|
| global.additionalLabels | object | `{}` | Common labels for the all resources |
|
||||||
| global.affinity.nodeAffinity.matchExpressions | list | `[]` | Default match expressions for node affinity |
|
| global.affinity.nodeAffinity.matchExpressions | list | `[]` | Default match expressions for node affinity |
|
||||||
| global.affinity.nodeAffinity.type | string | `"hard"` | Default node affinity rules. Either: `soft` or `hard` |
|
| global.affinity.nodeAffinity.type | string | `"hard"` | Default node affinity rules. Either: `none`, `soft` or `hard` |
|
||||||
| global.affinity.podAntiAffinity | string | `"soft"` | Default pod anti-affinity rules. Either: `soft` or `hard` |
|
| global.affinity.podAntiAffinity | string | `"soft"` | Default pod anti-affinity rules. Either: `none`, `soft` or `hard` |
|
||||||
| global.deploymentAnnotations | object | `{}` | Annotations for the all deployed Deployments |
|
| global.deploymentAnnotations | object | `{}` | Annotations for the all deployed Deployments |
|
||||||
| global.hostAliases | list | `[]` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
|
| global.hostAliases | list | `[]` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
|
||||||
| global.image.imagePullPolicy | string | `"IfNotPresent"` | If defined, a imagePullPolicy applied to all Argo CD deployments |
|
| global.image.imagePullPolicy | string | `"IfNotPresent"` | If defined, a imagePullPolicy applied to all Argo CD deployments |
|
||||||
|
@ -398,11 +403,15 @@ NAME: my-release
|
||||||
| global.logging.level | string | `"info"` | Set the global logging level. One of: `debug`, `info`, `warn` or `error` |
|
| global.logging.level | string | `"info"` | Set the global logging level. One of: `debug`, `info`, `warn` or `error` |
|
||||||
| global.networkPolicy.create | bool | `false` | Create NetworkPolicy objects for all components |
|
| global.networkPolicy.create | bool | `false` | Create NetworkPolicy objects for all components |
|
||||||
| global.networkPolicy.defaultDenyIngress | bool | `false` | Default deny all ingress traffic |
|
| global.networkPolicy.defaultDenyIngress | bool | `false` | Default deny all ingress traffic |
|
||||||
|
| global.nodeSelector | object | `{}` | Default node selector for all components |
|
||||||
| global.podAnnotations | object | `{}` | Annotations for the all deployed pods |
|
| global.podAnnotations | object | `{}` | Annotations for the all deployed pods |
|
||||||
| global.podLabels | object | `{}` | Labels for the all deployed pods |
|
| global.podLabels | object | `{}` | Labels for the all deployed pods |
|
||||||
|
| global.priorityClassName | string | `""` | Default priority class for all components |
|
||||||
| global.revisionHistoryLimit | int | `3` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
|
| global.revisionHistoryLimit | int | `3` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
|
||||||
| global.securityContext | object | `{}` (See [values.yaml]) | Toggle and define pod-level security context. |
|
| global.securityContext | object | `{}` (See [values.yaml]) | Toggle and define pod-level security context. |
|
||||||
| global.statefulsetAnnotations | object | `{}` | Annotations for the all deployed Statefulsets |
|
| global.statefulsetAnnotations | object | `{}` | Annotations for the all deployed Statefulsets |
|
||||||
|
| global.tolerations | object | `{}` | Default tolerations for all components |
|
||||||
|
| global.topologySpreadConstraints | list | `[]` | Default [TopologySpreadConstraints] rules for all components |
|
||||||
|
|
||||||
## Argo CD Configs
|
## Argo CD Configs
|
||||||
|
|
||||||
|
@ -505,7 +514,7 @@ NAME: my-release
|
||||||
| controller.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
| controller.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
||||||
| controller.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
| controller.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
||||||
| controller.name | string | `"application-controller"` | Application controller name string |
|
| controller.name | string | `"application-controller"` | Application controller name string |
|
||||||
| controller.nodeSelector | object | `{}` | [Node selector] |
|
| controller.nodeSelector | object | `{}` (defaults to global.nodeSelector) | [Node selector] |
|
||||||
| controller.pdb.annotations | object | `{}` | Annotations to be added to application controller pdb |
|
| controller.pdb.annotations | object | `{}` | Annotations to be added to application controller pdb |
|
||||||
| controller.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the application controller |
|
| controller.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the application controller |
|
||||||
| controller.pdb.labels | object | `{}` | Labels to be added to application controller pdb |
|
| controller.pdb.labels | object | `{}` | Labels to be added to application controller pdb |
|
||||||
|
@ -513,7 +522,7 @@ NAME: my-release
|
||||||
| controller.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
| controller.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
||||||
| controller.podAnnotations | object | `{}` | Annotations to be added to application controller pods |
|
| controller.podAnnotations | object | `{}` | Annotations to be added to application controller pods |
|
||||||
| controller.podLabels | object | `{}` | Labels to be added to application controller pods |
|
| controller.podLabels | object | `{}` | Labels to be added to application controller pods |
|
||||||
| controller.priorityClassName | string | `""` | Priority class for the application controller pods |
|
| controller.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the application controller pods |
|
||||||
| controller.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| controller.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
| controller.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
| controller.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
| controller.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
| controller.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
|
@ -527,8 +536,8 @@ NAME: my-release
|
||||||
| controller.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| controller.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| controller.serviceAccount.name | string | `"argocd-application-controller"` | Service account name |
|
| controller.serviceAccount.name | string | `"argocd-application-controller"` | Service account name |
|
||||||
| controller.statefulsetAnnotations | object | `{}` | Annotations for the application controller StatefulSet |
|
| controller.statefulsetAnnotations | object | `{}` | Annotations for the application controller StatefulSet |
|
||||||
| controller.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| controller.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| controller.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
| controller.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
||||||
| controller.volumeMounts | list | `[]` | Additional volumeMounts to the application controller main container |
|
| controller.volumeMounts | list | `[]` | Additional volumeMounts to the application controller main container |
|
||||||
| controller.volumes | list | `[]` | Additional volumes to the application controller pod |
|
| controller.volumes | list | `[]` | Additional volumes to the application controller pod |
|
||||||
|
|
||||||
|
@ -588,7 +597,7 @@ NAME: my-release
|
||||||
| repoServer.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
| repoServer.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
||||||
| repoServer.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
| repoServer.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
||||||
| repoServer.name | string | `"repo-server"` | Repo server name |
|
| repoServer.name | string | `"repo-server"` | Repo server name |
|
||||||
| repoServer.nodeSelector | object | `{}` | [Node selector] |
|
| repoServer.nodeSelector | object | `{}` (defaults to global.nodeSelector) | [Node selector] |
|
||||||
| repoServer.pdb.annotations | object | `{}` | Annotations to be added to repo server pdb |
|
| repoServer.pdb.annotations | object | `{}` | Annotations to be added to repo server pdb |
|
||||||
| repoServer.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the repo server |
|
| repoServer.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the repo server |
|
||||||
| repoServer.pdb.labels | object | `{}` | Labels to be added to repo server pdb |
|
| repoServer.pdb.labels | object | `{}` | Labels to be added to repo server pdb |
|
||||||
|
@ -596,7 +605,7 @@ NAME: my-release
|
||||||
| repoServer.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
| repoServer.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
||||||
| repoServer.podAnnotations | object | `{}` | Annotations to be added to repo server pods |
|
| repoServer.podAnnotations | object | `{}` | Annotations to be added to repo server pods |
|
||||||
| repoServer.podLabels | object | `{}` | Labels to be added to repo server pods |
|
| repoServer.podLabels | object | `{}` | Labels to be added to repo server pods |
|
||||||
| repoServer.priorityClassName | string | `""` | Priority class for the repo server |
|
| repoServer.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the repo server pods |
|
||||||
| repoServer.rbac | list | `[]` | Repo server rbac rules |
|
| repoServer.rbac | list | `[]` | Repo server rbac rules |
|
||||||
| repoServer.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| repoServer.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
| repoServer.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
| repoServer.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
@ -614,8 +623,8 @@ NAME: my-release
|
||||||
| repoServer.serviceAccount.create | bool | `true` | Create repo server service account |
|
| repoServer.serviceAccount.create | bool | `true` | Create repo server service account |
|
||||||
| repoServer.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| repoServer.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| repoServer.serviceAccount.name | string | `""` | Repo server service account name |
|
| repoServer.serviceAccount.name | string | `""` | Repo server service account name |
|
||||||
| repoServer.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| repoServer.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| repoServer.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the repo server |
|
| repoServer.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the repo server |
|
||||||
| repoServer.volumeMounts | list | `[]` | Additional volumeMounts to the repo server main container |
|
| repoServer.volumeMounts | list | `[]` | Additional volumeMounts to the repo server main container |
|
||||||
| repoServer.volumes | list | `[]` | Additional volumes to the repo server pod |
|
| repoServer.volumes | list | `[]` | Additional volumes to the repo server pod |
|
||||||
|
|
||||||
|
@ -721,7 +730,7 @@ NAME: my-release
|
||||||
| server.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
| server.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
||||||
| server.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
| server.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
||||||
| server.name | string | `"server"` | Argo CD server name |
|
| server.name | string | `"server"` | Argo CD server name |
|
||||||
| server.nodeSelector | object | `{}` | [Node selector] |
|
| server.nodeSelector | object | `{}` (defaults to global.nodeSelector) | [Node selector] |
|
||||||
| server.pdb.annotations | object | `{}` | Annotations to be added to Argo CD server pdb |
|
| server.pdb.annotations | object | `{}` | Annotations to be added to Argo CD server pdb |
|
||||||
| server.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the Argo CD server |
|
| server.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the Argo CD server |
|
||||||
| server.pdb.labels | object | `{}` | Labels to be added to Argo CD server pdb |
|
| server.pdb.labels | object | `{}` | Labels to be added to Argo CD server pdb |
|
||||||
|
@ -729,7 +738,7 @@ NAME: my-release
|
||||||
| server.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
| server.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
||||||
| server.podAnnotations | object | `{}` | Annotations to be added to server pods |
|
| server.podAnnotations | object | `{}` | Annotations to be added to server pods |
|
||||||
| server.podLabels | object | `{}` | Labels to be added to server pods |
|
| server.podLabels | object | `{}` | Labels to be added to server pods |
|
||||||
| server.priorityClassName | string | `""` | Priority class for the Argo CD server |
|
| server.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the Argo CD server pods |
|
||||||
| server.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| server.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
| server.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
| server.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
| server.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
| server.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
|
@ -761,8 +770,8 @@ NAME: my-release
|
||||||
| server.serviceAccount.create | bool | `true` | Create server service account |
|
| server.serviceAccount.create | bool | `true` | Create server service account |
|
||||||
| server.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| server.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| server.serviceAccount.name | string | `"argocd-server"` | Server service account name |
|
| server.serviceAccount.name | string | `"argocd-server"` | Server service account name |
|
||||||
| server.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| server.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| server.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the Argo CD server |
|
| server.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the Argo CD server |
|
||||||
| server.volumeMounts | list | `[]` | Additional volumeMounts to the server main container |
|
| server.volumeMounts | list | `[]` | Additional volumeMounts to the server main container |
|
||||||
| server.volumes | list | `[]` | Additional volumes to the server pod |
|
| server.volumes | list | `[]` | Additional volumes to the server pod |
|
||||||
|
|
||||||
|
@ -840,7 +849,7 @@ server:
|
||||||
| dex.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
| dex.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
||||||
| dex.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
| dex.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
||||||
| dex.name | string | `"dex-server"` | Dex name |
|
| dex.name | string | `"dex-server"` | Dex name |
|
||||||
| dex.nodeSelector | object | `{}` | [Node selector] |
|
| dex.nodeSelector | object | `{}` (defaults to global.nodeSelector) | [Node selector] |
|
||||||
| dex.pdb.annotations | object | `{}` | Annotations to be added to Dex server pdb |
|
| dex.pdb.annotations | object | `{}` | Annotations to be added to Dex server pdb |
|
||||||
| dex.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the Dex server |
|
| dex.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the Dex server |
|
||||||
| dex.pdb.labels | object | `{}` | Labels to be added to Dex server pdb |
|
| dex.pdb.labels | object | `{}` | Labels to be added to Dex server pdb |
|
||||||
|
@ -848,7 +857,7 @@ server:
|
||||||
| dex.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
| dex.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
||||||
| dex.podAnnotations | object | `{}` | Annotations to be added to the Dex server pods |
|
| dex.podAnnotations | object | `{}` | Annotations to be added to the Dex server pods |
|
||||||
| dex.podLabels | object | `{}` | Labels to be added to the Dex server pods |
|
| dex.podLabels | object | `{}` | Labels to be added to the Dex server pods |
|
||||||
| dex.priorityClassName | string | `""` | Priority class for dex |
|
| dex.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the dex pods |
|
||||||
| dex.readinessProbe.enabled | bool | `false` | Enable Kubernetes readiness probe for Dex >= 2.28.0 |
|
| dex.readinessProbe.enabled | bool | `false` | Enable Kubernetes readiness probe for Dex >= 2.28.0 |
|
||||||
| dex.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| dex.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
| dex.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
| dex.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
@ -865,8 +874,8 @@ server:
|
||||||
| dex.servicePortHttp | int | `5556` | Service port for HTTP access |
|
| dex.servicePortHttp | int | `5556` | Service port for HTTP access |
|
||||||
| dex.servicePortHttpName | string | `"http"` | Service port name for HTTP access |
|
| dex.servicePortHttpName | string | `"http"` | Service port name for HTTP access |
|
||||||
| dex.servicePortMetrics | int | `5558` | Service port for metrics access |
|
| dex.servicePortMetrics | int | `5558` | Service port for metrics access |
|
||||||
| dex.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| dex.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| dex.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to dex |
|
| dex.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to dex |
|
||||||
| dex.volumeMounts | list | `[]` | Additional volumeMounts to the dex main container |
|
| dex.volumeMounts | list | `[]` | Additional volumeMounts to the dex main container |
|
||||||
| dex.volumes | list | `[]` | Additional volumes to the dex pod |
|
| dex.volumes | list | `[]` | Additional volumes to the dex pod |
|
||||||
|
|
||||||
|
@ -917,7 +926,7 @@ server:
|
||||||
| redis.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
| redis.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
||||||
| redis.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
| redis.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
||||||
| redis.name | string | `"redis"` | Redis name |
|
| redis.name | string | `"redis"` | Redis name |
|
||||||
| redis.nodeSelector | object | `{}` | [Node selector] |
|
| redis.nodeSelector | object | `{}` (defaults to global.nodeSelector) | [Node selector] |
|
||||||
| redis.pdb.annotations | object | `{}` | Annotations to be added to Redis pdb |
|
| redis.pdb.annotations | object | `{}` | Annotations to be added to Redis pdb |
|
||||||
| redis.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the Redis |
|
| redis.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the Redis |
|
||||||
| redis.pdb.labels | object | `{}` | Labels to be added to Redis pdb |
|
| redis.pdb.labels | object | `{}` | Labels to be added to Redis pdb |
|
||||||
|
@ -925,7 +934,7 @@ server:
|
||||||
| redis.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
| redis.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
||||||
| redis.podAnnotations | object | `{}` | Annotations to be added to the Redis server pods |
|
| redis.podAnnotations | object | `{}` | Annotations to be added to the Redis server pods |
|
||||||
| redis.podLabels | object | `{}` | Labels to be added to the Redis server pods |
|
| redis.podLabels | object | `{}` | Labels to be added to the Redis server pods |
|
||||||
| redis.priorityClassName | string | `""` | Priority class for redis |
|
| redis.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for redis pods |
|
||||||
| redis.resources | object | `{}` | Resource limits and requests for redis |
|
| redis.resources | object | `{}` | Resource limits and requests for redis |
|
||||||
| redis.securityContext | object | See [values.yaml] | Redis pod-level security context |
|
| redis.securityContext | object | See [values.yaml] | Redis pod-level security context |
|
||||||
| redis.service.annotations | object | `{}` | Redis service annotations |
|
| redis.service.annotations | object | `{}` | Redis service annotations |
|
||||||
|
@ -935,8 +944,8 @@ server:
|
||||||
| redis.serviceAccount.create | bool | `false` | Create a service account for the redis pod |
|
| redis.serviceAccount.create | bool | `false` | Create a service account for the redis pod |
|
||||||
| redis.serviceAccount.name | string | `""` | Service account name for redis pod |
|
| redis.serviceAccount.name | string | `""` | Service account name for redis pod |
|
||||||
| redis.servicePort | int | `6379` | Redis service port |
|
| redis.servicePort | int | `6379` | Redis service port |
|
||||||
| redis.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| redis.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| redis.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to redis |
|
| redis.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to redis |
|
||||||
| redis.volumeMounts | list | `[]` | Additional volumeMounts to the redis container |
|
| redis.volumeMounts | list | `[]` | Additional volumeMounts to the redis container |
|
||||||
| redis.volumes | list | `[]` | Additional volumes to the redis pod |
|
| redis.volumes | list | `[]` | Additional volumes to the redis pod |
|
||||||
|
|
||||||
|
@ -1029,7 +1038,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
| applicationSet.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
||||||
| applicationSet.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
| applicationSet.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
||||||
| applicationSet.name | string | `"applicationset-controller"` | ApplicationSet controller name string |
|
| applicationSet.name | string | `"applicationset-controller"` | ApplicationSet controller name string |
|
||||||
| applicationSet.nodeSelector | object | `{}` | [Node selector] |
|
| applicationSet.nodeSelector | object | `{}` (defaults to global.nodeSelector) | [Node selector] |
|
||||||
| applicationSet.pdb.annotations | object | `{}` | Annotations to be added to ApplicationSet controller pdb |
|
| applicationSet.pdb.annotations | object | `{}` | Annotations to be added to ApplicationSet controller pdb |
|
||||||
| applicationSet.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the ApplicationSet controller |
|
| applicationSet.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the ApplicationSet controller |
|
||||||
| applicationSet.pdb.labels | object | `{}` | Labels to be added to ApplicationSet controller pdb |
|
| applicationSet.pdb.labels | object | `{}` | Labels to be added to ApplicationSet controller pdb |
|
||||||
|
@ -1037,7 +1046,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
| applicationSet.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
||||||
| applicationSet.podAnnotations | object | `{}` | Annotations for the ApplicationSet controller pods |
|
| applicationSet.podAnnotations | object | `{}` | Annotations for the ApplicationSet controller pods |
|
||||||
| applicationSet.podLabels | object | `{}` | Labels for the ApplicationSet controller pods |
|
| applicationSet.podLabels | object | `{}` | Labels for the ApplicationSet controller pods |
|
||||||
| applicationSet.priorityClassName | string | `""` | If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default. |
|
| applicationSet.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the ApplicationSet controller pods |
|
||||||
| applicationSet.readinessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for ApplicationSet controller |
|
| applicationSet.readinessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for ApplicationSet controller |
|
||||||
| applicationSet.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| applicationSet.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
| applicationSet.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
| applicationSet.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
@ -1055,7 +1064,8 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.serviceAccount.create | bool | `true` | Create ApplicationSet controller service account |
|
| applicationSet.serviceAccount.create | bool | `true` | Create ApplicationSet controller service account |
|
||||||
| applicationSet.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| applicationSet.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| applicationSet.serviceAccount.name | string | `"argocd-applicationset-controller"` | ApplicationSet controller service account name |
|
| applicationSet.serviceAccount.name | string | `"argocd-applicationset-controller"` | ApplicationSet controller service account name |
|
||||||
| applicationSet.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| applicationSet.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
|
| applicationSet.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the ApplicationSet controller |
|
||||||
| applicationSet.webhook.ingress.annotations | object | `{}` | Additional ingress annotations |
|
| applicationSet.webhook.ingress.annotations | object | `{}` | Additional ingress annotations |
|
||||||
| applicationSet.webhook.ingress.enabled | bool | `false` | Enable an ingress resource for Webhooks |
|
| applicationSet.webhook.ingress.enabled | bool | `false` | Enable an ingress resource for Webhooks |
|
||||||
| applicationSet.webhook.ingress.extraPaths | list | `[]` | Additional ingress paths |
|
| applicationSet.webhook.ingress.extraPaths | list | `[]` | Additional ingress paths |
|
||||||
|
@ -1107,7 +1117,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
| notifications.metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
|
||||||
| notifications.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
| notifications.metrics.serviceMonitor.tlsConfig | object | `{}` | Prometheus ServiceMonitor tlsConfig |
|
||||||
| notifications.name | string | `"notifications-controller"` | Notifications controller name string |
|
| notifications.name | string | `"notifications-controller"` | Notifications controller name string |
|
||||||
| notifications.nodeSelector | object | `{}` | [Node selector] |
|
| notifications.nodeSelector | object | `{}` (defaults to global.nodeSelector) | [Node selector] |
|
||||||
| notifications.notifiers | object | See [values.yaml] | Configures notification services such as slack, email or custom webhook |
|
| notifications.notifiers | object | See [values.yaml] | Configures notification services such as slack, email or custom webhook |
|
||||||
| notifications.pdb.annotations | object | `{}` | Annotations to be added to notifications controller pdb |
|
| notifications.pdb.annotations | object | `{}` | Annotations to be added to notifications controller pdb |
|
||||||
| notifications.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the notifications controller |
|
| notifications.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the notifications controller |
|
||||||
|
@ -1116,7 +1126,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
| notifications.pdb.minAvailable | string | `""` (defaults to 0 if not specified) | Number of pods that are available after eviction as number or percentage (eg.: 50%) |
|
||||||
| notifications.podAnnotations | object | `{}` | Annotations to be applied to the notifications controller Pods |
|
| notifications.podAnnotations | object | `{}` | Annotations to be applied to the notifications controller Pods |
|
||||||
| notifications.podLabels | object | `{}` | Labels to be applied to the notifications controller Pods |
|
| notifications.podLabels | object | `{}` | Labels to be applied to the notifications controller Pods |
|
||||||
| notifications.priorityClassName | string | `""` | Priority class for the notifications controller pods |
|
| notifications.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the notifications controller pods |
|
||||||
| notifications.resources | object | `{}` | Resource limits and requests for the notifications controller |
|
| notifications.resources | object | `{}` | Resource limits and requests for the notifications controller |
|
||||||
| notifications.secret.annotations | object | `{}` | key:value pairs of annotations to be added to the secret |
|
| notifications.secret.annotations | object | `{}` | key:value pairs of annotations to be added to the secret |
|
||||||
| notifications.secret.create | bool | `true` | Whether helm chart creates notifications controller secret |
|
| notifications.secret.create | bool | `true` | Whether helm chart creates notifications controller secret |
|
||||||
|
@ -1128,7 +1138,8 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.serviceAccount.name | string | `"argocd-notifications-controller"` | Notification controller service account name |
|
| notifications.serviceAccount.name | string | `"argocd-notifications-controller"` | Notification controller service account name |
|
||||||
| notifications.subscriptions | list | `[]` | Contains centrally managed global application subscriptions |
|
| notifications.subscriptions | list | `[]` | Contains centrally managed global application subscriptions |
|
||||||
| notifications.templates | object | `{}` | The notification template is used to generate the notification content |
|
| notifications.templates | object | `{}` | The notification template is used to generate the notification content |
|
||||||
| notifications.tolerations | list | `[]` | [Tolerations] for use with node taints |
|
| notifications.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
|
| notifications.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
||||||
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
|
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
|
@ -104,7 +104,12 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
|
|
||||||
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
|
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
|
||||||
|
|
||||||
### 5.21.0
|
### 5.24.0
|
||||||
|
|
||||||
|
This versions adds additional global parameters for scheduling (`nodeSelector`, `tolerations`, `topologySpreadConstraints`).
|
||||||
|
Default `global.affinity` rules can be disabled when `none` value is used for the preset.
|
||||||
|
|
||||||
|
### 5.22.0
|
||||||
|
|
||||||
This versions adds `global.affinity` options that are used as a presets. Override on component level works as before and replaces the default preset completely.
|
This versions adds `global.affinity` options that are used as a presets. Override on component level works as before and replaces the default preset completely.
|
||||||
|
|
||||||
|
|
|
@ -78,16 +78,18 @@ Node affinity
|
||||||
{{- toYaml . -}}
|
{{- toYaml . -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $preset := .context.Values.global.affinity -}}
|
{{- $preset := .context.Values.global.affinity -}}
|
||||||
|
{{- if (eq $preset.podAntiAffinity "soft") }}
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
{{- if (eq $preset.podAntiAffinity "soft") }}
|
|
||||||
- weight: 100
|
- weight: 100
|
||||||
podAffinityTerm:
|
podAffinityTerm:
|
||||||
labelSelector:
|
labelSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" .context }}-{{ .component.name }}
|
app.kubernetes.io/name: {{ include "argo-cd.name" .context }}-{{ .component.name }}
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
{{- else }}
|
{{- else if (eq $preset.podAntiAffinity "hard") }}
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
podAffinityTerm:
|
podAffinityTerm:
|
||||||
labelSelector:
|
labelSelector:
|
||||||
|
@ -99,21 +101,22 @@ podAntiAffinity:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" .context }}-{{ .component.name }}
|
app.kubernetes.io/name: {{ include "argo-cd.name" .context }}-{{ .component.name }}
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $preset.nodeAffinity.matchExpressions }}
|
{{- with $preset.nodeAffinity.matchExpressions }}
|
||||||
|
{{- if (eq $preset.nodeAffinity.type "soft") }}
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
{{- if (eq $preset.nodeAffinity.type "soft") }}
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 1
|
- weight: 1
|
||||||
preference:
|
preference:
|
||||||
matchExpressions:
|
matchExpressions:
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
{{- else }}
|
{{- else if (eq $preset.nodeAffinity.type "hard") }}
|
||||||
|
nodeAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -45,6 +45,9 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.controller.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.controllerServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.controllerServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- command:
|
- command:
|
||||||
|
@ -269,17 +272,19 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.controller) }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- include "argo-cd.affinity" (dict "context" . "component" .Values.controller) | nindent 8 }}
|
{{- trim . | nindent 8 }}
|
||||||
{{- with .Values.controller.nodeSelector }}
|
{{- end }}
|
||||||
|
{{- with .Values.controller.nodeSelector | default .Values.global.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.controller.tolerations }}
|
{{- with .Values.controller.tolerations | default .Values.global.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.controller.topologySpreadConstraints }}
|
{{- with .Values.controller.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
- {{ toYaml $constraint | nindent 8 | trim }}
|
- {{ toYaml $constraint | nindent 8 | trim }}
|
||||||
|
@ -307,9 +312,6 @@ spec:
|
||||||
path: tls.key
|
path: tls.key
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
{{- with .Values.controller.priorityClassName }}
|
|
||||||
priorityClassName: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
hostNetwork: {{ .Values.controller.hostNetwork }}
|
hostNetwork: {{ .Values.controller.hostNetwork }}
|
||||||
{{- with .Values.controller.dnsConfig }}
|
{{- with .Values.controller.dnsConfig }}
|
||||||
dnsConfig:
|
dnsConfig:
|
||||||
|
|
|
@ -43,6 +43,9 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.applicationSet.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.applicationSetServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.applicationSetServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.applicationSet.name }}
|
- name: {{ .Values.applicationSet.name }}
|
||||||
|
@ -198,8 +201,10 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.applicationSet) }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- include "argo-cd.affinity" (dict "context" . "component" .Values.applicationSet) | nindent 8 }}
|
{{- trim . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.applicationSet.nodeSelector }}
|
{{- with .Values.applicationSet.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -208,8 +213,16 @@ spec:
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.applicationSet.priorityClassName }}
|
{{- with .Values.applicationSet.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
||||||
priorityClassName: {{ . }}
|
topologySpreadConstraints:
|
||||||
|
{{- range $constraint := . }}
|
||||||
|
- {{ toYaml $constraint | nindent 8 | trim }}
|
||||||
|
{{- if not $constraint.labelSelector }}
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "argo-cd.selectorLabels" (dict "context" $ "name" $.Values.applicationSet.name) | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- with .Values.applicationSet.extraVolumes }}
|
{{- with .Values.applicationSet.extraVolumes }}
|
||||||
|
|
|
@ -45,6 +45,9 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.notifications.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.notificationsServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.notificationsServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.notifications.name }}
|
- name: {{ .Values.notifications.name }}
|
||||||
|
@ -92,18 +95,28 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml . ) $ | nindent 8 }}
|
{{- tpl (toYaml . ) $ | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.notifications) }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- include "argo-cd.affinity" (dict "context" . "component" .Values.notifications) | nindent 8 }}
|
{{- trim . | nindent 8 }}
|
||||||
{{- with .Values.notifications.nodeSelector }}
|
{{- end }}
|
||||||
|
{{- with .Values.notifications.nodeSelector | default .Values.global.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.notifications.tolerations }}
|
{{- with .Values.notifications.tolerations | default .Values.global.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.notifications.priorityClassName }}
|
{{- with .Values.notifications.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
||||||
priorityClassName: {{ . }}
|
topologySpreadConstraints:
|
||||||
|
{{- range $constraint := . }}
|
||||||
|
- {{ toYaml $constraint | nindent 8 | trim }}
|
||||||
|
{{- if not $constraint.labelSelector }}
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "argo-cd.selectorLabels" (dict "context" $ "name" $.Values.notifications.name) | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- with .Values.notifications.extraVolumes }}
|
{{- with .Values.notifications.extraVolumes }}
|
||||||
|
|
|
@ -48,6 +48,9 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.repoServer.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.repoServerServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.repoServerServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.repoServer.name }}
|
- name: {{ .Values.repoServer.name }}
|
||||||
|
@ -295,17 +298,19 @@ spec:
|
||||||
{{- with .Values.repoServer.initContainers }}
|
{{- with .Values.repoServer.initContainers }}
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.repoServer) }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- include "argo-cd.affinity" (dict "context" . "component" .Values.repoServer) | nindent 8 }}
|
{{- trim . | nindent 8 }}
|
||||||
{{- with .Values.repoServer.nodeSelector }}
|
{{- end }}
|
||||||
|
{{- with .Values.repoServer.nodeSelector | default .Values.global.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.repoServer.tolerations }}
|
{{- with .Values.repoServer.tolerations | default .Values.global.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.repoServer.topologySpreadConstraints }}
|
{{- with .Values.repoServer.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
- {{ toYaml $constraint | nindent 8 | trim }}
|
- {{ toYaml $constraint | nindent 8 | trim }}
|
||||||
|
@ -350,9 +355,6 @@ spec:
|
||||||
path: tls.key
|
path: tls.key
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
{{- with .Values.repoServer.priorityClassName }}
|
|
||||||
priorityClassName: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
hostNetwork: {{ .Values.repoServer.hostNetwork }}
|
hostNetwork: {{ .Values.repoServer.hostNetwork }}
|
||||||
{{- with .Values.repoServer.dnsConfig }}
|
{{- with .Values.repoServer.dnsConfig }}
|
||||||
dnsConfig:
|
dnsConfig:
|
||||||
|
|
|
@ -45,6 +45,9 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.server.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.serverServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.serverServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.server.name }}
|
- name: {{ .Values.server.name }}
|
||||||
|
@ -353,17 +356,19 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.server) }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- include "argo-cd.affinity" (dict "context" . "component" .Values.server) | nindent 8 }}
|
{{- trim . | nindent 8 }}
|
||||||
{{- with .Values.server.nodeSelector }}
|
{{- end }}
|
||||||
|
{{- with .Values.server.nodeSelector | default .Values.global.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.server.tolerations }}
|
{{- with .Values.server.tolerations | default .Values.global.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.server.topologySpreadConstraints }}
|
{{- with .Values.server.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
- {{ toYaml $constraint | nindent 8 | trim }}
|
- {{ toYaml $constraint | nindent 8 | trim }}
|
||||||
|
@ -416,9 +421,6 @@ spec:
|
||||||
path: tls.crt
|
path: tls.crt
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
{{- with .Values.server.priorityClassName }}
|
|
||||||
priorityClassName: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
hostNetwork: {{ .Values.server.hostNetwork }}
|
hostNetwork: {{ .Values.server.hostNetwork }}
|
||||||
{{- with .Values.server.dnsConfig }}
|
{{- with .Values.server.dnsConfig }}
|
||||||
dnsConfig:
|
dnsConfig:
|
||||||
|
|
|
@ -47,7 +47,10 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.dexServiceAccountName" . }}
|
{{- with .Values.dex.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.dex.name }}
|
- name: {{ .Values.dex.name }}
|
||||||
image: {{ .Values.dex.image.repository }}:{{ .Values.dex.image.tag }}
|
image: {{ .Values.dex.image.repository }}:{{ .Values.dex.image.tag }}
|
||||||
|
@ -143,17 +146,19 @@ spec:
|
||||||
{{- with .Values.dex.initContainers }}
|
{{- with .Values.dex.initContainers }}
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.dex.nodeSelector }}
|
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.dex) }}
|
||||||
|
affinity:
|
||||||
|
{{- trim . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.dex.nodeSelector | default .Values.global.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.dex.tolerations }}
|
{{- with .Values.dex.tolerations | default .Values.global.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
affinity:
|
{{- with .Values.dex.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
||||||
{{- include "argo-cd.affinity" (dict "context" . "component" .Values.dex) | nindent 8 }}
|
|
||||||
{{- with .Values.dex.topologySpreadConstraints }}
|
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
- {{ toYaml $constraint | nindent 8 | trim }}
|
- {{ toYaml $constraint | nindent 8 | trim }}
|
||||||
|
@ -183,9 +188,6 @@ spec:
|
||||||
{{- with .Values.dex.volumes }}
|
{{- with .Values.dex.volumes }}
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.dex.priorityClassName }}
|
|
||||||
priorityClassName: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.dex.dnsConfig }}
|
{{- with .Values.dex.dnsConfig }}
|
||||||
dnsConfig:
|
dnsConfig:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -44,6 +44,9 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.redis.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.redisServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.redisServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.redis.name }}
|
- name: {{ .Values.redis.name }}
|
||||||
|
@ -102,17 +105,19 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.redis.nodeSelector }}
|
{{- with .Values.redis.nodeSelector | default .Values.global.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.redis.tolerations }}
|
{{- with .Values.redis.tolerations | default .Values.global.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.redis) }}
|
||||||
affinity:
|
affinity:
|
||||||
{{- include "argo-cd.affinity" (dict "context" . "component" .Values.redis) | nindent 8 }}
|
{{- trim . | nindent 8 }}
|
||||||
{{- with .Values.redis.topologySpreadConstraints }}
|
{{- end }}
|
||||||
|
{{- with .Values.redis.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
||||||
topologySpreadConstraints:
|
topologySpreadConstraints:
|
||||||
{{- range $constraint := . }}
|
{{- range $constraint := . }}
|
||||||
- {{ toYaml $constraint | nindent 8 | trim }}
|
- {{ toYaml $constraint | nindent 8 | trim }}
|
||||||
|
@ -123,9 +128,6 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.redis.priorityClassName }}
|
|
||||||
priorityClassName: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.redis.volumes }}
|
{{- with .Values.redis.volumes }}
|
||||||
volumes:
|
volumes:
|
||||||
{{- toYaml . | nindent 8}}
|
{{- toYaml . | nindent 8}}
|
||||||
|
|
|
@ -99,13 +99,22 @@ global:
|
||||||
# -- Default deny all ingress traffic
|
# -- Default deny all ingress traffic
|
||||||
defaultDenyIngress: false
|
defaultDenyIngress: false
|
||||||
|
|
||||||
|
# -- Default priority class for all components
|
||||||
|
priorityClassName: ""
|
||||||
|
|
||||||
|
# -- Default node selector for all components
|
||||||
|
nodeSelector: {}
|
||||||
|
|
||||||
|
# -- Default tolerations for all components
|
||||||
|
tolerations: {}
|
||||||
|
|
||||||
# Default affinity preset for all components
|
# Default affinity preset for all components
|
||||||
affinity:
|
affinity:
|
||||||
# -- Default pod anti-affinity rules. Either: `soft` or `hard`
|
# -- Default pod anti-affinity rules. Either: `none`, `soft` or `hard`
|
||||||
podAntiAffinity: soft
|
podAntiAffinity: soft
|
||||||
# Node affinity rules
|
# Node affinity rules
|
||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
# -- Default node affinity rules. Either: `soft` or `hard`
|
# -- Default node affinity rules. Either: `none`, `soft` or `hard`
|
||||||
type: hard
|
type: hard
|
||||||
# -- Default match expressions for node affinity
|
# -- Default match expressions for node affinity
|
||||||
matchExpressions: []
|
matchExpressions: []
|
||||||
|
@ -115,6 +124,15 @@ global:
|
||||||
# - antarctica-east1
|
# - antarctica-east1
|
||||||
# - antarctica-west1
|
# - antarctica-west1
|
||||||
|
|
||||||
|
# -- Default [TopologySpreadConstraints] rules for all components
|
||||||
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
|
## If labelSelector is left out, it will default to the labelSelector of the component
|
||||||
|
topologySpreadConstraints: []
|
||||||
|
# - maxSkew: 1
|
||||||
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
|
||||||
## Argo Configs
|
## Argo Configs
|
||||||
configs:
|
configs:
|
||||||
# General Argo CD configuration
|
# General Argo CD configuration
|
||||||
|
@ -637,10 +655,16 @@ controller:
|
||||||
# -- Number of seconds after which the [probe] times out
|
# -- Number of seconds after which the [probe] times out
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
|
||||||
|
# -- Priority class for the application controller pods
|
||||||
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
|
priorityClassName: ""
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
# @default -- `[]` (defaults to global.tolerations)
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
# -- Assign custom [affinity] rules to the deployment
|
# -- Assign custom [affinity] rules to the deployment
|
||||||
|
@ -648,15 +672,13 @@ controller:
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
# -- Assign custom [TopologySpreadConstraints] rules to the application controller
|
# -- Assign custom [TopologySpreadConstraints] rules to the application controller
|
||||||
|
# @default -- `[]` (defaults to global.topologySpreadConstraints)
|
||||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
# - maxSkew: 1
|
# - maxSkew: 1
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
# -- Priority class for the application controller pods
|
|
||||||
priorityClassName: ""
|
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# -- Create a service account for the application controller
|
# -- Create a service account for the application controller
|
||||||
|
@ -978,24 +1000,30 @@ dex:
|
||||||
# -- Service port for metrics access
|
# -- Service port for metrics access
|
||||||
servicePortMetrics: 5558
|
servicePortMetrics: 5558
|
||||||
|
|
||||||
|
# -- Priority class for the dex pods
|
||||||
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
|
priorityClassName: ""
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
# @default -- `[]` (defaults to global.tolerations)
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
# -- Assign custom [affinity] rules to the deployment
|
# -- Assign custom [affinity] rules to the deployment
|
||||||
# @default -- `{}` (defaults to global.affinity preset)
|
# @default -- `{}` (defaults to global.affinity preset)
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
# -- Assign custom [TopologySpreadConstraints] rules to dex
|
# -- Assign custom [TopologySpreadConstraints] rules to dex
|
||||||
|
# @default -- `[]` (defaults to global.topologySpreadConstraints)
|
||||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
# - maxSkew: 1
|
# - maxSkew: 1
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
# -- Priority class for dex
|
|
||||||
priorityClassName: ""
|
|
||||||
|
|
||||||
## Redis
|
## Redis
|
||||||
redis:
|
redis:
|
||||||
|
@ -1148,10 +1176,16 @@ redis:
|
||||||
# -- Redis service port
|
# -- Redis service port
|
||||||
servicePort: 6379
|
servicePort: 6379
|
||||||
|
|
||||||
|
# -- Priority class for redis pods
|
||||||
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
|
priorityClassName: ""
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
# @default -- `[]` (defaults to global.tolerations)
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
# -- Assign custom [affinity] rules to the deployment
|
# -- Assign custom [affinity] rules to the deployment
|
||||||
|
@ -1159,15 +1193,13 @@ redis:
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
# -- Assign custom [TopologySpreadConstraints] rules to redis
|
# -- Assign custom [TopologySpreadConstraints] rules to redis
|
||||||
|
# @default -- `[]` (defaults to global.topologySpreadConstraints)
|
||||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
# - maxSkew: 1
|
# - maxSkew: 1
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
# -- Priority class for redis
|
|
||||||
priorityClassName: ""
|
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# -- Create a service account for the redis pod
|
# -- Create a service account for the redis pod
|
||||||
|
@ -1538,24 +1570,30 @@ server:
|
||||||
# -- Number of seconds after which the [probe] times out
|
# -- Number of seconds after which the [probe] times out
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
|
||||||
|
# -- Priority class for the Argo CD server pods
|
||||||
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
|
priorityClassName: ""
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
# @default -- `[]` (defaults to global.tolerations)
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
# -- Assign custom [affinity] rules to the deployment
|
# -- Assign custom [affinity] rules to the deployment
|
||||||
# @default -- `{}` (defaults to global.affinity preset)
|
# @default -- `{}` (defaults to global.affinity preset)
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
# -- Assign custom [TopologySpreadConstraints] rules to the Argo CD server
|
# -- Assign custom [TopologySpreadConstraints] rules to the Argo CD server
|
||||||
|
# @default -- `[]` (defaults to global.topologySpreadConstraints)
|
||||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
# - maxSkew: 1
|
# - maxSkew: 1
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
# -- Priority class for the Argo CD server
|
|
||||||
priorityClassName: ""
|
|
||||||
|
|
||||||
# TLS certificate configuration via cert-manager
|
# TLS certificate configuration via cert-manager
|
||||||
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/tls/#tls-certificates-used-by-argocd-server
|
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/tls/#tls-certificates-used-by-argocd-server
|
||||||
|
@ -2031,22 +2069,28 @@ repoServer:
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
# @default -- `[]` (defaults to global.tolerations)
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
# -- Assign custom [affinity] rules to the deployment
|
# -- Assign custom [affinity] rules to the deployment
|
||||||
# @default -- `{}` (defaults to global.affinity preset)
|
# @default -- `{}` (defaults to global.affinity preset)
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
# -- Assign custom [TopologySpreadConstraints] rules to the repo server
|
# -- Assign custom [TopologySpreadConstraints] rules to the repo server
|
||||||
|
# @default -- `[]` (defaults to global.topologySpreadConstraints)
|
||||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
# - maxSkew: 1
|
# - maxSkew: 1
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
# -- Priority class for the repo server
|
# -- Priority class for the repo server pods
|
||||||
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
# TLS certificate configuration via Secret
|
# TLS certificate configuration via Secret
|
||||||
|
@ -2365,16 +2409,28 @@ applicationSet:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
# @default -- `[]` (defaults to global.tolerations)
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
# -- Assign custom [affinity] rules
|
# -- Assign custom [affinity] rules
|
||||||
# @default -- `{}` (defaults to global.affinity preset)
|
# @default -- `{}` (defaults to global.affinity preset)
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
# -- If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default.
|
# -- Assign custom [TopologySpreadConstraints] rules to the ApplicationSet controller
|
||||||
|
# @default -- `[]` (defaults to global.topologySpreadConstraints)
|
||||||
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
|
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
||||||
|
topologySpreadConstraints: []
|
||||||
|
# - maxSkew: 1
|
||||||
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
# -- Priority class for the ApplicationSet controller pods
|
||||||
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
## Webhook for the Git Generator
|
## Webhook for the Git Generator
|
||||||
|
@ -2611,16 +2667,28 @@ notifications:
|
||||||
- ALL
|
- ALL
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
# -- [Tolerations] for use with node taints
|
# -- [Tolerations] for use with node taints
|
||||||
|
# @default -- `[]` (defaults to global.tolerations)
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
# -- Assign custom [affinity] rules
|
# -- Assign custom [affinity] rules
|
||||||
# @default -- `{}` (defaults to global.affinity preset)
|
# @default -- `{}` (defaults to global.affinity preset)
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
# -- Assign custom [TopologySpreadConstraints] rules to the application controller
|
||||||
|
# @default -- `[]` (defaults to global.topologySpreadConstraints)
|
||||||
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
|
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
|
||||||
|
topologySpreadConstraints: []
|
||||||
|
# - maxSkew: 1
|
||||||
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
# -- Priority class for the notifications controller pods
|
# -- Priority class for the notifications controller pods
|
||||||
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
|
|
Loading…
Reference in New Issue