v1.4.0
See #4472 for more details.
For Helm and Ansible projects, fix the helm-operator and ansible-operator URLs in the Makefile
- Helm projects: Old:
https://github.com/operator-framework/operator-sdk/releases/download/v1.3.0/helm-operator-v1.3.0-$(ARCHOPER)-$(OSOPER)
New:https://github.com/operator-framework/operator-sdk/releases/download/v1.3.1/helm-operator_$(OS)_$(ARCH)
See #4407 for more details.
These rules will download a local binary but not use it if a global binary is present. See the diff in for how to fix this.
See #4412 for more details.
For Helm-based operators, add Liveness and Readiness probe
New projects built with the tool will have the probes configured by default. The endpoints /healthz
and are available now in the image based provided. You can update your pre-existing project to use them. For that update the Dockerfile to use the latest release base image, then add the following to the manager
container in config/manager/manager.yaml
:
See #4326 for more details.
livenessProbe:
httpGet:
path: /healthz
port: 6789
initialDelaySeconds: 15
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
initialDelaySeconds: 5
periodSeconds: 10
See for more details.
(go/v2) Change go
PROJECT plugin object to manifests
and scorecard
objects
The and scorecard
plugins that create OLM and scorecard manifests, respectively, now have plugin objects that direct create
subcommands to create related files. While the old go
plugin configuration object is still supported, these new objects will be useful in the future as configuration options are added to their respective plugins:
Old:
New:
version: 3-alpha
...
plugins:
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
See for more details.
The manifests
and scorecard
plugins that create OLM and scorecard manifests, respectively, now have plugin objects that direct create
subcommands to create related files. While not necessary to add, these new plugin configuration objects in the PROJECT file will be useful in the future as configuration options are added to their respective plugins:
Move positional directory argument .
in docker-build
make target
The directory argument .
in the docker-build
make target was moved to the last positional argument to align with podman
‘s expectations, making substitution cleaner.
Old:
docker-build:
docker build . -t ${IMG}
New:
Alternatively, you could replace it programmatically
See for more details.