feat(argocd-applicationset): Add resources metrics-service and servicemonitor. (#1041)

* [argocd-applicationset]: Add metrics-service and servicemonitor to applicationset.

Signed-off-by: fuyuan.chu <fuyuan.chu@airwallex.com>

* [argocd-applicationset]: Add ci values for servicemonitor.

Signed-off-by: fuyuan.chu <fuyuan.chu@airwallex.com>

* format indent

Signed-off-by: fuyuan.chu <fuyuan.chu@airwallex.com>

* update helm docs

Signed-off-by: fuyuan.chu <fuyuan.chu@airwallex.com>

* update ci values

Signed-off-by: fuyuan.chu <fuyuan.chu@airwallex.com>

* update ci values

Signed-off-by: fuyuan.chu <fuyuan.chu@airwallex.com>

* chore: Use consistent indents and file ending

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

* Also disable mounts of ArgoCD during metrics test

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:
FuyuanChu 2021-12-09 22:56:32 +08:00 committed by GitHub
parent 60693bb289
commit 817652a449
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 115 additions and 3 deletions

View file

@ -73,6 +73,17 @@ kubectl apply -k https://github.com/argoproj-labs/applicationset.git/manifests/c
| image.repository | string | `"quay.io/argoproj/argocd-applicationset"` | The image repository |
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | If defined, uses a Secret to pull an image from a private Docker registry or repository. |
| metrics.enabled | bool | `false` | Deploy metrics service |
| metrics.service.annotations | object | `{}` | Metrics service annotations |
| metrics.service.labels | object | `{}` | Metrics service labels |
| metrics.service.servicePort | int | `8085` | Metrics service port |
| metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
| metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
| metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
| metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
| metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
| metrics.serviceMonitor.relabelings | list | `[]` | Prometheus [RelabelConfigs] to apply to samples before scraping |
| metrics.serviceMonitor.selector | object | `{}` | Prometheus ServiceMonitor selector |
| mountGPGKeyringVolume | bool | `true` | Mount an emptyDir volume for `gpg-keyring` |
| mountGPGKeysVolume | bool | `false` | Mount the `argocd-gpg-keys-cm` volume |
| mountSSHKnownHostsVolume | bool | `true` | Mount the `argocd-ssh-known-hosts-cm` volume |