openshift / kube-compare

A Kubectl plugin to allow to compare a known valid reference configuration and a set of specific cluster configuration CRs.
Apache License 2.0
8 stars 8 forks source link

What is the significance of .parts.components.type (missing doc i think) #47

Open pixelsoccupied opened 5 days ago

pixelsoccupied commented 5 days ago

The following seem to give me the same output? (i dont have control-plane-load-kernel-modules.yaml in my cluster)

Parts:
  - name: my-part
    Components:
      - name: my-component-1
        type: Optional
        requiredTemplates:
          - control-plane-load-kernel-modules.yaml
Parts:
  - name: my-part
    Components:
      - name: my-component-1
        type: Required
        optionalTemplates:
          - control-plane-load-kernel-modules.yaml
Parts:
  - name: my-part
    Components:
      - name: my-component-1
        requiredTemplates:
          - control-plane-load-kernel-modules.yaml