Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-2138

Create scale from zero annotations util module in MAO

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • CLOUD Sprint 243, CLOUD Sprint 244

      User Story

      As a developer I want to have a consistent way to apply the scale from zero annotations so that it is easier to update the various provider machineset actuators. Having a utility module in the MAO will make this easier by providing a single place for all the MachineSet actuators to share.

      Background

      Currently the individual provider MachineSet actuators each contain string variables and independent implementations of the scale from zero annotations. This configuration is more brittle than having a central module which could be utilized by all the providers.

      Steps

      • Create a scale from zero utility module in MAO that contains both the upstream and downstream scale from zero annotations.
      • Add convenience functions for checking, adding, and updating the MachineSet annotations.
      • Add unit tests for any functions with conditional logic

      Stakeholders

      • openshift cloud team

      Definition of Done

      • Module exists in MAO with tests and can be imported by providers
      • Docs
      • developer docs should be updated in MAO
      • Testing
      • Most of the functions in this chage should be getter/setter types, but if conditional functions are introduced then we should have unit tests to exercise them.

            dodvarka@redhat.com Daniel Odvarka (Inactive)
            mimccune@redhat.com Michael McCune
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: