v1.18.0

Bumped java-operator-plugins to v0.2.0

Additions:

  1. - chore: bump go 1.17, k8s 1.23, and kubebuilder 3.3
  2. - chore(deps): update to Quarkus SDK extension 3.0.2 and Quarkus 2.6.3
  3. - chore(deps): update to use Quarkus JOSDK extension 3.0.1
  4. - Remove useless file
  5. - chore: bump k8s 1.22.2 and kubebuilder 3.2
  6. - exposed exnpoints for micrometer metrics
  7. - modified the Quarkus operator SDK version and tutorial too
  8. - chore: bump fabric8 5.8.0 & quarkus 2.4.0
  9. - modified the doc file and removed file after generation
  10. - release: fix release script to understand release branches

Bug Fixes:

  1. - Fix for wrongly generated file name

See #5542 for more details.

Support image digests instead of tags

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

  1. # BUNDLE_GEN_FLAGS are the flags passed to the operator-sdk generate bundle command
  2. BUNDLE_GEN_FLAGS ?= -q --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)
  3. # USE_IMAGE_DIGESTS defines if images are resolved via tags or digests
  4. # You can enable this value if you would like to use SHA Based Digests
  5. # To enable set flag to true
  6. USE_IMAGE_DIGESTS ?= false
  7. ifeq ($(USE_IMAGE_DIGESTS), true)
  8. BUNDLE_GEN_FLAGS += --use-image-digests
  9. 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

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

For reference the PREVIOUS version looked as follows

  1. $(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:

  1. - name: cloud.common
  2. version: "2.1.0"

See #5505 for more details.

Last modified April 1, 2022: fix java bump changelog in v1.18.0 docs (#5614) (324ca13a)