Skip to content

Commit f3f1379

Browse files
author
Christopher Bradford
committed
Added CSV and CRD for 1.5.1
1 parent c884e50 commit f3f1379

File tree

5 files changed

+7253
-5
lines changed

5 files changed

+7253
-5
lines changed

docs/developer/packaging.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@ _Note see Red Hat's [Gitbook](https://redhat-connect.gitbook.io/partner-guide-fo
5959
sed -i s/"$OLD_VERSION"/$NEW_VERSION/g bundle-$NEW_VERSION.Dockerfile
6060
```
6161

62-
4. Copy in updated CRD
62+
4. Copy in updated CRD and patch
6363

6464
```console
6565
cp ../deploy/crds/* $NEW_VERSION/manifests/
66+
patch $NEW_VERSION/manifests/cassandra.datastax.com_cassandradatacenters_crd.yaml ../../mage/operator/crd.patch
67+
rm $NEW_VERSION/manifests/cassandra.datastax.com_cassandradatacenters_crd.yaml.orig
6668
```
6769

68-
5. Compare the old and new CSVs for differences and update `$NEW_VERSION/manifests/cass-operator.v$NEW_VERSION.lusterserviceversion.yaml`
70+
5. Compare the old and new CSVs for differences and update `$NEW_VERSION/manifests/cass-operator.v$NEW_VERSION.clusterserviceversion.yaml`
6971
1. Update `metadata.annotations.containerImage` version
7072
2. Update `metadata.annotations.createdAt` datestamp
7173
3. Update `metadata.annotations.name` field
@@ -86,9 +88,9 @@ _Note see Red Hat's [Gitbook](https://redhat-connect.gitbook.io/partner-guide-fo
8688
7. Build local catalog index for testing
8789
8890
```console
89-
opm index add --bundles docker.io/bradfordcp/cass-operator-bundle:1.0.0,docker.io/bradfordcp/cass-operator-bundle:1.2.0,docker.io/bradfordcp/cass-operator-bundle:1.3.0,docker.io/bradfordcp/cass-operator-bundle:1.4.0,docker.io/bradfordcp/cass-operator-bundle:1.4.1,docker.io/bradfordcp/cass-operator-bundle:1.5.0 --tag docker.io/bradfordcp/catalog-index:1.5.0 -u docker
90-
docker tag bradfordcp/catalog-index:1.5.0 bradfordcp/catalog-index:latest
91-
docker push bradfordcp/catalog-index:1.5.0
91+
opm index add --bundles docker.io/bradfordcp/cass-operator-bundle:1.0.0,docker.io/bradfordcp/cass-operator-bundle:1.2.0,docker.io/bradfordcp/cass-operator-bundle:1.3.0,docker.io/bradfordcp/cass-operator-bundle:1.4.0,docker.io/bradfordcp/cass-operator-bundle:1.4.1,docker.io/bradfordcp/cass-operator-bundle:1.5.0,docker.io/bradfordcp/cass-operator-bundle:1.5.1 --tag docker.io/bradfordcp/catalog-index:1.5.1 -u docker
92+
docker tag bradfordcp/catalog-index:1.5.1 bradfordcp/catalog-index:latest
93+
docker push bradfordcp/catalog-index:1.5.1
9294
docker push bradfordcp/catalog-index:latest
9395
```
9496
8. Add index as a [`CatalogSource`](olm/catalogsource.yaml) in k8s

0 commit comments

Comments
 (0)