Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CrcBundleInfo's IsOpenShift() now considers OKD to also be OpenShift
There are numerous places in the CRC code base that calls IsOpenShift() to run logic that is not intended for Podman setups or other more limited setups. Using the "okd" preset gives you something that is very close to the "openshift" preset. CrcBundleInfo's IsOpenShift() now treats the "okd" preset as if it was OpenShift. This means we can avoid littering the code with checks for both OpenShift and OKD in a bunch of places, which also reduces the risk of forgetting to check for OKD. Fixes #3635
- Loading branch information