Open mootezbessifi opened 2 years ago
I tried installing controller-gen with this:
go install sigs.k8s.io/controller-tools/cmd/controller-gen@latest
Which results in a new error:
Error: unable to parse option "crd:maxDescLen=0,trivialVersions=true": [unknown argument "trivialVersions" (at <input>:1:29) extra arguments provided: "true" (at <input>:1:30)]
Usage:
controller-gen [flags]
It seems the trivialVersions
argument is no longer supported by controller-gen
as of https://github.com/kubernetes-sigs/controller-tools/commit/09f1952580d4e40a3aab8b1c4f6bfc8de3ae0b0b.
Installing a historical version of controller-gen avoids the above error:
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.0
but introduces a new one:
/home/red/go/bin/controller-gen "crd:maxDescLen=0,trivialVersions=true" rbac:roleName=manager-role webhook paths="./api/v1beta1/..." output:crd:artifacts:config=config/crd/bases
SideEffects is required for creating v1 {Mutating,Validating}WebhookConfiguration
Dears when i am trying to install the operator from source using the
make deploy
command, i am getting the below error: FYS