Uploaded image for project: 'OpenShift CFE'
  1. OpenShift CFE
  2. CFE-1047

Add the field "CapacityReservationGroupID" to "AzureMachineProviderSpec" in openshift/api 

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • openshift-4.17
    • None
    • None
    • None
    • 5
    • CFE Sprint 252, CFE Sprint 253
    • 0

      User Story

      As a developer I want to add the field "CapacityReservationGroupID" to "AzureMachineProviderSpec" in openshift/api so that Azure capacity reservation can be supported.

      Background

      CFE-1036 adds the support of Capacity Reservation in upstream CAPZ (PR). The same support is needed to be added downstream also. Please refer the upstream PR for adding support downstream.

      Slack discussion regarding the same: https://redhat-internal.slack.com/archives/CBZHF4DHC/p1713249202780119?thread_ts=1712582367.529309&cid=CBZHF4DHC_

      Steps

      • Add the field "CapacityReservationGroupID" to "AzureMachineProviderSpec"
      • The new field should be immutable. Add validations for the same.
      • Add tests to validate the immutability.

      Stakeholders

      • Cluster Infra
      • CFE

      Definition of Done

      • The PR should be reviewed and approved.
      • Docs
      • Add appropriate godoc for the field explaining its purpose
      • Testing
      • Add tests to validate the immutability.

            rh-ee-aagnihot Anirudh Agnihotri
            rh-ee-arsen Arkadeep Sen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: