Skip to content

Commit

Permalink
Merge pull request #204 from sheril5/main
Browse files Browse the repository at this point in the history
enabled argocd servicemonitor
  • Loading branch information
jebjohns authored Mar 22, 2024
2 parents ba73f17 + b7b9cd6 commit 5a34f04
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 22 deletions.
2 changes: 1 addition & 1 deletion charts/argo-cd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ name: argo-cd
sources:
- https://github.com/argoproj/argo-helm/tree/main/charts/argo-cd
- https://github.com/argoproj/argo-cd
version: 1.0.2
version: 1.0.3
79 changes: 58 additions & 21 deletions charts/argo-cd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ createAggregateRoles: false
## Used when you manage applications in the same cluster where Argo CD runs
createClusterRoles: true

clustername: capten-controlplane

openshift:
# -- enables using arbitrary uid for argo repo server
enabled: false
Expand Down Expand Up @@ -788,7 +790,7 @@ controller:
## Application controller metrics configuration
metrics:
# -- Deploy metrics service
enabled: false
enabled: true
applicationLabels:
# -- Enables additional labels in argocd_app_labels metric
enabled: false
Expand All @@ -809,13 +811,18 @@ controller:
portName: http-metrics
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
enabled: true
# -- Prometheus ServiceMonitor interval
interval: 30s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
metricRelabelings:
- action: replace
regex: .*
replacement: capten-controlplane
separator: ;
targetLabel: cluster_name
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
Expand Down Expand Up @@ -891,7 +898,7 @@ dex:

metrics:
# -- Deploy metrics service
enabled: false
enabled: true
service:
# -- Metrics service annotations
annotations: {}
Expand All @@ -901,13 +908,18 @@ dex:
portName: http-metrics
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
enabled: true
# -- Prometheus ServiceMonitor interval
interval: 30s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
metricRelabelings:
- action: replace
regex: .*
replacement: capten-controlplane
separator: ;
targetLabel: cluster_name
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
Expand Down Expand Up @@ -1354,7 +1366,7 @@ redis:

metrics:
# -- Deploy metrics service
enabled: false
enabled: true

# Redis metrics service configuration
service:
Expand All @@ -1373,13 +1385,18 @@ redis:

serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
enabled: true
# -- Interval at which metrics should be scraped
interval: 30s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
metricRelabelings:
- action: replace
regex: .*
replacement: capten-controlplane
separator: ;
targetLabel: cluster_name
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
Expand Down Expand Up @@ -1870,7 +1887,7 @@ server:
## Server metrics service configuration
metrics:
# -- Deploy metrics service
enabled: false
enabled: true
service:
# -- Metrics service type
type: ClusterIP
Expand All @@ -1886,13 +1903,18 @@ server:
portName: http-metrics
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
enabled: true
# -- Prometheus ServiceMonitor interval
interval: 30s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
metricRelabelings:
- action: replace
regex: .*
replacement: capten-controlplane
separator: ;
targetLabel: cluster_name
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
Expand Down Expand Up @@ -2353,7 +2375,7 @@ repoServer:
## Repo server metrics service configuration
metrics:
# -- Deploy metrics service
enabled: false
enabled: true
service:
# -- Metrics service type
type: ClusterIP
Expand All @@ -2369,13 +2391,18 @@ repoServer:
portName: http-metrics
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
enabled: true
# -- Prometheus ServiceMonitor interval
interval: 30s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
metricRelabelings:
- action: replace
regex: .*
replacement: capten-controlplane
separator: ;
targetLabel: cluster_name
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
Expand Down Expand Up @@ -2510,7 +2537,7 @@ applicationSet:
## Metrics service configuration
metrics:
# -- Deploy metrics service
enabled: false
enabled: true
service:
# -- Metrics service type
type: ClusterIP
Expand All @@ -2526,13 +2553,18 @@ applicationSet:
portName: http-metrics
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
enabled: true
# -- Prometheus ServiceMonitor interval
interval: 30s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
metricRelabelings:
- action: replace
regex: .*
replacement: capten-controlplane
separator: ;
targetLabel: cluster_name
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
Expand Down Expand Up @@ -2880,7 +2912,7 @@ notifications:

metrics:
# -- Enables prometheus metrics server
enabled: false
enabled: true
# -- Metrics port
port: 9001
service:
Expand All @@ -2896,7 +2928,7 @@ notifications:
portName: http-metrics
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
enabled: true
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
Expand All @@ -2914,7 +2946,12 @@ notifications:
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
metricRelabelings:
- action: replace
regex: .*
replacement: capten-controlplane
separator: ;
targetLabel: cluster_name

# -- Configures notification services such as slack, email or custom webhook
# @default -- See [values.yaml]
Expand Down

0 comments on commit 5a34f04

Please sign in to comment.