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

@ -31,6 +31,35 @@ args:
# -- Enable dry run mode
dryRun: false
## Metrics service configuration
metrics:
# -- Deploy metrics service
enabled: false
service:
# -- Metrics service annotations
annotations: {}
# -- Metrics service labels
labels: {}
# -- Metrics service port
servicePort: 8085
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
# -- Prometheus ServiceMonitor interval
interval: 30s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
# -- Prometheus ServiceMonitor namespace
namespace: "" # monitoring
# -- Prometheus ServiceMonitor labels
additionalLabels: {}
# -- If defined, uses a Secret to pull an image from a private Docker registry or repository.
imagePullSecrets: []
# -- Provide a name in place of `argocd-applicationset`