Skip to content

Commit 9b766fc

Browse files
pratap0007tekton-robot
authored andcommitted
Add ServiceMonitor for tekton-pipelines-webhook
Signed-off-by: Shiv Verma <[email protected]>
1 parent 6696525 commit 9b766fc

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
# Copyright 2025 The Tekton Authors
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
apiVersion: monitoring.coreos.com/v1
17+
kind: ServiceMonitor
18+
metadata:
19+
labels:
20+
app: webhook
21+
annotations:
22+
networkoperator.openshift.io/ignore-errors: ""
23+
name: openshift-pipelines-webhook-monitor
24+
namespace: tekton-pipelines
25+
spec:
26+
endpoints:
27+
- interval: 10s
28+
port: http-metrics
29+
jobLabel: app
30+
namespaceSelector:
31+
matchNames:
32+
- openshift-pipelines
33+
selector:
34+
matchLabels:
35+
app: tekton-pipelines-webhook

0 commit comments

Comments
 (0)