-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Missing attributes in the file generated by "operator-sdk olm-catalog" #1259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @camilamacedo86
Those you need to fill in yourself as a user. There is a docs PR to clarify this to users, along with a list of fields you need to input. https://github.com/operator-framework/operator-sdk/pull/1242/files#diff-e0a112b07230172e80465d88412384bdR84 |
I believe this issue is not about It's fine, though inconvenient, to expect the user to fill them in, but it'd be nice if the |
@jcrossley3 thanks for the feedback, pinging @estroz as he mainly works on this. |
@camilamacedo86 @jcrossley3 we're working on a PR (#1162) to infer data in Side note: |
@estroz thank you, but it wasn't clear to me how to use that config file to preserve those entries. do you have an example? |
@jcrossley3 by preserve you mean not overwrite what's already in the CSV? If so, #1162 intends to determine what to put in |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
It can be closed. |
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
Missing attributes in the file generated by "operator-sdk olm-catalog"
What did you do?
operator-sdk olm-catalog gen-csv --csv-version 0.0.1 --csv-config memcached-operator.0.0.1.clusterserviceversion.yaml
What did you expect to see?
When applying the resource by " kubectl apply -f ../0.0.1/memcached-operator.v0.0.1.clusterserviceversion.yaml" all worked well
What did you see instead? Under which circumstances?
The following attributes missing.
The same issue will be checked for the following attributes.
Environment
Master Branch
Kubernetes cluster kind: Minishift with OLM
Are you writing your operator in ansible, helm, or go?
Go
Possible Solution
Just make the command add the missing values as I added them manually.
and
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: