-
Notifications
You must be signed in to change notification settings - Fork 541
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
OLM generate bundle silently drops k8s resources existing in manifests #3196
Comments
I believe OLM has a limitation as to which resources are valid to be included in a bundle. You should be able to find that list of resources here: https://olm.operatorframework.io/docs/tasks/creating-operator-manifests/#packaging-additional-objects-alongside-an-operator |
Just to note, we are currently working on OLM v1 which, as far as I am aware, will not have this same limitation. |
Ah! That is it. Thanks for highlighting that! Is there a recommended approach to work around this limitation at the moment? If I can't deploy all the resources as part of the bundle, I'm not sure I can continue with the OLM approach and might need to consider going back to helm charts instead. |
Not that I am personally aware of. maybe @joelanford or @kevinrizza have some insights into workarounds? |
Closing, as the main question has been resolved and there is clear documentation about it. |
Support
Help around the operator-sdk generate bundle
Question
How can I include k8s resources that are not part of the k8s core apis, or config-maps generated by kustomize?
What did you do?
Alongside my operator, I want to rollout k8s resources that are not part of the core apis as well as a kustomize generated config map.
Specifically, I want to deploy the following:
What did you expect to see?
I expect:
bundle/manifests
:What did you see instead? Under which circumstances?
Bundle Creation:
another-sa
andconfig
are present in the bundle,my-secret
is missing from the bundle.Operator Deployment:
config
is not created in the target cluster, and the operator deployment can't start.Environment
Additional context
Add any other context about the question here.
The text was updated successfully, but these errors were encountered: