Skip to content

Commit 5af328c

Browse files
committed
USHIFT-6951: Add standalone cluster-monitoring-operator rebase script
1 parent 04105d2 commit 5af328c

4 files changed

Lines changed: 413 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
assets:
2+
- dir: optional/node-exporter/
3+
no_clean: True
4+
src: cluster-monitoring-operator/assets/node-exporter/
5+
files:
6+
- file: 00-namespace.yaml
7+
ignore: "MicroShift-specific, no upstream equivalent"
8+
git_restore: True
9+
- file: 01-cluster-role.yaml
10+
src: cluster-role.yaml
11+
- file: 01-cluster-role-binding.yaml
12+
src: cluster-role-binding.yaml
13+
- file: 01-service-account.yaml
14+
src: service-account.yaml
15+
- file: 01-security-context-constraints.yaml
16+
src: security-context-constraints.yaml
17+
- file: 02-accelerators-collector-configmap.yaml
18+
src: accelerators-collector-configmap.yaml
19+
- file: 02-kube-rbac-proxy-secret.yaml
20+
src: kube-rbac-proxy-secret.yaml
21+
- file: 03-daemonset.yaml
22+
src: daemonset.yaml
23+
- file: 04-service.yaml
24+
src: service.yaml
25+
- file: kustomization.yaml
26+
ignore: "MicroShift-specific kustomization"
27+
git_restore: True
28+
- file: kustomization.x86_64.yaml
29+
ignore: "gets generated during image rebase"
30+
- file: kustomization.aarch64.yaml
31+
ignore: "gets generated during image rebase"
32+
- file: release-node-exporter-x86_64.json
33+
ignore: "gets generated during image rebase"
34+
- file: release-node-exporter-aarch64.json
35+
ignore: "gets generated during image rebase"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash -x
2+
./scripts/auto-rebase/rebase_cluster_monitoring_operator.sh to "registry.ci.openshift.org/ocp/release-5:5.0.0-0.nightly-2026-06-19-155631" "registry.ci.openshift.org/ocp-arm64/release-5-arm64:5.0.0-0.nightly-arm64-2026-06-19-154904"

scripts/auto-rebase/presubmit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"./scripts/auto-rebase/assets_ai_model_serving.yaml",
3030
"./scripts/auto-rebase/assets_cert_manager.yaml",
3131
"./scripts/auto-rebase/assets_sriov.yaml",
32+
"./scripts/auto-rebase/assets_cluster_monitoring_operator.yaml",
3233
]
3334

3435

0 commit comments

Comments
 (0)