yugabyte / yugabyte-operator

Kubernetes Operator for YugabyteDB (legacy)
65 stars 29 forks source link

[YBOPERATOR-3] Error while generating CSV file with Operator SDK #8

Open nchandrappa opened 4 years ago

nchandrappa commented 4 years ago

We get the below error when generating CSV file with Operator SDK

$ operator-sdk generate csv --csv-version 0.9.0
INFO[0000] Generating CSV manifest version 0.9.0
FATA[0000] catalog scaffold failed: stat deploy/role.yaml: no such file or directory

We need to create a role.yaml file. ClusterRole is currently defined in operator.yaml, we'll need to define the same in role.yaml which is a requirement for generating CSV file.