feat(argo-cd): Add log settings and extraArgs to Slack bot (#1802)
* Add log settings and extraArgs to Slack bot Signed-off-by: duxet <duxetlg@gmail.com> * Fix readme Signed-off-by: duxet <duxetlg@gmail.com> --------- Signed-off-by: duxet <duxetlg@gmail.com>
This commit is contained in:
parent
5335a75fbc
commit
36cd83081c
4 changed files with 20 additions and 4 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.5.8
|
|||
kubeVersion: ">=1.22.0-0"
|
||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 5.19.8
|
||||
version: 5.19.9
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
sources:
|
||||
|
@ -23,6 +23,4 @@ dependencies:
|
|||
condition: redis-ha.enabled
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- "[Changed]: Disable Redis exporter by default"
|
||||
- "[Changed]: Use bitnami Redis exporter image for redis-ha"
|
||||
- "[Docs]: Fixed defaults for Redis exporter"
|
||||
- "[Added]: Added logFormat, logLevel and extraArgs to Slack bot"
|
||||
|
|
|
@ -1054,10 +1054,13 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
|||
| notifications.bots.slack.affinity | object | `{}` | Assign custom [affinity] rules |
|
||||
| notifications.bots.slack.containerSecurityContext | object | See [values.yaml] | Slack bot container-level security Context |
|
||||
| notifications.bots.slack.enabled | bool | `false` | Enable slack bot |
|
||||
| notifications.bots.slack.extraArgs | list | `[]` | List of extra cli args to add for Slack bot |
|
||||
| notifications.bots.slack.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the Slack bot |
|
||||
| notifications.bots.slack.image.repository | string | `""` (defaults to global.image.repository) | Repository to use for the Slack bot |
|
||||
| notifications.bots.slack.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the Slack bot |
|
||||
| notifications.bots.slack.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
||||
| notifications.bots.slack.logFormat | string | `""` (defaults to global.logging.format) | Slack bot log format. Either `text` or `json` |
|
||||
| notifications.bots.slack.logLevel | string | `""` (defaults to global.logging.level) | Slack bot log level. One of: `debug`, `info`, `warn`, `error` |
|
||||
| notifications.bots.slack.nodeSelector | object | `{}` | [Node selector] |
|
||||
| notifications.bots.slack.pdb.annotations | object | `{}` | Annotations to be added to Slack bot pdb |
|
||||
| notifications.bots.slack.pdb.enabled | bool | `false` | Deploy a [PodDisruptionBudget] for the Slack bot |
|
||||
|
|
|
@ -40,6 +40,11 @@ spec:
|
|||
command:
|
||||
- argocd-notifications
|
||||
- bot
|
||||
- --loglevel={{ default .Values.global.logging.level .Values.notifications.bots.slack.logLevel }}
|
||||
- --logformat={{ default .Values.global.logging.format .Values.notifications.bots.slack.logFormat }}
|
||||
{{- range .Values.notifications.bots.slack.extraArgs }}
|
||||
- {{ . | squote }}
|
||||
{{- end }}
|
||||
workingDir: /app
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
|
@ -2881,6 +2881,16 @@ notifications:
|
|||
# @default -- `[]` (defaults to global.imagePullSecrets)
|
||||
imagePullSecrets: []
|
||||
|
||||
# -- Slack bot log format. Either `text` or `json`
|
||||
# @default -- `""` (defaults to global.logging.format)
|
||||
logFormat: ""
|
||||
# -- Slack bot log level. One of: `debug`, `info`, `warn`, `error`
|
||||
# @default -- `""` (defaults to global.logging.level)
|
||||
logLevel: ""
|
||||
|
||||
# -- List of extra cli args to add for Slack bot
|
||||
extraArgs: []
|
||||
|
||||
service:
|
||||
# -- Service annotations for Slack bot
|
||||
annotations: {}
|
||||
|
|
Loading…
Reference in a new issue