Skip to content

Commit b2deecc

Browse files
jagan2221Gourav2906
authored andcommitted
Update operator certification steps
1 parent 3658fee commit b2deecc

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/dev/update.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,23 @@ mv generated_bundle.yaml bundle.yaml
219219

220220
1. Test new Helm Operator version, please use [this](https://github.com/SumoLogic/sumologic-kubernetes-collection-helm-operator/blob/main/docs/dev/test.md) instruction (please omit first step and use images created for the new Helm Operator version).
221221

222-
1. Submit Helm Operator image for certification in [http://connect.redhat.com/](http://connect.redhat.com/). Please use the instructions here [https://connect.redhat.com/component/view/608aaab7ebd9cca472b09434/images/setup-preflight] to certify the image. Please note, you will need a Redhat (>8.0) or Fedora (>34.0) machine to undergo the steps.
222+
1. Submit Helm Operator image for certification in [http://connect.redhat.com/](http://connect.redhat.com/). Please use the instructions here [https://connect.redhat.com/component/view/608aaab7ebd9cca472b09434/images/setup-preflight] to certify the image. Please note, you will need a Redhat (>8.0) or Fedora (>34.0) machine to undergo the steps.
223+
- Example commands upload the operator to redhat container registry(quay.io) and certify them using preflight. Below are just handy commands, refer [redhat certification manual](https://connect.redhat.com/component/view/608aaab7ebd9cca472b09434/images/setup-preflight) to get complete details and then use below commands for reference.
224+
225+
- Upload image to Container registry
226+
```bash
227+
docker login -u redhat-isv-containers+608aaab7ebd9cca472b09434-robot quay.io (Get login password from redhat component page)
228+
docker pull public.ecr.aws/sumologic/sumologic-kubernetes-collection-helm-operator:latest
229+
docker tag b22d52f29f8f quay.io/redhat-isv-containers/608aaab7ebd9cca472b09434:4.17.1-0
230+
docker push quay.io/redhat-isv-containers/608aaab7ebd9cca472b09434:4.17.1-0
231+
```
232+
233+
- Submit for certification using preflight
234+
```bash
235+
podman login --username redhat-isv-containers+608aaab7ebd9cca472b09434-robot --password ******* --authfile ./temp-authfile.json quay.io
236+
preflight check container quay.io/redhat-isv-containers/608aaab7ebd9cca472b09434:4.17.1-0 --submit --pyxis-api-token=****** --certification-component-id=608aaab7ebd9cca472b09434 --docker-config=./temp-authfile.json
237+
```
238+
223239

224240
1. Update Helm Operator image in ClusterServiceVersion, please see example [pull request](https://github.com/SumoLogic/sumologic-kubernetes-collection-helm-operator/pull/129).
225241

0 commit comments

Comments
 (0)