Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32739

MachineConfigurations is only effective with name <cluster>

XMLWordPrintable

      Description of problem:

      Currently MachineConfiguration is only effective with name cluster, we can create multiple MachineConfigurations with other names like
      
      apiVersion: operator.openshift.io/v1
      kind: MachineConfiguration
      metadata:
        name: ndp-file-action-none
        namespace: openshift-machine-config-operator
      spec:
        nodeDisruptionPolicy:
          files:
            - path: /etc/test
              actions:
                 - type: None
      
      But only 'cluster' can take action, it will make the user confused

      Version-Release number of selected component (if applicable):

          

      How reproducible:

      always

      Steps to Reproduce:

      Create MachineConfiguration with any name expect 'cluster'     

      Actual results:

      new MachineConfiguration won't be effective

      Expected results:

      if the function only works with 'cluster' object, we should reject the CR creation with other names

      Additional info:

          

              djoshy David Joshy
              rhn-support-rioliu Rio Liu
              Rio Liu Rio Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: