chore(argo-rollouts): Align to argo-cd's configuration

Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
yu-croco 2024-05-23 14:07:50 +09:00
parent ef645f3579
commit c2bade96dd
4 changed files with 5 additions and 8 deletions

View file

@ -51,6 +51,7 @@ For full list of changes please check ArtifactHub [changelog].
| fullnameOverride | string | `nil` | String to fully override "argo-rollouts.fullname" template | | fullnameOverride | string | `nil` | String to fully override "argo-rollouts.fullname" template |
| global.deploymentAnnotations | object | `{}` | Annotations for all deployed Deployments | | global.deploymentAnnotations | object | `{}` | Annotations for all deployed Deployments |
| global.deploymentLabels | object | `{}` | Labels for all deployed Deployments | | global.deploymentLabels | object | `{}` | Labels for all deployed Deployments |
| global.revisionHistoryLimit | int | `10` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
| imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Registry secret names as an array. | | imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Registry secret names as an array. |
| installCRDs | bool | `true` | Install and upgrade CRDs | | installCRDs | bool | `true` | Install and upgrade CRDs |
| keepCRDs | bool | `true` | Keep CRD's on helm uninstall | | keepCRDs | bool | `true` | Keep CRD's on helm uninstall |
@ -121,7 +122,6 @@ For full list of changes please check ArtifactHub [changelog].
| controller.readinessProbe | object | See [values.yaml] | Configure readiness [probe] for the controller | | controller.readinessProbe | object | See [values.yaml] | Configure readiness [probe] for the controller |
| controller.replicas | int | `2` | The number of controller pods to run | | controller.replicas | int | `2` | The number of controller pods to run |
| controller.resources | object | `{}` | Resource limits and requests for the controller pods. | | controller.resources | object | `{}` | Resource limits and requests for the controller pods. |
| controller.revisionHistoryLimit | int | `10` | The number of revisions to keep |
| controller.tolerations | list | `[]` | [Tolerations] for use with node taints | | controller.tolerations | list | `[]` | [Tolerations] for use with node taints |
| controller.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the controller | | controller.topologySpreadConstraints | list | `[]` | Assign custom [TopologySpreadConstraints] rules to the controller |
| controller.trafficRouterPlugins | object | `{}` | Configures 3rd party traffic router plugins for controller | | controller.trafficRouterPlugins | object | `{}` | Configures 3rd party traffic router plugins for controller |
@ -176,7 +176,6 @@ For full list of changes please check ArtifactHub [changelog].
| dashboard.readonly | bool | `false` | Set cluster role to readonly | | dashboard.readonly | bool | `false` | Set cluster role to readonly |
| dashboard.replicas | int | `1` | The number of dashboard pods to run | | dashboard.replicas | int | `1` | The number of dashboard pods to run |
| dashboard.resources | object | `{}` | Resource limits and requests for the dashboard pods. | | dashboard.resources | object | `{}` | Resource limits and requests for the dashboard pods. |
| dashboard.revisionHistoryLimit | int | `10` | The number of revisions to keep |
| dashboard.service.annotations | object | `{}` | Service annotations | | dashboard.service.annotations | object | `{}` | Service annotations |
| dashboard.service.externalIPs | list | `[]` | Dashboard service external IPs | | dashboard.service.externalIPs | list | `[]` | Dashboard service external IPs |
| dashboard.service.labels | object | `{}` | Service labels | | dashboard.service.labels | object | `{}` | Service labels |

View file

@ -23,7 +23,7 @@ spec:
strategy: strategy:
type: Recreate type: Recreate
replicas: {{ .Values.controller.replicas }} replicas: {{ .Values.controller.replicas }}
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }} revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
template: template:
metadata: metadata:
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.controller.podAnnotations) }}

View file

@ -24,7 +24,7 @@ spec:
strategy: strategy:
type: Recreate type: Recreate
replicas: {{ .Values.dashboard.replicas }} replicas: {{ .Values.dashboard.replicas }}
revisionHistoryLimit: {{ .Values.dashboard.revisionHistoryLimit }} revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
template: template:
metadata: metadata:
{{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.dashboard.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.podAnnotations) .Values.dashboard.podAnnotations) }}

View file

@ -43,6 +43,8 @@ global:
deploymentAnnotations: {} deploymentAnnotations: {}
# -- Labels for all deployed Deployments # -- Labels for all deployed Deployments
deploymentLabels: {} deploymentLabels: {}
# -- Number of old deployment ReplicaSets to retain. The rest will be garbage collected.
revisionHistoryLimit: 10
controller: controller:
# -- Value of label `app.kubernetes.io/component` # -- Value of label `app.kubernetes.io/component`
@ -90,8 +92,6 @@ controller:
tag: "" tag: ""
# -- Image pull policy # -- Image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# -- The number of revisions to keep
revisionHistoryLimit: 10
# -- Additional command line arguments to pass to rollouts-controller. A list of flags. # -- Additional command line arguments to pass to rollouts-controller. A list of flags.
extraArgs: [] extraArgs: []
@ -338,8 +338,6 @@ dashboard:
tag: "" tag: ""
# -- Image pull policy # -- Image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# -- The number of revisions to keep
revisionHistoryLimit: 10
# -- Additional command line arguments to pass to rollouts-dashboard. A list of flags. # -- Additional command line arguments to pass to rollouts-dashboard. A list of flags.
extraArgs: [] extraArgs: []
# -- Additional environment variables for rollouts-dashboard. A list of name/value maps. # -- Additional environment variables for rollouts-dashboard. A list of name/value maps.