v1.17.0

(go/v3) Upgrade go and dependencies

Upgrade controller-runtime from 0.10.0 to 0.11.0, k8s from 1.22 to 1.23 and controller-gen from v0.0.7 to v0.8.0. Following the steps to update your project.

  1. Update the go.mod file with:
  1. go 1.17
  2. require (
  3. github.com/onsi/ginkgo v1.16.5
  4. github.com/onsi/gomega v1.17.0
  5. k8s.io/api v0.23.0
  6. k8s.io/apimachinery v0.23.0
  7. k8s.io/client-go v0.23.0
  8. sigs.k8s.io/controller-runtime v0.11.0
  9. )
  1. Run go mod tidy

Now, let’s update the Makefile targets accordingly:

  1. Replace ENVTEST_K8S_VERSION = 1.22 with ENVTEST_K8S_VERSION = 1.23
  2. Replace sigs.k8s.io/controller-tools/cmd/controller-gen@v0.7.0 with sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0
  3. Run make manifests and make generate to ensure that you will update your manifests with the new versions
  4. You might want to run make all to ensure that all updates were done accordinly and succeffully

See #5505 for more details.

Reduce debug log level for the sidecar container kube-rbac-proxy from 10 to 0

Update the file config/default/manager_auth_proxy_patch.yaml by replacing "--v=10" with "--v=0"

See #5505 for more details.

Add resource requests and limits to kube-rbac-proxy

Update the file config/default/manager_auth_proxy_patch.yaml by adding:

  1. ...
  2. resources:
  3. limits:
  4. cpu: 500m
  5. memory: 128Mi
  6. requests:
  7. cpu: 5m
  8. memory: 64Mi

See #5505 for more details.

Last modified February 3, 2022: Release v1.17.0 (#5541) (704b02a9)