v2.1.0
New features & improvements
⏳ Optional delay for the garbage collection of build pods
The new job.gcDelay
operator setting allows specifying a duration for which successful build & signing pods should be kept before they are garbage-collected.
🛂 Separate deployment for the webhook server
The webhook server is now running as a separate Deployment.
📜 CRD changes
Module
Added inTreeModulesToRemove
to allow specifying a list of in-tree modules to be removed before the main out-of-tree module is loaded.
The old inTreeModuleToRemove
field is still present, but deprecated.
PreflightValidation
Added version v1beta2
with a new status
subresource that is compliant with OpenAPI guidelines.
Version v1beta1
is still served.
🧹 Miscellaneous
cert-manager is not a required dependency anymore when KMM is instsalled via OLM.
Images are now built with Go 1.22.
Installing
Using OLM (recommended)
Follow the installations instructions at OperatorHub.io for KMM or KMM-Hub.
Using make
git fetch
git checkout v2.1.0
# For KMM
make deploy IMAGE_TAG=v20240425-v2.1.0
# For KMM-Hub
make deploy-hub IMAGE_TAG=v20240425-v2.1.0
Changelog
List of pull requests included in this release
- adapting Device Plugin status report in Module to v.2 by @yevgeny-shnaidman in #606
- Update webhook validation for name+namespace length by @yevgeny-shnaidman in #607
- Restructure Worker Pod secrets' volumes' names by @yevgeny-shnaidman in #610
- Bump sigs.k8s.io/controller-runtime from 0.16.2 to 0.16.3 by @dependabot in #613
- Bump k8s.io/kubectl from 0.28.2 to 0.28.3 by @dependabot in #614
- Set the worker restart policy to
OnFailure
by @qbarrand in #609 - Bump github.com/onsi/gomega from 1.28.0 to 1.28.1 by @dependabot in #618
- adapting Worker Pods status report in Module to v.2 by @yevgeny-shnaidman in #619
- Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 by @dependabot in #620
- Bump google.golang.org/grpc from 1.54.0 to 1.56.3 by @dependabot in #623
- Bump github.com/go-logr/logr from 1.2.4 to 1.3.0 by @dependabot in #625
- Bump github.com/onsi/gomega from 1.28.1 to 1.29.0 by @dependabot in #624
- Bump golang.org/x/text from 0.13.0 to 0.14.0 by @dependabot in #629
- Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 by @dependabot in #628
- Bump klog and use the new constructor by @qbarrand in #630
- Bump memory limit to 384Mi by @qbarrand in #631
- Bump github.com/onsi/gomega from 1.29.0 to 1.30.0 by @dependabot in #632
- Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1 by @dependabot in #635
- Rename controller-manager to controller by @qbarrand in #636
- Revert some changes to kustomization.yaml by @qbarrand in #637
- Do not set
createdAt
manually in the CSV by @qbarrand in #641 - Bump Kubernetes dependencies to 0.28.4 by @qbarrand in #643
- Bump github.com/docker/docker from 24.0.0+incompatible to 24.0.7+incompatible by @dependabot in #626
- Allow the controller to delete NodeModulesConfigs by @qbarrand in #645
- Bump OpenTelemetry dependencies by @qbarrand in #647
- Install go before initializing CodeQL by @qbarrand in #648
- Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 by @dependabot in #650
- Update docs for v2.0.0 by @qbarrand in #652
- Bump actions/setup-go from 4 to 5 by @dependabot in #653
- Bump alpine from 3.18 to 3.19 by @dependabot in #654
- Update ordered upgrade docs for v2 by @qbarrand in #657
- Docs typo - Use Cases -
module.name
notmodule-name
by @pcolledg-amd in #656 - Bump client-go to v0.29.0 by @qbarrand in #663
- Bump github/codeql-action from 2 to 3 by @dependabot in #658
- Bump
actions/{up,down}load-artifact
by @qbarrand in #667 - Extract links from kmod images by @qbarrand in #651
- Bump github.com/google/go-containerregistry from 0.16.1 to 0.17.0 by @dependabot in #649
- Remove deprecated module ready labels on nodes by @qbarrand in #668
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #669
- Fix handling of unknown kernels by @qbarrand in #670
- Bump github.com/containerd/containerd from 1.7.10 to 1.7.11 by @dependabot in #671
- Making GetModuleReady/GetDevicePluginReadyLabels functions public by @yevgeny-shnaidman in #672
- Bump go.uber.org/mock from 0.3.0 to 0.4.0 by @dependabot in #674
- Build / sign: handle all owner kinds by @qbarrand in #673
- Refactor worker to support different type of image to be mounted by @yevgeny-shnaidman in #677
- Bump github.com/go-logr/logr from 1.3.0 to 1.4.1 by @dependabot in #676
- Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 by @dependabot in #678
- Fixing DevicePlugin upgrade from v1.x to v2.x by @yevgeny-shnaidman in #679
- Removing
ci/kmm-kmod/Dockerfile
from the CI files. by @ybettan in #680 - Add extra label for controllers to install at worker nodes by @enriquebelarte in #683
- Create a helper interface for mounting OCI images by @yevgeny-shnaidman in #686
- Bump k8s.io/klog/v2 from 2.110.1 to 2.120.0 by @dependabot in #688
- Update docs to v2.0.1 by @qbarrand in #689
- Bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0 by @dependabot in #690
- re-factoring worker's main and funcs_kmods by @yevgeny-shnaidman in #691
- Bump k8s.io/kubectl from 0.29.0 to 0.29.1 by @dependabot in #696
- Bump actions/cache from 3 to 4 by @dependabot in #698
- Bump sigs.k8s.io/controller-runtime from 0.16.3 to 0.17.0 by @dependabot in #692
- Bump github.com/onsi/gomega from 1.30.0 to 1.31.0 by @dependabot in #699
- Bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0 by @dependabot in #702
- Bump k8s.io/klog/v2 from 2.120.0 to 2.120.1 by @dependabot in #701
- Bump github.com/google/go-containerregistry from 0.17.0 to 0.18.0 by @dependabot in #700
- Bump github.com/docker/docker from 24.0.7+incompatible to 25.0.0+incompatible by @dependabot in #704
- Bump github.com/onsi/gomega from 1.31.0 to 1.31.1 by @dependabot in #705
- Bump github.com/moby/moby from 24.0.7+incompatible to 25.0.0+incompatible by @dependabot in #703
- Adding an operator-upgrade Github workflow. by @ybettan in #693
- Bump actions/cache from 3 to 4 by @dependabot in #706
- adding logs to worker flow of config read and set firmware path by @yevgeny-shnaidman in #707
s/RELATED_IMAGES_/RELATED_IMAGE_/
by @qbarrand in #710- Revert "Bump actions/cache from 3 to 4" by @ybettan in #714
- Revert "Adding an operator-upgrade Github workflow." by @ybettan in #715
- Bump github.com/docker/docker from 25.0.0+incompatible to 25.0.1+incompatible by @dependabot in #713
- Bump github.com/moby/moby from 25.0.0+incompatible to 25.0.1+incompatible by @dependabot in #712
- Add kmm and kmm-hub keywords to the CSV metadata by @qbarrand in #709
- Bump github.com/google/go-containerregistry from 0.18.0 to 0.19.0 by @dependabot in #718
- Adding an operator-upgrade Github workflow. by @ybettan in #716
- Allow the Hub to patch pods by @qbarrand in #720
- Bump codecov/codecov-action from 3 to 4 by @dependabot in #724
- Bump github.com/moby/moby from 25.0.1+incompatible to 25.0.2+incompatible by @dependabot in #723
- Bump github.com/docker/docker from 25.0.1+incompatible to 25.0.2+incompatible by @dependabot in #722
- Add a webhook for namespace deletion by @qbarrand in #719
- Move to
ObjectReconciler
by @qbarrand in #730 - Move webhook code to internal/webhook by @qbarrand in #727
- Bump github.com/moby/moby from 25.0.2+incompatible to 25.0.3+incompatible by @dependabot in #728
make operatorhub-release
: bind all environment variables by @qbarrand in #725- Bump github.com/docker/docker from 25.0.2+incompatible to 25.0.3+incompatible by @dependabot in #729
- Document symlinks for in-tree dependencies by @qbarrand in #726
- Restrict checks for image existence by @qbarrand in #734
- Bump sigs.k8s.io/controller-runtime from 0.17.0 to 0.17.1 by @dependabot in #735
- Make slight changes to the CRDs by @qbarrand in #736
- Bump k8s.io/kubectl from 0.29.1 to 0.29.2 by @dependabot in #738
- Bump sigs.k8s.io/controller-runtime from 0.17.1 to 0.17.2 by @dependabot in #742
- Bump open-cluster-management.io/api from 0.12.0 to 0.13.0 by @dependabot in #746
- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 by @dependabot in #750
- Require Go 1.21 by @qbarrand in #751
- Move to
upload-artifact
andcache
v4 by @qbarrand in #745 - Move webhooks to a separate Deployment by @qbarrand in #743
- changing inTreeRemoval to support multiple modules by @yevgeny-shnaidman in #747
- Bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.16.0 by @dependabot in #753
- Cloud Build: build bundles with Go 1.21 by @qbarrand in #755
- Bump github.com/moby/moby from 25.0.3+incompatible to 25.0.4+incompatible by @dependabot in #757
- Bump github.com/docker/docker from 25.0.3+incompatible to 25.0.4+incompatible by @dependabot in #758
- Getting the last published bundles from OLM instead of building it. by @ybettan in #759
- Handle
Module
namespace inPreflightValidation
by @qbarrand in #760 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in #761
- Rename the webhook service by @qbarrand in #769
- OLM: do no use cert-manager by @qbarrand in #770
- Bump github.com/docker/docker from 25.0.4+incompatible to 26.0.0+incompatible by @dependabot in #768
- Bump github.com/google/go-containerregistry from 0.19.0 to 0.19.1 by @dependabot in #762
- Bump k8s.io/kubectl from 0.29.2 to 0.29.3 by @dependabot in #764
- Bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.1 by @dependabot in #771
- Bump github.com/onsi/gomega from 1.31.1 to 1.32.0 by @dependabot in #773
PreflightValidation
: populate old status keys by @qbarrand in #775
New Contributors
- @pcolledg-amd made their first contribution in #656
Full Changelog: v2.0.2...v2.1.0