feat(argo-rollouts): Add replicas option to dashboard (#1286)

* feat(argo-rollouts): Add replicas option to dashboard

Signed-off-by: Vlad Voloshyn <vladvoloshyn12@gmail.com>

* Update README

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Vlad Voloshyn 2022-05-23 08:05:11 +03:00 committed by GitHub
parent 0682a7e8ee
commit c7b3331d7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "v1.2.0"
description: A Helm chart for Argo Rollouts
name: argo-rollouts
version: 2.14.0
version: 2.14.1
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
home: https://github.com/argoproj/argo-helm
maintainers:
@ -11,4 +11,4 @@ maintainers:
- name: jessesuen
annotations:
artifacthub.io/changes: |
- "[Added]: ability to define priorityClassName for the controller and dashboard"
- "[Added]: option to set dashboard replicas count"

View file

@ -111,6 +111,7 @@ If dashboard is installed by `--set dashboard.enabled=true`, checkout the argo-r
| dashboard.nodeSelector | object | `{}` | [Node selector] |
| dashboard.podSecurityContext | object | `{"runAsNonRoot":true}` | Security Context to set on pod level |
| dashboard.priorityClassName | string | `""` | [priorityClassName] for the dashboard server |
| dashboard.replicas | int | `1` | The number of dashboard pods to run |
| dashboard.resources | object | `{}` | Resource limits and requests for the dashboard pods. |
| dashboard.service.annotations | object | `{}` | Service annotations |
| dashboard.service.externalIPs | list | `[]` | Dashboard service external IPs |
@ -156,4 +157,4 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
[priorityClassName]: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
[values.yaml]: https://github.com/argoproj/argo-helm/blob/argo-rollouts-2.14.0/charts/argo-rollouts/values.yaml
[values.yaml]: https://github.com/argoproj/argo-helm/blob/argo-rollouts-2.14.1/charts/argo-rollouts/values.yaml

View file

@ -13,6 +13,7 @@ spec:
app.kubernetes.io/component: {{ .Values.dashboard.component }}
strategy:
type: Recreate
replicas: {{ .Values.dashboard.replicas }}
template:
metadata:
{{- with .Values.podAnnotations }}
@ -63,4 +64,4 @@ spec:
{{- with .Values.dashboard.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- end }}
{{- end }}

View file

@ -148,6 +148,8 @@ dashboard:
affinity: {}
# -- [priorityClassName] for the dashboard server
priorityClassName: ""
# -- The number of dashboard pods to run
replicas: 1
image:
# -- Registry to use
registry: quay.io