nativestor
nativestor copied to clipboard
How are the bundle manifests generated?
I could not find a command to regenerate the bundle manifests. How are you doing this? Thanks. Nithya
operator-sdk https://sdk.operatorframework.io/docs/olm-integration/
It does not look like this operator used operator-sdk to generate the code. Is that correct? Did you install operator-sdk and then run a command like the following:
/home/user/go/bin/controller-gen "crd:trivialVersions=true" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
operator-sdk generate kustomize manifests -q
kustomize build config/manifests | operator-sdk generate bundle -q --overwrite --version 0.0.1
What is the exact command you use to generate the bundles?
Thanks.
topolvm-operator use kube-builder to generate the code. and we want to use operator-sdk to rearch.
you can see the operatorhub.io https://github.com/k8s-operatorhub/community-operators/tree/main/operators/topolvm-operator
Do you have the exact command to generate the bundles? I tried with operator-sdk but it failed with the error: [nibalach@localhost topolvm-operator]$ operator-sdk generate bundle -q --overwrite --version 2.0.0 --channels=alpha --default-channel=alpha Error: error reading configuration: open PROJECT: no such file or directory
@nbalacha operator-sdk generate bundle --input-dir=deploy -q --overwrite --version 2.0.0 --channels=alpha --default-channel=alpha --package topolvm-operator