Skip to content

Commit

Permalink
Upgrade grafana and prometheus versions to latest available (#1157)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Sauer <[email protected]>
  • Loading branch information
etsauer authored Sep 5, 2024
1 parent 6adacea commit 7413e5b
Show file tree
Hide file tree
Showing 22 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion charts/operators/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.0.13-rc.2
version: 2.0.13-rc.3
2 changes: 1 addition & 1 deletion charts/operators/templates/grafana-subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Subscription
metadata:
name: grafana-operator
spec:
channel: v4
channel: v5
installPlanApproval: Manual
name: grafana-operator
source: community-operators
Expand Down
4 changes: 2 additions & 2 deletions charts/operators/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
grafana_subscription_version: 4.8.0
prometheus_subscription_version: 0.47.0
grafana_subscription_version: 5.12.0
prometheus_subscription_version: 0.56.3
6 changes: 3 additions & 3 deletions charts/pelorus/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: exporters
repository: file://./charts/exporters
version: 2.0.13-rc.2
digest: sha256:acffc6b35d891be294bdee3d59cf41ec462bf8433cdf72347c4bcf604ff14a99
generated: "2024-07-25T20:08:20.392336664Z"
version: 2.0.13-rc.3
digest: sha256:742d458f384de076ddbb4a0cf2d4b4127ef1365c319212c7d64a315157fd94f5
generated: "2024-09-05T13:30:14.412659258Z"
4 changes: 2 additions & 2 deletions charts/pelorus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.0.13-rc.2
version: 2.0.13-rc.3

dependencies:
- name: exporters
version: 2.0.13-rc.2
version: 2.0.13-rc.3
repository: file://./charts/exporters
2 changes: 1 addition & 1 deletion charts/pelorus/charts/exporters/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.0.13-rc.2
version: 2.0.13-rc.3
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
value: {{ .image_name }}:{{ .image_tag | default "latest" }}
{{- end }}
{{- else }}
value: quay.io/pelorus/pelorus-{{ .exporter_type }}-exporter:{{ .image_tag | default "v2.0.13-rc.2" }}
value: quay.io/pelorus/pelorus-{{ .exporter_type }}-exporter:{{ .image_tag | default "v2.0.13-rc.3" }}
{{- end }}
{{- end }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
name: {{ .image_name }}:{{ .image_tag | default "latest" }}
{{- end }}
{{- else }}
name: quay.io/pelorus/pelorus-{{ .exporter_type }}-exporter:{{ .image_tag | default "v2.0.13-rc.2" }}
name: quay.io/pelorus/pelorus-{{ .exporter_type }}-exporter:{{ .image_tag | default "v2.0.13-rc.3" }}
# .image_name
{{- end }}
name: {{ .image_tag | default "stable" }}
Expand Down
2 changes: 1 addition & 1 deletion charts/pelorus/templates/prometheus-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
protocol: TCP
targetPort: web-tls
selector:
app: prometheus
app.kubernetes.io/name: prometheus
prometheus: prometheus-pelorus
sessionAffinity: ClientIP
sessionAffinityConfig:
Expand Down
2 changes: 1 addition & 1 deletion pelorus-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 0.0.10-rc.2
VERSION ?= 0.0.10-rc.3

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ metadata:
capabilities: Basic Install
categories: |
Modernization & Migration,Developer Tools,Monitoring,Integration & Delivery
containerImage: quay.io/pelorus/pelorus-operator:0.0.10-rc.2
createdAt: "2024-08-05T20:19:51Z"
containerImage: quay.io/pelorus/pelorus-operator:0.0.10-rc.3
createdAt: "2024-09-05T18:53:43Z"
description: |
Tool that helps IT organizations measure their impact on the overall performance of their organization
operatorframework.io/suggested-namespace: pelorus
operators.operatorframework.io/builder: operator-sdk-v1.33.0
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
repository: https://github.com/dora-metrics/pelorus/
support: Pelorus Community
name: pelorus-operator.v0.0.10-rc.2
name: pelorus-operator.v0.0.10-rc.3
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -210,15 +210,6 @@ spec:
- clusterroles
verbs:
- '*'
- apiGroups:
- ""
resources:
- configmaps
- secrets
- serviceaccounts
- services
verbs:
- '*'
- apiGroups:
- rbac.authorization.k8s.io
resources:
Expand Down Expand Up @@ -252,6 +243,15 @@ spec:
- routes
verbs:
- '*'
- apiGroups:
- ""
resources:
- configmaps
- secrets
- serviceaccounts
- services
verbs:
- '*'
- apiGroups:
- operators.coreos.com
resources:
Expand Down Expand Up @@ -385,7 +385,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --leader-election-id=pelorus-operator
image: quay.io/pelorus/pelorus-operator:0.0.10-rc.2
image: quay.io/pelorus/pelorus-operator:0.0.10-rc.3
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -487,7 +487,7 @@ spec:
provider:
name: Red Hat
url: https://redhat.com
version: 0.0.10-rc.2
version: 0.0.10-rc.3
replaces: pelorus-operator.v0.0.9
skips:
- pelorus-operator.v0.0.9
Expand Down
4 changes: 2 additions & 2 deletions pelorus-operator/bundle/metadata/properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ dependencies:
- type: olm.package
value:
packageName: prometheus
version: "0.47.0"
version: "0.56.3"
- type: olm.package
value:
packageName: grafana-operator
version: "4.8.0"
version: "5.12.0"
2 changes: 1 addition & 1 deletion pelorus-operator/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/pelorus/pelorus-operator
newTag: 0.0.10-rc.2
newTag: 0.0.10-rc.3
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
capabilities: Basic Install
categories: |
Modernization & Migration,Developer Tools,Monitoring,Integration & Delivery
containerImage: quay.io/pelorus/pelorus-operator:0.0.10-rc.2
containerImage: quay.io/pelorus/pelorus-operator:0.0.10-rc.3
description: |
Tool that helps IT organizations measure their impact on the overall performance of their organization
operatorframework.io/suggested-namespace: pelorus
Expand Down
18 changes: 9 additions & 9 deletions pelorus-operator/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,6 @@ rules:
resources:
- "clusterrolebindings"
- "clusterroles"
- verbs:
- "*"
apiGroups:
- ""
resources:
- "configmaps"
- "secrets"
- "serviceaccounts"
- "services"
- verbs:
- "*"
apiGroups:
Expand Down Expand Up @@ -94,5 +85,14 @@ rules:
- "route.openshift.io"
resources:
- "routes"
- verbs:
- "*"
apiGroups:
- ""
resources:
- "configmaps"
- "secrets"
- "serviceaccounts"
- "services"

#+kubebuilder:scaffold:rules
6 changes: 3 additions & 3 deletions pelorus-operator/helm-charts/pelorus/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: exporters
repository: file://./charts/exporters
version: 2.0.13-rc.2
digest: sha256:acffc6b35d891be294bdee3d59cf41ec462bf8433cdf72347c4bcf604ff14a99
generated: "2024-08-05T20:19:50.521060343Z"
version: 2.0.13-rc.3
digest: sha256:742d458f384de076ddbb4a0cf2d4b4127ef1365c319212c7d64a315157fd94f5
generated: "2024-09-05T18:53:43.104094598Z"
4 changes: 2 additions & 2 deletions pelorus-operator/helm-charts/pelorus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
dependencies:
- name: exporters
repository: file://./charts/exporters
version: 2.0.13-rc.2
version: 2.0.13-rc.3
description: A Helm chart for Kubernetes
name: pelorus
type: application
version: 2.0.13-rc.2
version: 2.0.13-rc.3
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.0.13-rc.2
version: 2.0.13-rc.3
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
value: {{ .image_name }}:{{ .image_tag | default "latest" }}
{{- end }}
{{- else }}
value: quay.io/pelorus/pelorus-{{ .exporter_type }}-exporter:{{ .image_tag | default "v2.0.13-rc.2" }}
value: quay.io/pelorus/pelorus-{{ .exporter_type }}-exporter:{{ .image_tag | default "v2.0.13-rc.3" }}
{{- end }}
{{- end }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
name: {{ .image_name }}:{{ .image_tag | default "latest" }}
{{- end }}
{{- else }}
name: quay.io/pelorus/pelorus-{{ .exporter_type }}-exporter:{{ .image_tag | default "v2.0.13-rc.2" }}
name: quay.io/pelorus/pelorus-{{ .exporter_type }}-exporter:{{ .image_tag | default "v2.0.13-rc.3" }}
# .image_name
{{- end }}
name: {{ .image_tag | default "stable" }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
protocol: TCP
targetPort: web-tls
selector:
app: prometheus
app.kubernetes.io/name: prometheus
prometheus: prometheus-pelorus
sessionAffinity: ClientIP
sessionAffinityConfig:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
+- type: olm.package
+ value:
+ packageName: prometheus
+ version: "0.47.0"
+ version: "0.56.3"
+- type: olm.package
+ value:
+ packageName: grafana-operator
+ version: "4.8.0"
+ version: "5.12.0"

0 comments on commit 7413e5b

Please sign in to comment.