diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 45908bad..37ca3d54 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.3.4 description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 4.7.0 +version: 4.8.0 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png keywords: @@ -21,4 +21,4 @@ dependencies: condition: redis-ha.enabled annotations: artifacthub.io/changes: | - - "[Changed]: Updated redis-ha dependency chart to 4.16.0" + - "[Changed]: Can specify log format for Argo-CD Notifications component" diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index 7abb37c9..9adade21 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -812,6 +812,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide | notifications.image.repository | string | `""` (defaults to global.image.repository) | Repository to use for the notifications controller | | notifications.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the notifications controller | | notifications.imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry | +| notifications.logFormat | string | `"text"` | Application controller log format. Either `text` or `json` | | notifications.logLevel | string | `"info"` | Set the logging level. (One of: `debug`, `info`, `warn`, `error`) | | notifications.metrics.enabled | bool | `false` | Enables prometheus metrics server | | notifications.metrics.port | int | `9001` | Metrics port | diff --git a/charts/argo-cd/templates/argocd-notifications/deployment.yaml b/charts/argo-cd/templates/argocd-notifications/deployment.yaml index b2594a59..f394f82b 100644 --- a/charts/argo-cd/templates/argocd-notifications/deployment.yaml +++ b/charts/argo-cd/templates/argocd-notifications/deployment.yaml @@ -42,6 +42,7 @@ spec: command: - argocd-notifications - --loglevel={{ .Values.notifications.logLevel }} + - --logformat={{ .Values.notifications.logFormat }} {{- if .Values.notifications.metrics.enabled }} - --metrics-port={{ .Values.notifications.metrics.port }} {{- end }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 19bde24a..27c67d36 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -2218,6 +2218,8 @@ notifications: # -- Set the logging level. (One of: `debug`, `info`, `warn`, `error`) logLevel: info + # -- Application controller log format. Either `text` or `json` + logFormat: text # -- Extra arguments to provide to the controller extraArgs: []