-
Notifications
You must be signed in to change notification settings - Fork 792
[BUG] kompose convert ignoring services when profiles is set #1708
Copy link
Copy link
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Expected Behavior
We would expect a warning, or any kind of information when dealing with docker-compose file with profiled services.
And for example supporting an option like --profile
Actual Behavior
Nothing is output when using it. If we use -o output.yaml, the output.yaml file will be empty
Steps To Reproduce
kompose.exe convert -f .\docker-compose.yaml -o output.yaml
Kompose Version
latest
Docker-Compose file
version: "3.8"
services:
redis:
image: redis
restart: always
profiles: ["frontend-dev", "backend-dev", "ci"]
ports:
- 6379:6379
healthcheck:
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
interval: 2s
timeout: 2s
retries: 10
command: redis-server /usr/local/etc/redis/redis.confAnything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.