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

Warn users when attempting to change Authoritative API but Synchronized condition is false

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • CLOUD Sprint 271, CLOUD Sprint 272, CLOUD Sprint 273, CLOUD Sprint 274, CLOUD Sprint 275, CLOUD Sprint 276, CLOUD Sprint 277, CLOUD Sprint 278, CLOUD Sprint 279

      User Story

      As a cluster admin, I want to be told that my authoritative API change may not be effected immediately so that I understand that I may need to check back later.

      Background

      Since we know that authoritative API changes may not always be effected immediately (synchronization errors), we must warn admins that their actions may not take effect.

      This could be implemented using ValidatingAdmissionPolicy.

      Behaviours

      • Warn users when they try to change spec.authoritativeAPI but condition Synchronized is False

      Steps

      • Implement a ValidatingAdmissionPolicy and the appropriate bindings that would emit a warning when the user attempts to change the authoritative API but it is not synchronized

      Stakeholders

      • Cluster infra

      Definition of Done

      • When changing the authoritative API on a non-synchronized resource, a warning is emitted that tells the user that the resource is not synchronized and that the authority change may not be effected immediately.
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

              rh-ee-tbarberb Theo Barber-Bany
              joelspeed Joel Speed
              None
              None
              Huali Liu Huali Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: