File tree Expand file tree Collapse file tree 3 files changed +30
-4
lines changed
operator/gitops/argocd/pipeline-service/openshift-pipelines Expand file tree Collapse file tree 3 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 14
14
protocol : TCP
15
15
targetPort : 9090
16
16
selector :
17
- app.kubernetes.io/name : controller
18
- app.kubernetes.io/component : controller
19
- app.kubernetes.io/instance : default
20
- app.kubernetes.io/part-of : tekton-chains
17
+ app : tekton-chains-controller
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : monitoring.coreos.com/v1
3
+ kind : ServiceMonitor
4
+ metadata :
5
+ name : tekton-chains-controller
6
+ namespace : openshift-pipelines
7
+ annotations :
8
+ argocd.argoproj.io/sync-wave : " 1"
9
+ spec :
10
+ endpoints :
11
+ - path : /metrics
12
+ port : metrics
13
+ scheme : http
14
+ selector :
15
+ matchLabels :
16
+ app : tekton-chains-controller
Original file line number Diff line number Diff line change @@ -7,5 +7,18 @@ resources:
7
7
- openshift-operator.yaml
8
8
- tekton-config.yaml
9
9
- config-logging.yaml
10
+ - chains-service-monitor.yaml
10
11
# Manully add ConfigMap and Service until PLNSRVCE-1359 is fixed
11
12
- chains-observability-service.yaml
13
+
14
+ # # add a patch to add app label to the tekton chains deployment
15
+ patches :
16
+ - target :
17
+ kind : Deployment
18
+ name : tekton-chains-controller
19
+ namespace : openshift-pipelines
20
+ patch : |-
21
+ - op: add
22
+ path: /metadata/labels
23
+ value:
24
+ app: tekton-chains-controller
You can’t perform that action at this time.
0 commit comments