Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-31296

Replace deprecated fake.NewSimpleClientset() in unit tests

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Central
    • None
    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • No
    • Rox Sprint 4.10D

      User or Developer story:

      https://pkg.go.dev/k8s.io/client-go/kubernetes/fake#NewSimpleClientset

      func NewSimpleClientset(objects ...runtime.Object) *Clientset
      

      DEPRECATED: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig).

      Acceptance Criteria:

      A list of specific needs or objectives that this story must deliver in order to be considered complete. Complete during Refinement status.

      Not in Scope (Optional):

      List of items that are out of scope . Complete during Refinement status.

      Engineering Details (Optional):

      Any additional engineering details . Complete during Refinement status.

       

              shesselm@redhat.com Stephan Hesselmann
              mipetrov@redhat.com Michaël Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: