Skip to content

Make use of features in controller-runtime v0.5.1 #26

@edwardecook

Description

@edwardecook

There is a new release of controller-runtime, v0.5.1, that contains a couple of features which look like they are potentially of interest to us:

  • Add controllerutil.SetOwnerReference
  • Webhook support in envtest

controllerutil.SetOwnerReference in particular is of interest as we are currently using controllerutil.SetControllerReference to set non-controller OwnerRefs which is a slight misuse of the function. The webhook support in envtest should help us improve our tests to just be local.

Note: there is a dependabot PR that contains the bump to v0.5.1, #24.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions