CRD

Checking if a CRD exists in the cluster

This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see docs.replicated.com.

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!