Skip to content

Commit 91caa88

Browse files
Simon Emmsroboquat
Simon Emms
authored andcommitted
[kots]: add distribution check to the KOTS preflights
Currently, this only checks that it's not OpenShift. This may be expanded in future
1 parent 3fc52d3 commit 91caa88

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

install/kots/manifests/kots-preflight.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ spec:
2727
message: containerd runtime was found.
2828
- fail:
2929
message: Did not find containerd runtime.
30+
- distribution:
31+
outcomes:
32+
- fail:
33+
when: == openshift
34+
message: OpenShift is not supported
35+
- pass:
36+
message: The cluster is using a support distribution
3037
- nodeResources:
3138
checkName: At least one node must "gitpod.io/workload_meta" label
3239
filters:

0 commit comments

Comments
 (0)