Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-13548

Add validation for replicas in WatcherDecisionEngine and WatcherApplier

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • watcher-operator
    • None

      As discussed on https://issues.redhat.com/browse/OSPRH-11957 until we handle properly the scale down scenario, we need to make sure that decision-engine and applier are created with replica=1.

      The best of implementing this is to add a validation rule in watcher webhook to make sure that the value for replicas for decision-engine and applier are always set to 1. Otherwise, the request should not be accepted.

      Definition of Done:

      A request to create a Watcher CR which sets replicas to > 1 in WatcherDecisionEngine or WatcherApplier is not accepted.

              dviroel Douglas Viroel
              amoralej1@redhat.com Alfredo Moralejo Alonso
              Alfredo Moralejo Alonso, Marios Andreou (Inactive)
              rhos-workloads-evolution
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: