mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
25 lines
615 B
YAML
25 lines
615 B
YAML
apiVersion: troubleshoot.sh/v1beta2
|
|
kind: Analyzer
|
|
metadata:
|
|
name: a
|
|
spec:
|
|
analyzers:
|
|
- distribution:
|
|
outcomes:
|
|
- fail:
|
|
when: "= dockerdesktop"
|
|
message: "docker for desktop is not allowed"
|
|
# - fail:
|
|
# when: "microk8s"
|
|
# message: "mickrk8s is not prod"
|
|
- fail:
|
|
when: "!= openshift"
|
|
message: "this should fail on anything other than openshift"
|
|
- warn:
|
|
when: "!= eks"
|
|
message: "YMMV on not eks"
|
|
- pass:
|
|
message: "good work"
|
|
|
|
|