Skip to content

Commit

Permalink
Merge branch 'main' into consolidate-code
Browse files Browse the repository at this point in the history
  • Loading branch information
halim-lee authored Jun 21, 2023
2 parents 41cb3a6 + b365088 commit 3101015
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
ARG USER_ID=65532
ARG GROUP_ID=65532

ARG VERSION_LABEL=1.2.0
ARG VERSION_LABEL=1.2.1
ARG RELEASE_LABEL=XX
ARG VCS_REF=0123456789012345678901234567890123456789
ARG VCS_URL="https://github.com/application-stacks/runtime-component-operator"
Expand Down
2 changes: 1 addition & 1 deletion 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 ?= 1.2.0
VERSION ?= 1.2.1
OPERATOR_SDK_RELEASE_VERSION ?= v1.24.0

# CHANNELS define the bundle channels used in the bundle.
Expand Down
16 changes: 8 additions & 8 deletions bundle/manifests/runtime-component.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
"name": "runtimecomponent-sample"
},
"spec": {
"applicationImage": "icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860",
"applicationImage": "icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80",
"expose": true,
"manageTLS": true,
"replicas": 1,
Expand Down Expand Up @@ -41,7 +41,7 @@ metadata:
"name": "runtimecomponent-sample"
},
"spec": {
"applicationImage": "icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860",
"applicationImage": "icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80",
"expose": true,
"replicas": 1,
"service": {
Expand All @@ -68,9 +68,9 @@ metadata:
categories: Application Runtime
certified: "true"
containerImage: icr.io/appcafe/runtime-component-operator:daily
createdAt: "2023-05-01T09:45:40Z"
createdAt: "2023-06-15T17:18:00Z"
description: Deploys any runtime component with dynamic and auto-tuning configuration
olm.skipRange: '>=0.8.0 <1.2.0'
olm.skipRange: '>=0.8.0 <1.2.1'
operators.openshift.io/infrastructure-features: '["disconnected"]'
operators.operatorframework.io/builder: operator-sdk-v1.24.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand All @@ -81,7 +81,7 @@ metadata:
operatorframework.io/arch.ppc64le: supported
operatorframework.io/arch.s390x: supported
operatorframework.io/os.linux: supported
name: runtime-component.v1.2.0
name: runtime-component.v1.2.1
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -976,7 +976,7 @@ spec:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80
image: icr.io/appcafe/runtime-component-operator:daily
livenessProbe:
failureThreshold: 3
Expand Down Expand Up @@ -1257,6 +1257,6 @@ spec:
provider:
name: Community
relatedImages:
- image: icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860
- image: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80
name: liberty-sample-app
version: 1.2.0
version: 1.2.1
2 changes: 1 addition & 1 deletion bundle/tests/scorecard/kuttl/basic/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ metadata:
name: example-runtime-component
status:
versions:
reconciled: 1.2.0
reconciled: 1.2.1
2 changes: 1 addition & 1 deletion bundle/tests/scorecard/kuttl/day2operation/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ status:
- status: 'True'
type: Completed
versions:
reconciled: 1.2.0
reconciled: 1.2.1
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80
securityContext:
allowPrivilegeEscalation: false
privileged: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
containerImage: icr.io/appcafe/runtime-component-operator:daily
createdAt: "2022-02-25T09:00:00Z"
description: Deploys any runtime component with dynamic and auto-tuning configuration
olm.skipRange: '>=0.8.0 <1.2.0'
olm.skipRange: '>=0.8.0 <1.2.1'
operators.openshift.io/infrastructure-features: '["disconnected"]'
repository: https://github.com/application-stacks/runtime-component-operator
support: Community
Expand Down
2 changes: 1 addition & 1 deletion config/samples/rc.app.stacks_v1_runtimecomponent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: RuntimeComponent
metadata:
name: runtimecomponent-sample
spec:
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80
expose: true
manageTLS: true
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion config/samples/rc.app.stacks_v1beta2_runtimecomponent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: runtimecomponent-sample
spec:
# Add fields here
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80
expose: true
replicas: 1
service:
Expand Down
2 changes: 1 addition & 1 deletion ebcDockerBuilderRCO.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ properties([
string(name: 'command', defaultValue: "make build-operator-pipeline REGISTRY=cp.stg.icr.io", description: 'Build command to execute on target arch machine, e.g. make build-pipeline-releases'),
string(name: 'PIPELINE_OPERATOR_IMAGE', defaultValue: "cp/runtime-component-operator", description: 'namespace to push image to in registry'),
string(name: 'RELEASE_TARGET', defaultValue: "main", description: 'release branch to use'),
string(name: 'OPM_VERSION', defaultValue: "4.10", description: 'Redhat CLI OPM version'),
string(name: 'OPM_VERSION', defaultValue: "4.12", description: 'Redhat CLI OPM version'),
string(name: 'PIPELINE_PRODUCTION_IMAGE', defaultValue: "icr.io/cpopen/runtime-component-operator", description: 'namespace in prod registry'),
string(name: 'REDHAT_BASE_IMAGE', defaultValue: "registry.redhat.io/openshift4/ose-operator-registry", description: 'base image for operator'),
string(name: 'REDHAT_REGISTRY', defaultValue: "registry.redhat.io", description: 'RH registry used for docker login'),
Expand Down
4 changes: 2 additions & 2 deletions index.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM registry.redhat.io/openshift4/ose-operator-registry:v4.10 AS builder
FROM registry.redhat.io/openshift4/ose-operator-registry:v4.12 AS builder

FROM registry.redhat.io/ubi8/ubi-minimal

ARG VERSION_LABEL=1.2.0
ARG VERSION_LABEL=1.2.1
ARG RELEASE_LABEL=XX
ARG VCS_REF=0123456789012345678901234567890123456789
ARG VCS_URL="https://github.com/application-stacks/runtime-component-operator"
Expand Down
2 changes: 1 addition & 1 deletion internal/deploy/kubectl/runtime-component-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ spec:
- name: WATCH_NAMESPACE
value: RUNTIME_COMPONENT_WATCH_NAMESPACE
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80
image: icr.io/appcafe/runtime-component-operator:daily
livenessProbe:
failureThreshold: 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:e22dd56a05e44618a10d275d3ff07a38eb364c0f04f86ffe9618d83dd5467860
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:b0d658e07e656a8cb3b02bf7194f788f4456c7ffe9d3361f96ac2807045dad80
image: icr.io/appcafe/runtime-component-operator:daily
livenessProbe:
failureThreshold: 3
Expand Down
2 changes: 1 addition & 1 deletion scripts/installers/install-opm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ main() {
exit 0
fi

readonly DEFAULT_RELEASE_VERSION=latest-4.10
readonly DEFAULT_RELEASE_VERSION=latest-4.12
readonly RELEASE_VERSION=${1:-$DEFAULT_RELEASE_VERSION}
readonly base_url="https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/${RELEASE_VERSION}"

Expand Down
2 changes: 1 addition & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/reconcile"
)

const RCOOperandVersion = "1.2.0"
const RCOOperandVersion = "1.2.1"

var APIVersionNotFoundError = errors.New("APIVersion is not available")

Expand Down

0 comments on commit 3101015

Please sign in to comment.