Create Community operator resources
This MR creates a make target that would be used to generate the resources used to publish the GitLab Runner community operator.
Uses yq
to set metadata.annotations.containerImage
and spec.replaces
fields. This could be replaced with any other tool that could do the job.
Example:
$ make community-operator IMG=registry.gitlab.com/gitlab-runner-operator/gitlab-runner-operator:v1.0.0 VERSION=13.10.0 OLD_VERSION=13.9.0-rc2 CHANNEL=stable
This will result in the directory community-operator/13.10.0 being created. With each new version of the operator, the previous operator directory would need to exist.
Related to #43 (closed)