feat(argo-rollouts): add args for dashboard logs (#2388)
This commit is contained in:
parent
7f1b25402b
commit
f9e2a94bb6
4 changed files with 12 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.6.4
|
appVersion: v1.6.4
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.33.0
|
version: 2.34.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -19,4 +19,4 @@ annotations:
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Allow setting log config for rollouts
|
description: Allow setting log config for rollouts dashboard
|
||||||
|
|
|
@ -153,6 +153,8 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
| dashboard.ingress.pathType | string | `"Prefix"` | Dashboard ingress path type |
|
| dashboard.ingress.pathType | string | `"Prefix"` | Dashboard ingress path type |
|
||||||
| dashboard.ingress.paths | list | `["/"]` | Dashboard ingress paths |
|
| dashboard.ingress.paths | list | `["/"]` | Dashboard ingress paths |
|
||||||
| dashboard.ingress.tls | list | `[]` | Dashboard ingress tls |
|
| dashboard.ingress.tls | list | `[]` | Dashboard ingress tls |
|
||||||
|
| dashboard.logging.kloglevel | string | `"0"` | Set the klog logging level |
|
||||||
|
| dashboard.logging.level | string | `"info"` | Set the logging level (one of: `debug`, `info`, `warn`, `error`) |
|
||||||
| dashboard.nodeSelector | object | `{}` | [Node selector] |
|
| dashboard.nodeSelector | object | `{}` | [Node selector] |
|
||||||
| dashboard.pdb.annotations | object | `{}` | Annotations to be added to dashboard [Pod Disruption Budget] |
|
| dashboard.pdb.annotations | object | `{}` | Annotations to be added to dashboard [Pod Disruption Budget] |
|
||||||
| dashboard.pdb.enabled | bool | `false` | Deploy a [Pod Disruption Budget] for the dashboard |
|
| dashboard.pdb.enabled | bool | `false` | Deploy a [Pod Disruption Budget] for the dashboard |
|
||||||
|
|
|
@ -45,6 +45,9 @@ spec:
|
||||||
- image: "{{ .Values.dashboard.image.registry }}/{{ .Values.dashboard.image.repository }}:{{ default .Chart.AppVersion .Values.dashboard.image.tag }}"
|
- image: "{{ .Values.dashboard.image.registry }}/{{ .Values.dashboard.image.repository }}:{{ default .Chart.AppVersion .Values.dashboard.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.dashboard.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.dashboard.image.pullPolicy }}
|
||||||
args:
|
args:
|
||||||
|
- dashboard
|
||||||
|
- "--loglevel={{ .Values.dashboard.logging.level }}"
|
||||||
|
- "--kloglevel={{ .Values.dashboard.logging.kloglevel }}"
|
||||||
{{- with .Values.dashboard.extraArgs }}
|
{{- with .Values.dashboard.extraArgs }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -289,6 +289,11 @@ dashboard:
|
||||||
tolerations: []
|
tolerations: []
|
||||||
# -- Assign custom [affinity] rules to the deployment
|
# -- Assign custom [affinity] rules to the deployment
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
logging:
|
||||||
|
# -- Set the logging level (one of: `debug`, `info`, `warn`, `error`)
|
||||||
|
level: info
|
||||||
|
# -- Set the klog logging level
|
||||||
|
kloglevel: "0"
|
||||||
|
|
||||||
# -- Assign custom [TopologySpreadConstraints] rules to the dashboard server
|
# -- Assign custom [TopologySpreadConstraints] rules to the dashboard server
|
||||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||||
|
|
Loading…
Reference in a new issue