Uploaded image for project: 'Operator Runtime'
  1. Operator Runtime
  2. OPRUN-3510

[UPSTREAM] Update fields in the spec to no longer be a pointer #1146

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • None
    • XMen OLM Sprint 258, YellowJacket OLM Sprint 259

      As outlined in the [Pointers subsection of the OpenShift API Conventions](https://github.com/openshift/enhancements/blob/master/dev-guide/api-conventions.md#pointers), in configuration APIs, pointers should only be used when there is an explicit need to distinguish between a zero value and a nil value. An exception here is pointers in the Status subresource since a nil value has a different meaning in the Status subresource than the Spec.

      We propose that the following fields, not having the explicit need to distinguish between the zero and nil values, should be updated to no longer be pointers:

      The following fields do not have the explicit need to distinguish between the zero and nil values, meaning they should be updated to no longer be pointers based on the OpenShift API Conventions:

              rh-ee-jkeister Jordan Keister
              rh-ee-bpalmer Bryce Palmer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: