Skip to content

Commit

Permalink
chore(release): adjust version tags and channels for 3.0 release (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Jul 4, 2024
1 parent 3af7eb2 commit e52c010
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 48 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OS = $(shell go env GOOS)
ARCH = $(shell go env GOARCH)

# Current Operator version
export OPERATOR_VERSION ?= 3.0.0-dev
export OPERATOR_VERSION ?= 3.0.0
IMAGE_VERSION ?= $(OPERATOR_VERSION)
BUNDLE_VERSION ?= $(IMAGE_VERSION)
DEFAULT_NAMESPACE ?= quay.io/cryostat
Expand Down Expand Up @@ -62,7 +62,7 @@ export APP_NAME ?= Cryostat
# Images used by the operator
CORE_NAMESPACE ?= $(DEFAULT_NAMESPACE)
CORE_NAME ?= cryostat
CORE_VERSION ?= 3.0.0-snapshot
CORE_VERSION ?= 3.0.0
export CORE_IMG ?= $(CORE_NAMESPACE)/$(CORE_NAME):$(CORE_VERSION)
OAUTH2_PROXY_NAMESPACE ?= quay.io/oauth2-proxy
OAUTH2_PROXY_NAME ?= oauth2-proxy
Expand All @@ -71,27 +71,27 @@ export OAUTH2_PROXY_IMG ?= $(OAUTH2_PROXY_NAMESPACE)/$(OAUTH2_PROXY_NAME):$(OAUT
OPENSHIFT_OAUTH_PROXY_NAMESPACE ?= quay.io/cryostat
OPENSHIFT_OAUTH_PROXY_NAME ?= openshift-oauth-proxy
# there is no 'latest' tag for this container
OPENSHIFT_OAUTH_PROXY_VERSION ?= cryostat-v3.0
OPENSHIFT_OAUTH_PROXY_VERSION ?= 3.0.0
export OPENSHIFT_OAUTH_PROXY_IMG ?= $(OPENSHIFT_OAUTH_PROXY_NAMESPACE)/$(OPENSHIFT_OAUTH_PROXY_NAME):$(OPENSHIFT_OAUTH_PROXY_VERSION)
DATASOURCE_NAMESPACE ?= $(DEFAULT_NAMESPACE)
DATASOURCE_NAME ?= jfr-datasource
DATASOURCE_VERSION ?= latest
DATASOURCE_VERSION ?= 3.0.0
export DATASOURCE_IMG ?= $(DATASOURCE_NAMESPACE)/$(DATASOURCE_NAME):$(DATASOURCE_VERSION)
GRAFANA_NAMESPACE ?= $(DEFAULT_NAMESPACE)
GRAFANA_NAME ?= cryostat-grafana-dashboard
GRAFANA_VERSION ?= latest
GRAFANA_VERSION ?= 3.0.0
export GRAFANA_IMG ?= $(GRAFANA_NAMESPACE)/$(GRAFANA_NAME):$(GRAFANA_VERSION)
REPORTS_NAMESPACE ?= $(DEFAULT_NAMESPACE)
REPORTS_NAME ?= cryostat-reports
REPORTS_VERSION ?= latest
REPORTS_VERSION ?= 3.0.0
export REPORTS_IMG ?= $(REPORTS_NAMESPACE)/$(REPORTS_NAME):$(REPORTS_VERSION)
DATABASE_NAMESPACE ?= $(DEFAULT_NAMESPACE)
DATABASE_NAME ?= cryostat-db
DATABASE_VERSION ?= latest
DATABASE_VERSION ?= 3.0.0
export DATABASE_IMG ?= $(DATABASE_NAMESPACE)/$(DATABASE_NAME):$(DATABASE_VERSION)
STORAGE_NAMESPACE ?= $(DEFAULT_NAMESPACE)
STORAGE_NAME ?= cryostat-storage
STORAGE_VERSION ?= latest
STORAGE_VERSION ?= 3.0.0
export STORAGE_IMG ?= $(STORAGE_NAMESPACE)/$(STORAGE_NAME):$(STORAGE_VERSION)

CERT_MANAGER_VERSION ?= 1.11.5
Expand Down
3 changes: 2 additions & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=cryostat-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.31.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
Expand Down
40 changes: 20 additions & 20 deletions bundle/manifests/cryostat-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ metadata:
]
capabilities: Seamless Upgrades
categories: Monitoring, Developer Tools
containerImage: quay.io/cryostat/cryostat-operator:3.0.0-dev
createdAt: "2024-06-17T15:39:51Z"
containerImage: quay.io/cryostat/cryostat-operator:3.0.0
createdAt: "2024-07-04T13:19:31Z"
description: JVM monitoring and profiling tool
operatorframework.io/initialization-resource: |-
{
Expand All @@ -54,7 +54,7 @@ metadata:
operatorframework.io/arch.amd64: supported
operatorframework.io/arch.arm64: supported
operatorframework.io/os.linux: supported
name: cryostat-operator.v3.0.0-dev
name: cryostat-operator.v3.0.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -994,19 +994,19 @@ spec:
- name: RELATED_IMAGE_OAUTH2_PROXY
value: quay.io/oauth2-proxy/oauth2-proxy:latest
- name: RELATED_IMAGE_OPENSHIFT_OAUTH_PROXY
value: quay.io/cryostat/openshift-oauth-proxy:cryostat-v3.0
value: quay.io/cryostat/openshift-oauth-proxy:3.0.0
- name: RELATED_IMAGE_CORE
value: quay.io/cryostat/cryostat:3.0.0-snapshot
value: quay.io/cryostat/cryostat:3.0.0
- name: RELATED_IMAGE_DATASOURCE
value: quay.io/cryostat/jfr-datasource:latest
value: quay.io/cryostat/jfr-datasource:3.0.0
- name: RELATED_IMAGE_GRAFANA
value: quay.io/cryostat/cryostat-grafana-dashboard:latest
value: quay.io/cryostat/cryostat-grafana-dashboard:3.0.0
- name: RELATED_IMAGE_REPORTS
value: quay.io/cryostat/cryostat-reports:latest
value: quay.io/cryostat/cryostat-reports:3.0.0
- name: RELATED_IMAGE_STORAGE
value: quay.io/cryostat/cryostat-storage:latest
value: quay.io/cryostat/cryostat-storage:3.0.0
- name: RELATED_IMAGE_DATABASE
value: quay.io/cryostat/cryostat-db:latest
value: quay.io/cryostat/cryostat-db:3.0.0
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
Expand All @@ -1015,8 +1015,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: quay.io/cryostat/cryostat-operator:3.0.0-dev
imagePullPolicy: Always
image: quay.io/cryostat/cryostat-operator:3.0.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -1171,21 +1171,21 @@ spec:
relatedImages:
- image: quay.io/oauth2-proxy/oauth2-proxy:latest
name: oauth2-proxy
- image: quay.io/cryostat/openshift-oauth-proxy:cryostat-v3.0
- image: quay.io/cryostat/openshift-oauth-proxy:3.0.0
name: openshift-oauth-proxy
- image: quay.io/cryostat/cryostat:3.0.0-snapshot
- image: quay.io/cryostat/cryostat:3.0.0
name: core
- image: quay.io/cryostat/jfr-datasource:latest
- image: quay.io/cryostat/jfr-datasource:3.0.0
name: datasource
- image: quay.io/cryostat/cryostat-grafana-dashboard:latest
- image: quay.io/cryostat/cryostat-grafana-dashboard:3.0.0
name: grafana
- image: quay.io/cryostat/cryostat-reports:latest
- image: quay.io/cryostat/cryostat-reports:3.0.0
name: reports
- image: quay.io/cryostat/cryostat-storage:latest
- image: quay.io/cryostat/cryostat-storage:3.0.0
name: storage
- image: quay.io/cryostat/cryostat-db:latest
- image: quay.io/cryostat/cryostat-db:3.0.0
name: database
version: 3.0.0-dev
version: 3.0.0
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
3 changes: 2 additions & 1 deletion bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ annotations:
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: cryostat-operator
operators.operatorframework.io.bundle.channels.v1: alpha
operators.operatorframework.io.bundle.channels.v1: stable
operators.operatorframework.io.bundle.channel.default.v1: stable
operators.operatorframework.io.metrics.builder: operator-sdk-v1.31.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3
Expand Down
2 changes: 1 addition & 1 deletion config/default/image_pull_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
spec:
containers:
- name: manager
imagePullPolicy: "Always"
imagePullPolicy: "IfNotPresent"
14 changes: 7 additions & 7 deletions config/default/image_tag_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ spec:
- name: RELATED_IMAGE_OAUTH2_PROXY
value: "quay.io/oauth2-proxy/oauth2-proxy:latest"
- name: RELATED_IMAGE_OPENSHIFT_OAUTH_PROXY
value: "quay.io/cryostat/openshift-oauth-proxy:cryostat-v3.0"
value: "quay.io/cryostat/openshift-oauth-proxy:3.0.0"
- name: RELATED_IMAGE_CORE
value: "quay.io/cryostat/cryostat:3.0.0-snapshot"
value: "quay.io/cryostat/cryostat:3.0.0"
- name: RELATED_IMAGE_DATASOURCE
value: "quay.io/cryostat/jfr-datasource:latest"
value: "quay.io/cryostat/jfr-datasource:3.0.0"
- name: RELATED_IMAGE_GRAFANA
value: "quay.io/cryostat/cryostat-grafana-dashboard:latest"
value: "quay.io/cryostat/cryostat-grafana-dashboard:3.0.0"
- name: RELATED_IMAGE_REPORTS
value: "quay.io/cryostat/cryostat-reports:latest"
value: "quay.io/cryostat/cryostat-reports:3.0.0"
- name: RELATED_IMAGE_STORAGE
value: "quay.io/cryostat/cryostat-storage:latest"
value: "quay.io/cryostat/cryostat-storage:3.0.0"
- name: RELATED_IMAGE_DATABASE
value: "quay.io/cryostat/cryostat-db:latest"
value: "quay.io/cryostat/cryostat-db:3.0.0"
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/cryostat/cryostat-operator
newTag: 3.0.0-dev
newTag: 3.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
annotations:
capabilities: Seamless Upgrades
categories: Monitoring, Developer Tools
containerImage: quay.io/cryostat/cryostat-operator:3.0.0-dev
containerImage: quay.io/cryostat/cryostat-operator:3.0.0
description: JVM monitoring and profiling tool
operatorframework.io/initialization-resource: |-
{
Expand Down
16 changes: 8 additions & 8 deletions internal/controllers/const_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e52c010

Please sign in to comment.