cloud-native-toolkit / cloud-native-toolkit/planning
operator fails to install after deployment with toolkit
- Dominant language
- No language data
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
After following the operator devops pipelines, operator doesn't install
Get error message in pod job when installing the operator
```
❯ oc logs -n openshift-marketplace fb150a531a7b390a14aaa176332fc91e0136718978d559010cad886289wzmrf
time="2021-02-16T04:04:26Z" level=info msg="Using in-cluster kube client config"
time="2021-02-16T04:04:26Z" level=info msg="Reading file" file=/bundle/manifests/cache.example.com_memcacheds.yaml
time="2021-02-16T04:04:26Z" level=info msg="Reading file" file=/bundle/manifests/memcached-operator-controller-manager-metrics-service_v1_service.yaml
time="2021-02-16T04:04:26Z" level=info msg="Reading file" file=/bundle/manifests/memcached-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml
time="2021-02-16T04:04:26Z" level=info msg="Reading file" file=/bundle/manifests/memcached-operator.clusterserviceversion.yaml
time="2021-02-16T04:04:26Z" level=info msg="Reading file" file=/bundle/metadata/annotations.yaml
Error: error loading manifests from directory: annotation validation failed, missing or empty values: operators.operatorframework.io.bundle.channel.default.v1
Usage:
opm alpha bundle extract [flags]
Flags:
-c, --configmapname string name of configmap to write bundle data
-l, --datalimit uint maximum limit in bytes for total bundle data (default 1048576)
--debug enable debug logging
-h, --help help for extract
-k, --kubeconfig string absolute path to kubeconfig file
-m, --manifestsdir string path to directory containing manifests (default "/")
-n, --namespace string namespace to write configmap data (default "openshift-operator-lifecycle-manager")
```
**To Reproduce**
Follow the guide using ansible-operator https://cloudnativetoolkit.dev/getting-started-day-1/build-operator
Initialize operator on OSX using
```
operator-sdk version: "v1.4.2", commit: "4b083393be65589358b3e0416573df04f4ae8d9b", kubernetes version: "v1.19.4", go version: "go1.15.8", GOOS: "darwin", GOARCH: "amd64"
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.