Uploaded image for project: 'OpenStack as Infra'
  1. OpenStack as Infra
  2. OSASINFRA-3957

GH-orc-542: API changes to better respect k8s conventions

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • ORC
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • rhos-conplat-osasinfra

      Originally posted on Github: https://github.com/k-orc/openstack-resource-controller/issues/542

      What would you like to see implemented?
      Recent changes to kube-api-linter highlighted problems in our API:

      optional fields are supposed to be pointers
      required fields that have a valid zero value should be pointers

      We had to disable these checks as they would introduce backward incompatible changes in the API. There may be other issues not listed here. We should thoroughly review the ORC prior to the next major bump.
      Kubernetes API conventions for reference: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#optional-vs-required
      Additional information
      No response
      Link to reference documentation
      No response

              Unassigned Unassigned
              maandre@redhat.com Martin André
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: