Skip to content

Commit

Permalink
Prepare 4.10.0 (#916)
Browse files Browse the repository at this point in the history
* Prepare 4.10.0
* Update golangci-lint to 1.51.2
* Update golang.org/x/net to 0.8.0
This to solve CVE-2022-41723
  • Loading branch information
Edvin N committed Mar 13, 2023
1 parent a33ef1d commit 8bed473
Show file tree
Hide file tree
Showing 14 changed files with 6,952 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2.5.2
with:
version: "v1.46.2"
version: "v1.51.2"
only-new-issues: true

fmt:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Current Operator version
VERSION ?= 4.9.0
VERSION ?= 4.10.0

# IMAGE_TAG_BASE defines the namespace and part of the image name for remote images.
# running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
Expand Down Expand Up @@ -129,7 +129,7 @@ kustomize:
# Download kustomize locally if necessary
GOLANGCI = $(shell pwd)/bin/golangci-lint
golangci:
$(call go-get-tool,$(GOLANGCI),github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2)
$(call go-get-tool,$(GOLANGCI),github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2)

# go-get-tool will 'go install' any package $2 and install it to $1.
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
Expand Down
12 changes: 6 additions & 6 deletions bundle/manifests/grafana-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
capabilities: Basic Install
categories: Monitoring
certified: "False"
containerImage: quay.io/grafana-operator/grafana-operator:v4.9.0
createdAt: "2023-02-10T10:00:12Z"
containerImage: quay.io/grafana-operator/grafana-operator:v4.10.0
createdAt: "2023-03-14T10:00:12Z"
description: A Kubernetes Operator based on the Operator SDK for creating and
managing Grafana instances
operators.operatorframework.io/builder: operator-sdk-v1.13.1
Expand All @@ -19,7 +19,7 @@ metadata:
operatorframework.io/arch.arm64: supported
operatorframework.io/arch.ppc64le: supported
operatorframework.io/arch.s390x: supported
name: grafana-operator.v4.9.0
name: grafana-operator.v4.10.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -295,7 +295,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
image: quay.io/grafana-operator/grafana-operator:v4.9.0
image: quay.io/grafana-operator/grafana-operator:v4.10.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -378,5 +378,5 @@ spec:
maturity: alpha
provider:
name: Red Hat
replaces: grafana-operator.v4.8.0
version: 4.9.0
replaces: grafana-operator.v4.9.0
version: 4.10.0
2 changes: 2 additions & 0 deletions bundle/manifests/integreatly.org_grafanas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5598,6 +5598,8 @@ spec:
additionalProperties:
type: string
type: object
appProtocol:
type: string
clusterIP:
type: string
labels:
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/grafana-operator/grafana-operator
newTag: v4.9.0
newTag: v4.10.0

# Protect the /metrics endpoint by putting it behind auth.
# If you want your controller-manager to expose the /metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ metadata:
capabilities: Basic Install
categories: Monitoring
certified: "False"
containerImage: quay.io/grafana-operator/grafana-operator:v4.9.0
createdAt: "2023-02-10T10:00:12Z"
containerImage: quay.io/grafana-operator/grafana-operator:v4.10.0
createdAt: "2023-03-14T10:00:12Z"
description: A Kubernetes Operator based on the Operator SDK for creating and
managing Grafana instances
repository: https://github.com/grafana-operator/grafana-operator
Expand Down Expand Up @@ -168,5 +168,5 @@ spec:
maturity: alpha
provider:
name: Red Hat
replaces: grafana-operator.v4.8.0
replaces: grafana-operator.v4.9.0
version: 0.0.0
2 changes: 1 addition & 1 deletion deploy/manifests/latest/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: quay.io/grafana-operator/grafana-operator:v4.9.0
image: quay.io/grafana-operator/grafana-operator:v4.10.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
Loading

0 comments on commit 8bed473

Please sign in to comment.