Skip to content

Commit

Permalink
feat(nostromo): add a podmonitor to the cnpg operator
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Görn <[email protected]>
  • Loading branch information
goern committed Sep 17, 2024
1 parent 3269b15 commit 28094fc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- image-catalog.yaml
- namespace.yaml
- operator-group.yaml
- pod-monitor.yaml
- subscription.yaml
- image-catalog.yaml
10 changes: 10 additions & 0 deletions manifests/components/operators/cloudnative-pg/pod-monitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: cnpg-controller-manager
spec:
selector:
matchLabels:
app.kubernetes.io/name: cloudnative-pg
podMetricsEndpoints:
- port: metrics

0 comments on commit 28094fc

Please sign in to comment.