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

HealthCheck docs list "selector" twice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.14.0
    • None
    • Low
    • No
    • T&PS 2023 #12, T&PS 2023 #13
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The health check docs show an example with 

      
      apiVersion: machine.openshift.io/v1beta1
      kind: MachineHealthCheck
      metadata:
        name: example
        namespace: openshift-machine-api
      spec:
        selector:
          matchLabels:
            machine.openshift.io/cluster-api-machine-role: <role>
            machine.openshift.io/cluster-api-machine-type: <role>
            machine.openshift.io/cluster-api-machineset: <cluster_name>-<label>-<zone>
        selector:
          apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
          kind: Metal3RemediationTemplate
          name: metal3-remediation-template
          namespace: openshift-machine-api
      

      the second selector should be "remediationTemplate"

            rhn-support-kquinn Kevin Quinn
            dhiggins@redhat.com Derek Higgins
            Jad Haj Yahya Jad Haj Yahya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: