The `kubectl operator install` instructions are broken (after upgrading kubectl operator v0.3.0 -> v0.4.0)
wallrj opened this issue · comments
Richard Wall commented
The kubectl operator install
instructions are broken (after upgrading kubectl operator v0.3.0 -> v0.4.0)
$ kubectl operator install cert-manager -n operators --channel candidate --approval Automatic
failed to install operator: operator "cert-manager" not installable: install modes supported by operator ("AllNamespaces") not compatible with install modes supported by existing operator group ("SingleNamespace")
It seems that with the latest kubectl operator
plugin
Originally posted by @wallrj in cert-manager/cert-manager-olm#68 (comment)
Richard Wall commented
The work around is:
$ kubectl create ns cert-manager
namespace/cert-manager created
$ kubectl operator install cert-manager -n cert-manager --channel candidate --approval Automatic --create-operator-group
operatorgroup "cert-manager" created
subscription "cert-manager" created
operator "cert-manager" installed; installed csv is "cert-manager.v1.8.0-rc1"