Skip to content

Commit d63c2fb

Browse files
Rebranding OLM Package Name (#57)
1 parent 0b65dc8 commit d63c2fb

12 files changed

Lines changed: 16 additions & 30 deletions

bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM scratch
33
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
44
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
55
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
6-
LABEL operators.operatorframework.io.bundle.package.v1=nexus-operator
6+
LABEL operators.operatorframework.io.bundle.package.v1=nexus-operator-m88i
77
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
88
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
99

deploy/olm-catalog/nexus-operator/0.2.0/nexus-operator.v0.2.0.clusterserviceversion.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,5 +275,4 @@ spec:
275275
minKubeVersion: 1.11.0
276276
provider:
277277
name: m88i Labs
278-
replaces: nexus-operator.v0.1.0
279278
version: 0.2.0

deploy/olm-catalog/nexus-operator/manifests/nexus-operator.clusterserviceversion.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,5 +275,4 @@ spec:
275275
minKubeVersion: 1.11.0
276276
provider:
277277
name: m88i Labs
278-
replaces: nexus-operator.v0.1.0
279278
version: 0.2.0

deploy/olm-catalog/nexus-operator/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ annotations:
44
operators.operatorframework.io.bundle.manifests.v1: manifests/
55
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
66
operators.operatorframework.io.bundle.metadata.v1: metadata/
7-
operators.operatorframework.io.bundle.package.v1: nexus-operator
7+
operators.operatorframework.io.bundle.package.v1: nexus-operator-m88i
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
channels:
2+
- currentCSV: nexus-operator.v0.2.0
3+
name: alpha
4+
defaultChannel: alpha
5+
packageName: nexus-operator-m88i

deploy/olm-catalog/nexus-operator/nexus-operator-operatorsource.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

deploy/olm-catalog/nexus-operator/nexus-operator.package.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

hack/ci/operator-ensure-manifest.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ echo "Output dir is set to ${OUTPUT}"
2525
# clean up
2626
rm -rf "${OUTPUT}"
2727

28-
mkdir -p "${OUTPUT}/nexus-operator/${OP_VERSION}"
29-
cp "./deploy/olm-catalog/nexus-operator/${OP_VERSION}/"*.yaml "${OUTPUT}/nexus-operator/${OP_VERSION}"
30-
cp ./deploy/olm-catalog/nexus-operator/nexus-operator.package.yaml "${OUTPUT}/nexus-operator"
28+
mkdir -p "${OUTPUT}/nexus-operator-m88i/${OP_VERSION}"
29+
cp "./deploy/olm-catalog/nexus-operator/${OP_VERSION}/"*.yaml "${OUTPUT}/nexus-operator-m88i/${OP_VERSION}"
30+
cp ./deploy/olm-catalog/nexus-operator/nexus-operator-m88i.package.yaml "${OUTPUT}/nexus-operator-m88i"
3131

3232
# replaces
3333
replace_version=$(grep replaces "./deploy/olm-catalog/nexus-operator/${OP_VERSION}/nexus-operator.v${OP_VERSION}.clusterserviceversion.yaml" | cut -f2 -d'v')
3434
if [ ! -z "${replace_version}" ]; then
3535
echo "Found replaces version in the new CSV: ${replace_version}. Including in the package."
36-
mkdir -p "${OUTPUT}/nexus-operator/${replace_version}"
37-
cp "./deploy/olm-catalog/nexus-operator/${replace_version}/"*.yaml "${OUTPUT}/nexus-operator/${replace_version}"
36+
mkdir -p "${OUTPUT}/nexus-operator-m88i/${replace_version}"
37+
cp "./deploy/olm-catalog/nexus-operator/${replace_version}/"*.yaml "${OUTPUT}/nexus-operator-m88i/${replace_version}"
3838
fi

hack/ci/operator-olm-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
source ./hack/ci/operator-ensure-manifest.sh
2020

2121
CATALOG_IMAGE="operatorhubio-catalog:temp"
22-
OP_PATH="community-operators/nexus-operator"
22+
OP_PATH="community-operators/nexus-operator-m88i"
2323
INSTALL_MODE="SingleNamespace"
2424
OPERATOR_TESTING_IMAGE="quay.io/operator-framework/operator-testing:latest"
2525

hack/ci/operator-olm-verify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
source ./hack/ci/operator-ensure-manifest.sh
2020

2121
OPERATOR_TESTING_IMAGE="quay.io/operator-framework/operator-testing:latest"
22-
OP_PATH="community-operators/nexus-operator"
22+
OP_PATH="community-operators/nexus-operator-m88i"
2323

2424
docker pull ${OPERATOR_TESTING_IMAGE}
2525
docker run --rm -v ${OUTPUT}:/community-operators:z ${OPERATOR_TESTING_IMAGE} operator.verify --no-print-directory OP_PATH=${OP_PATH} VERBOSE=true

0 commit comments

Comments
 (0)