v1.18.0

Header text for the migration section

Body of the migration section. This should be formatted as markdown and can span multiple lines.

Using the YAML string ‘|’ operator means that newlines in this string will be honored and interpretted as newlines in the rendered markdown.

See #5542 for more details.

Support image digests instead of tags

Add following variables to your project’s Makefile below the BUNDLE_IMG ?=.

# BUNDLE_GEN_FLAGS are the flags passed to the operator-sdk generate bundle command
BUNDLE_GEN_FLAGS ?= -q --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)

# USE_IMAGE_DIGESTS defines if images are resolved via tags or digests
# You can enable this value if you would like to use SHA Based Digests
# To enable set flag to true
USE_IMAGE_DIGESTS ?= false
ifeq ($(USE_IMAGE_DIGESTS), true)
    BUNDLE_GEN_FLAGS += --use-image-digests
endif

Using the YAML string ‘|’ operator means that newlines in this string will Then in the bundle target we want to replace the flags passed to generate bundle with a reference to the BUNDLE_GEN_FLAGS above.

The generate bundle line should look like this

$(KUSTOMIZE) build config/manifests | operator-sdk generate bundle $(BUNDLE_GEN_FLAGS)

For reference the PREVIOUS version looked as follows

$(KUSTOMIZE) build config/manifests | operator-sdk generate bundle -q --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)

See #5567 for more details.

Add requirement cloud.common for Ansible-based operators

Add the following line in requirements.go when using operator ansible sdk:

- name: cloud.common
  version: "2.1.0"

See #5505 for more details.

Last modified February 25, 2022: Release v1.18.0 (#5571) (c9c61b69)