Skip to content

Update Operator SDK from 1.14.0 to 1.32.0

Clemens Beck requested to merge operator-update-operator-sdk into master

What does this MR do and why?

Update Operator SDK from 1.14.0 to 1.32.0.

gitlab-org/cloud-native/gitlab-operator!702 (merged) applies non-breaking changes/migrations related to the Operator SDK upgrade. The changes are optional and bundling/certification should pass for all maintained stable branches of the GitLab Operator without them.

Relates gitlab-org/cloud-native/gitlab-operator#603 (closed)

Test Plan

Bundle creation and validation

> docker build -f Dockerfile.gitlab-operator-build-base-golang-1.20 -t sdk-1-32:local .
> docker run --rm -ti sdk-1-32:local bash
> operator-sdk version
operator-sdk version: "v1.32.0", commit: "4dcbbe343b29d325fd8a14cc60366335298b40a3", kubernetes version: "1.26.0", go version: "go1.19.13", GOOS: "linux", GOARCH: "amd64"
> mkdir /tmp/test
> cd /tmp/test/
> git clone https://gitlab.com/gitlab-org/cloud-native/gitlab-operator.git
> cd gitlab-operator/
> ./scripts/olm_bundle.sh step1
[...]
INFO[0000] Creating bundle.Dockerfile                   
INFO[0000] Creating bundle/metadata/annotations.yaml    
INFO[0000] Bundle metadata generated successfully
> scripts/olm_bundle.sh validate_bundle
INFO[0000] All validation tests have completed successfully

Checklist

Edited by Clemens Beck

Merge request reports