-
Notifications
You must be signed in to change notification settings - Fork 749
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
[BUG] Kompose should raise and error when profiles are required #1748
Comments
What if you use |
Yes, that helped, thanks. I was checking changelog between versions but wasn't aware of such change. |
After doing some investigations, it seems that |
IMHO it is an error and it currently breaks functionality. |
Yes, I would agree with @cdrage as output now is not informative enough. I would say behavior should be same as with |
From my memories (need to be fact check) the library used for converting does not allow to know if nothing is output, we could probably some kind of work around to ensure something is produced or Parse before using the library, and check if some services have a profile set, and intersect with yhe given --profile arguments and produce warning if none matches or none are provided PS: I do not have access to a computer until a few day, therefore I cannot help until then |
Expected Behavior
Resources generated with compose
kompose convert -f docker-compose.yaml -c -v
(version 1.29)output
Actual Behavior
No resources generated with compose
kompose convert -f docker-compose.yaml -c -v
output
Steps To Reproduce
docker-compose.yaml
with service and profilekompose convert -f docker-compose.yaml -c
Kompose Version
Docker-Compose file
Anything else?
No response
The text was updated successfully, but these errors were encountered: