fix(argo-cd): ArgoCD application controller - metrics application labels (#1167)

* application controller metrics application labels changed from map to list.
Updated templating to set the correct arguments.

Signed-off-by: Aaron Jones <aaron.jones@fundingcircle.com>

* bring 'metrics-application-labels' outside of range block

Signed-off-by: Aaron Jones <aaron.jones@fundingcircle.com>

* Revert "bring 'metrics-application-labels' outside of range block"

This reverts commit c245db6d31bf06b681e224d3c9d75bb6b2ff16e0.

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:
Aaron Jones 2022-03-12 18:59:04 +00:00 committed by GitHub
parent 8b26bed62f
commit dde043a055
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -263,7 +263,7 @@ NAME: my-release
| controller.logFormat | string | `"text"` | Application controller log format. Either `text` or `json` |
| controller.logLevel | string | `"info"` | Application controller log level |
| controller.metrics.applicationLabels.enabled | bool | `false` | Enables additional labels in argocd_app_labels metric |
| controller.metrics.applicationLabels.labels | object | `{}` | Additional labels |
| controller.metrics.applicationLabels.labels | list | `[]` | Additional labels |
| controller.metrics.enabled | bool | `false` | Deploy metrics service |
| controller.metrics.rules.enabled | bool | `false` | Deploy a PrometheusRule for the application controller |
| controller.metrics.rules.spec | list | `[]` | PrometheusRule.Spec for the application controller |