Skip to content

Commit 7a9a194

Browse files
authored
add relatedImages to operator CSV (#119)
* add relatedImages to operator CSV * follow CICD name convention
1 parent e7815d2 commit 7a9a194

7 files changed

+20
-8
lines changed

bundle-restricted/manifests/ibm-namespace-scope-operator-restricted.clusterserviceversion.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ metadata:
2525
containerImage: quay.io/opencloudio/ibm-namespace-scope-operator:latest
2626
createdAt: "2020-11-2T15:38:33Z"
2727
olm.skipRange: '<1.4.0'
28-
operators.operatorframework.io/builder: operator-sdk-v1.7.1+git
28+
operators.operatorframework.io/builder: operator-sdk-v1.10.0+git
2929
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
3030
repository: https://github.com/IBM/ibm-namespace-scope-operator
3131
support: IBM
@@ -153,8 +153,11 @@ spec:
153153
154154
name: IBM Support
155155
maturity: alpha
156-
minKubeVersion: "1.19.0"
156+
minKubeVersion: 1.19.0
157157
provider:
158158
name: IBM
159+
relatedImages:
160+
- image: quay.io/opencloudio/ibm-namespace-scope-operator:1.4.0
161+
name: IBM_NAMESPACE_SCOPE_OPERATOR_IMAGE
159162
replaces: ibm-namespace-scope-operator-restricted.v1.3.0
160163
version: 1.4.0

bundle-restricted/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ annotations:
66
operators.operatorframework.io.bundle.package.v1: ibm-namespace-scope-operator-restricted
77
operators.operatorframework.io.bundle.channels.v1: v3
88
operators.operatorframework.io.bundle.channel.default.v1: v3
9-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.7.1+git
9+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.10.0+git
1010
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1111
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v2
1212

bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
77
LABEL operators.operatorframework.io.bundle.package.v1=ibm-namespace-scope-operator
88
LABEL operators.operatorframework.io.bundle.channels.v1=beta
99
LABEL operators.operatorframework.io.bundle.channel.default.v1=beta
10-
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.7.1+git
10+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.10.0+git
1111
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1212
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v2
1313

bundle/manifests/ibm-namespace-scope-operator.clusterserviceversion.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ metadata:
2525
containerImage: quay.io/opencloudio/ibm-namespace-scope-operator:latest
2626
createdAt: "2020-11-2T15:38:33Z"
2727
olm.skipRange: '<1.4.0'
28-
operators.operatorframework.io/builder: operator-sdk-v1.7.1+git
28+
operators.operatorframework.io/builder: operator-sdk-v1.10.0+git
2929
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
3030
repository: https://github.com/IBM/ibm-namespace-scope-operator
3131
support: IBM
@@ -153,8 +153,11 @@ spec:
153153
154154
name: IBM Support
155155
maturity: alpha
156-
minKubeVersion: "1.19.0"
156+
minKubeVersion: 1.19.0
157157
provider:
158158
name: IBM
159-
replaces: ibm-namespace-scope-operator.v1.3.0
159+
relatedImages:
160+
- image: quay.io/opencloudio/ibm-namespace-scope-operator:1.4.0
161+
name: IBM_NAMESPACE_SCOPE_OPERATOR_IMAGE
162+
replaces: ibm-namespace-scope-operator-restricted.v1.3.0
160163
version: 1.4.0

bundle/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ annotations:
66
operators.operatorframework.io.bundle.package.v1: ibm-namespace-scope-operator
77
operators.operatorframework.io.bundle.channels.v1: v3
88
operators.operatorframework.io.bundle.channel.default.v1: v3
9-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.7.1+git
9+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.10.0+git
1010
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1111
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v2
1212

config/manifests/bases/ibm-namespace-scope-operator-restricted.clusterserviceversion.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,7 @@ spec:
5252
minKubeVersion: ”1.19.0“
5353
provider:
5454
name: IBM
55+
relatedImages:
56+
- image: quay.io/opencloudio/ibm-namespace-scope-operator
57+
name: IBM_NAMESPACE_SCOPE_OPERATOR_IMAGE
5558
version: 0.0.0

config/manifests/bases/ibm-namespace-scope-operator.clusterserviceversion.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,7 @@ spec:
5353
minKubeVersion: 1.19.0
5454
provider:
5555
name: IBM
56+
relatedImages:
57+
- image: quay.io/opencloudio/ibm-namespace-scope-operator
58+
name: IBM_NAMESPACE_SCOPE_OPERATOR_IMAGE
5659
version: 0.0.0

0 commit comments

Comments
 (0)