Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-1802

Day 0 MachineSet Security Group Filters workaround

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • False
    • None
    • False

      ODF has an urgent need to be able to add security group filters to worker MachineSets for "day 0" – i.e. initial cluster installation. This is currently only supported by the installer by editing the MachineSet manifests between openshift-install create manifests and openshift-install create cluster. HIVE-1793 is going to track designing a (hopefully elegant) supported way to make arbitrary edits to manifests via the API. This card is for a short-term workaround to satisfy the immediate need.

      A more detailed design will be forthcoming shortly, but what we're thinking at the moment is:

      An annotation on MachinePool whose value is the string to be added to (take a deep breath) MachineSet.Spec.Template.Spec.ProviderSpec.Value.Object.SecurityGroups[].Filters[].Values.

      This will also be plumbed into the "day 2" side so it will also affect new MachineSets when scaling.

      The annotation will be undocumented and officially unsupported, to be replaced by a better solution that comes out of HIVE-1793, or the installer, or ODF itself.

      abutcher@redhat.com igoihman@redhat.com vkarehfa omitrani

        1. hive-controllers-c666d886-v6kkb.log
          1.57 MB
          Jianping Shu
        2. image-2022-04-18-13-00-09-562.png
          115 kB
          Andrew Butcher
        3. jshu-cluster-0-tdxnx-provision-khpmb.log
          183 kB
          Jianping Shu
        4. Screen Shot 2022-04-17 at 1.16.35 PM.png
          321 kB
          Jianping Shu
        5. Screen Shot 2022-04-17 at 1.52.37 PM.png
          210 kB
          Jianping Shu
        6. Screen Shot 2022-04-17 at 8.21.16 PM.png
          126 kB
          Jianping Shu

              abutcher@redhat.com Andrew Butcher
              efried.openshift Eric Fried
              Jianping Shu Jianping Shu
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: