Skip to content

Commit 518bd8a

Browse files
authored
feat: Manage prometheus resources (#2117)
* feat: Manage prometheus resources Signed-off-by: Anatolii Bazko <abazko@redhat.com>
1 parent cb1565d commit 518bd8a

102 files changed

Lines changed: 12280 additions & 247 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api/v1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v2/checluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright (c) 2019-2023 Red Hat, Inc.
2+
// Copyright (c) 2019-2026 Red Hat, Inc.
33
// This program and the accompanying materials are made
44
// available under the terms of the Eclipse Public License 2.0
55
// which is available at https://www.eclipse.org/legal/epl-2.0/

api/v2/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/scripts/clear-defined-test.sh

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,15 @@ declare -A ignored_paths=(
140140
["go.podman.io/storage"]="Harvesting is in progress"
141141
["golang.org/x/tools/go/packages/packagestest"]="Harvesting is in progress"
142142
["google.golang.org/genproto"]="Harvesting is in progress"
143-
["k8s.io/api"]="Harvesting is in progress"
144143
["k8s.io/apiextensions-apiserver"]="Harvesting is in progress"
145-
["k8s.io/apimachinery"]="Harvesting is in progress"
146144
["k8s.io/apiserver"]="Harvesting is in progress"
147-
["k8s.io/client-go"]="Harvesting is in progress"
148145
["k8s.io/code-generator"]="Harvesting is in progress"
149146
["k8s.io/component-base"]="Harvesting is in progress"
150147
["k8s.io/kms"]="Harvesting is in progress"
151148
["k8s.io/kube-aggregator"]="Harvesting is in progress"
152-
["k8s.io/utils"]="Harvesting is in progress"
149+
["k8s.io/kube-openapi"]="Harvesting is in progress"
153150
["sigs.k8s.io/controller-tools"]="Harvesting is in progress"
151+
["github.com/prometheus-operator/prometheus-operator"]="Harvesting is in progress"
154152
)
155153

156154
declare -A ignored_paths_licenses=(
@@ -190,16 +188,10 @@ declare -A ignored_paths_licenses=(
190188
["golang.org/x/tools/go/packages/packagestest"]="BSD-3-Clause"
191189
# https://github.com/googleapis/go-genproto?tab=Apache-2.0-1-ov-file
192190
["google.golang.org/genproto"]="Apache-2.0"
193-
# https://github.com/kubernetes/api?tab=Apache-2.0-1-ov-file
194-
["k8s.io/api"]="Apache-2.0"
195191
# https://github.com/kubernetes/apiextensions-apiserver?tab=Apache-2.0-1-ov-file
196192
["k8s.io/apiextensions-apiserver"]="Apache-2.0"
197-
# https://github.com/kubernetes/apimachinery?tab=Apache-2.0-1-ov-file
198-
["k8s.io/apimachinery"]="Apache-2.0"
199193
# https://github.com/kubernetes/apiserver?tab=Apache-2.0-1-ov-file
200194
["k8s.io/apiserver"]="Apache-2.0"
201-
# https://github.com/kubernetes/client-go?tab=Apache-2.0-1-ov-file
202-
["k8s.io/client-go"]="Apache-2.0"
203195
# https://github.com/kubernetes/code-generator?tab=Apache-2.0-1-ov-file
204196
["k8s.io/code-generator"]="Apache-2.0"
205197
# https://github.com/kubernetes/component-base?tab=Apache-2.0-1-ov-file
@@ -208,10 +200,12 @@ declare -A ignored_paths_licenses=(
208200
["k8s.io/kms"]="Apache-2.0"
209201
# https://github.com/kubernetes/kube-aggregator?tab=Apache-2.0-1-ov-file
210202
["k8s.io/kube-aggregator"]="Apache-2.0"
211-
# https://github.com/kubernetes/utils?tab=Apache-2.0-1-ov-file
212-
["k8s.io/utils"]="Apache-2.0"
203+
# https://github.com/kubernetes/kube-openapi?tab=Apache-2.0-1-ov-file
204+
["k8s.io/kube-openapi"]="Apache-2.0"
213205
# https://github.com/kubernetes-sigs/controller-tools?tab=Apache-2.0-1-ov-file
214206
["sigs.k8s.io/controller-tools"]="Apache-2.0"
207+
# https://github.com/prometheus-operator/prometheus-operator?tab=Apache-2.0-1-ov-file
208+
["github.com/prometheus-operator/prometheus-operator"]="Apache-2.0"
215209
)
216210

217211
declare -A declared_licenses=(

build/scripts/docker-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2019-2023 Red Hat, Inc.
3+
# Copyright (c) 2019-2026 Red Hat, Inc.
44
# This program and the accompanying materials are made
55
# available under the terms of the Eclipse Public License 2.0
66
# which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -29,7 +29,7 @@ init() {
2929
build() {
3030
printf "%bBuilding image %b${IMAGE_NAME}${NC}..." "${BOLD}" "${BLUE}"
3131
if docker build -t ${IMAGE_NAME} > docker-build-log 2>&1 -<<EOF
32-
FROM docker.io/golang:1.24-bookworm
32+
FROM docker.io/golang:1.25-bookworm
3333
RUN apt update && apt install python3-pip skopeo jq rsync unzip -y && \
3434
pip install --break-system-packages yq && \
3535
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \

bundle/next/eclipse-che/bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2019-2024 Red Hat, Inc.
2+
# Copyright (c) 2019-2026 Red Hat, Inc.
33
# This program and the accompanying materials are made
44
# available under the terms of the Eclipse Public License 2.0
55
# which is available at https://www.eclipse.org/legal/epl-2.0/

bundle/next/eclipse-che/manifests/che-operator-service_v1_service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2019-2024 Red Hat, Inc.
2+
# Copyright (c) 2019-2026 Red Hat, Inc.
33
# This program and the accompanying materials are made
44
# available under the terms of the Eclipse Public License 2.0
55
# which is available at https://www.eclipse.org/legal/epl-2.0/

bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2019-2024 Red Hat, Inc.
2+
# Copyright (c) 2019-2026 Red Hat, Inc.
33
# This program and the accompanying materials are made
44
# available under the terms of the Eclipse Public License 2.0
55
# which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -86,7 +86,7 @@ metadata:
8686
categories: Developer Tools
8787
certified: "false"
8888
containerImage: quay.io/eclipse/che-operator:next
89-
createdAt: "2026-04-30T14:29:49Z"
89+
createdAt: "2026-05-15T10:45:47Z"
9090
description: A Kube-native development solution that delivers portable and collaborative
9191
developer workspaces.
9292
features.operators.openshift.io/cnf: "false"
@@ -108,7 +108,7 @@ metadata:
108108
operatorframework.io/arch.amd64: supported
109109
operatorframework.io/arch.arm64: supported
110110
operatorframework.io/os.linux: supported
111-
name: eclipse-che.v7.117.0-975.next
111+
name: eclipse-che.v7.118.0-980.next
112112
namespace: placeholder
113113
spec:
114114
apiservicedefinitions: {}
@@ -644,6 +644,7 @@ spec:
644644
- create
645645
- update
646646
- watch
647+
- patch
647648
- apiGroups:
648649
- apps
649650
resources:
@@ -908,7 +909,18 @@ spec:
908909
- servicemonitors
909910
verbs:
910911
- get
912+
- watch
913+
- list
911914
- create
915+
- delete
916+
- apiGroups:
917+
- ""
918+
resources:
919+
- endpoints
920+
verbs:
921+
- get
922+
- watch
923+
- list
912924
serviceAccountName: che-operator
913925
deployments:
914926
- label:
@@ -1144,7 +1156,7 @@ spec:
11441156
name: gateway-authorization-sidecar-k8s
11451157
- image: quay.io/che-incubator/header-rewrite-proxy:latest
11461158
name: gateway-header-sidecar
1147-
version: 7.117.0-975.next
1159+
version: 7.118.0-980.next
11481160
webhookdefinitions:
11491161
- admissionReviewVersions:
11501162
- v1

bundle/next/eclipse-che/manifests/eclipse-che-edit_rbac.authorization.k8s.io_v1_clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2019-2024 Red Hat, Inc.
2+
# Copyright (c) 2019-2026 Red Hat, Inc.
33
# This program and the accompanying materials are made
44
# available under the terms of the Eclipse Public License 2.0
55
# which is available at https://www.eclipse.org/legal/epl-2.0/

bundle/next/eclipse-che/manifests/eclipse-che-view_rbac.authorization.k8s.io_v1_clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2019-2024 Red Hat, Inc.
2+
# Copyright (c) 2019-2026 Red Hat, Inc.
33
# This program and the accompanying materials are made
44
# available under the terms of the Eclipse Public License 2.0
55
# which is available at https://www.eclipse.org/legal/epl-2.0/

0 commit comments

Comments
 (0)