Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correcting the digest form in the CSV (#861)
### Objective: To correct the digest form in the CSV ### Explanation: With the flag `--use-image-digests` we no longer need any further manual modification and this flag also add the relatedImages field in the digest form. ### Related PR: * [digest-pinning failure](redhat-openshift-ecosystem/certified-operators#2914) ### Next steps: * After this PR get merged, we need admin to push new images to proceed any further. ### Current Issue: * [Current Issue](https://github.com/redhat-openshift-ecosystem/certified-operators/pull/2914/files#diff-3c33b5813deded9fc262b5243b82d53983642310e3913e2d0d41da30815a8c06R277-R284) ```yaml relatedImages: - image: gcr.io/kubebuilder/kube-rbac-proxy@sha256:d4883d7c622683b3319b5e6b3a7edfbf2594c18060131a8bf64504805f875522 name: kube-rbac-proxy - image: |- quay.io/minio/directpv-operator@sha256:b74241c40d52e8967c85881e94b4fd760fbd8073052a5d1b45c9a61f84e62449 sha256:de8ab6152131ae84fd1f9e70874b263d0a4af45df9cd472d3247cacf0aeb6777 sha256:de8ab6152131ae84fd1f9e70874b263d0a4af45df9cd472d3247cacf0aeb6777 name: manager ``` > Manager image is wrong in sha form but all appended due to the podman command that is miscalculating the value, which in addition is of no use since --use-image-digests flag can do this for us in the correct way. ### Local Testing: * Performed in Ubuntu Machine, output is: ```yaml relatedImages: - image: gcr.io/kubebuilder/kube-rbac-proxy@sha256:d4883d7c622683b3319b5e6b3a7edfbf2594c18060131a8bf64504805f875522 name: kube-rbac-proxy - image: quay.io/cniackz4/directpv-operator@sha256:1a6a0cec860ec941c934989a0f0877d1955aa18e95fabb130bb5df19554ed862 name: manager ``` ### Documentation: * [digest-pinning](https://github.com/redhat-openshift-ecosystem/certification-releases/blob/main/4.9/ga/troubleshooting.md#digest-pinning) ### Related Case: * [RedHat Case](https://connect.redhat.com/support/technology-partner/#/case/03620644)
- Loading branch information