CRD

Checking if a CRD exists in the cluster

apiVersion: troubleshoot.replicated.com/v1beta1
kind: Preflight
metadata:
  name: preflight-sample
spec:
  analyzers:
    - customResourceDefinition:
        customResourceDefinitionName: rook
        outcomes:
          - fail:
              message: You don't have rook installed
          - pass:
              message: Found rook!