Comments (8)
What if you use --profile test
in your kompose command
from kompose.
from kompose.
Yes, that helped, thanks. I was checking changelog between versions but wasn't aware of such change.
from kompose.
Thanks @s33kers for opening the issue and @axel7083 for the followup. I think that it should at least raise an error to make the user aware that something is missing.
from kompose.
After doing some investigations, it seems that compose-go/cli
should raise an error when no profile is found, so it's not a behavior that is controlled by Kompose.
from kompose.
IMHO it is an error and it currently breaks functionality. kompose convert
will not show any output if a profile is not found. Kompose should at least error when trying to convert.
from kompose.
Yes, I would agree with @cdrage as output now is not informative enough. I would say behavior should be same as with docker compose --profile
printing no service selected
(e.g. with docker-compose.yaml provided in a description). So something similar could be here 🤷
from kompose.
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
from kompose.
Related Issues (20)
- Add label for initContainers HOT 3
- [BUG] Updated doc installation.md HOT 4
- [BUG] Kompose does not mount secrets like compose HOT 3
- run-kompose pre-commit hook HOT 2
- Request for migration to community infrastrucuture! HOT 4
- Automate release process. HOT 2
- Kubernetes-Security-Slam-2023 HOT 3
- the image used in the https://kompose.io/user-guide/ is broken & has to be replaced HOT 1
- [BUG] Conflicting name assigned to configmap generated for compose referencing ".env" files HOT 2
- Create ConfigMaps automatically from existing docker-compose volume mounts. HOT 2
- Add Labels for CronJob HOT 1
- docker-compose to k8s HOT 2
- Consolidate filenames in tests from docker-compose[.*].y[a]ml to compose[.*].yaml
- [BUG] fail to convert example HOT 6
- Website does not have the correct trademark disclaimer
- [BUG] Kompose Client can't create pods / cronjobs
- [BUG] Bump Alpine HOT 2
- [BUG] Update README.md doc HOT 7
- [BUG] Creating ConfigMaps from volume mounts in windows is unsuccessful when the working directory is specified as an absolute path.
- [BUG] Creating ConfigMaps from volume mounts with CRLF characters should be converted as text and not binary.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kompose.