-
Notifications
You must be signed in to change notification settings - Fork 771
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
Print warning for unsupported fields in docker-compose format #71
Comments
@janetkuo and @ngtuna why can we use |
Also when doing |
Using following docker-compose file $ cat docker-compose.yml
version: "2"
services:
mariadb:
image: centos/mariadb
container_name: mariadb
ports:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: etherpad
MYSQL_DATABASE: etherpad
MYSQL_PASSWORD: etherpad
MYSQL_USER: etherpad When directly piped fails $ kompose convert --stdout | kubectl --namespace=kompose create -f -
yaml: line 2: could not find expected ':' Because the output starts with $ kompose convert --stdout
WARNING: Unsupported key Networks - ignoring
{
"kind": "Service",
"apiVersion": "v1",
[SNIP] |
Closing as this is now fixed by 55ae6e7 |
Right now there are unsupported keys / fields not covered by warnings, such as volume configs. |
@ngtuna yes its good that we have we now don't print the output to |
@janetkuo Agree. We haven't covered both volume configs and network configs. |
Closed by 14cf356 |
Follow up #3
We're now printing warnings of unsupported fields in their names defined in libcompose, but not their names in docker-compose file format.
For example, this
should give me the following warnings instead:
The text was updated successfully, but these errors were encountered: