Instructions for installing olm are nice. Instructions for upgrading and completely uninstalling olm would also be nice, but are missing.
I must be doing something wrong. Install complains there is an old version. Uninstall complains there is not.
╰─➤ crc version
CodeReady Containers version: 1.27.0+3d6bc39d
OpenShift version: 4.7.11 (embedded in executable)
╰─➤ operator-sdk version
operator-sdk version: "v1.8.0", commit: "d3bd87c6900f70b7df618340e1d63329c7cd651e", kubernetes version: "1.20.2", go version: "go1.16.4", GOOS: "linux", GOARCH: "amd64"
╰─➤ operator-sdk olm status
I0610 11:06:58.594810 12377 request.go:655] Throttling request took 1.044842112s, request: GET:https://api.crc.testing:6443/apis/operators.coreos.com/v1?timeout=32s
FATA[0002] Failed to get OLM status: error getting installed OLM version (set --version to override the default version): no existing installation found
╰─➤ operator-sdk olm install
I0610 10:56:22.201083 8918 request.go:655] Throttling request took 1.027394973s, request: GET:https://api.crc.testing:6443/apis/build.openshift.io/v1?timeout=32s
INFO[0002] Fetching CRDs for version "latest"
INFO[0002] Fetching resources for resolved version "latest"
FATA[0003] Failed to install OLM version "latest": detected existing OLM resources: OLM must be completely uninstalled before installation
╰─➤ operator-sdk olm uninstall
I0610 11:00:34.618180 10216 request.go:655] Throttling request took 1.020717631s, request: GET:https://api.crc.testing:6443/apis/rbac.authorization.k8s.io/v1beta1?timeout=32s
FATA[0002] Failed to uninstall OLM: error getting installed OLM version (set --version to override the default version): no existing installation found
Instructions for installing olm are nice. Instructions for upgrading and
completely uninstalling
olm would also be nice, but are missing.I must be doing something wrong. Install complains there is an old version. Uninstall complains there is not.