Skip to content
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

Accept any string for "network_mode" in molecule.json schema #3725

Conversation

fredflev
Copy link
Contributor

@fredflev fredflev commented Nov 3, 2022

As mentioned by @felixfontein in #3724 network_mode can be any network name specified by a user and should not be limited to a specific set of strings or string patterns.

@ssbarnea ssbarnea added the bug label Nov 3, 2022
Copy link
Member

@ssbarnea ssbarnea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enum should stay because it is the trick used to allow auto-complete to work on that field for most common values.

@fredflev fredflev requested review from ssbarnea and removed request for ziegenberg, odyssey4me, ganeshrn, trishnaguha and cidrblock November 4, 2022 06:23
@ssbarnea ssbarnea merged commit bc0659a into ansible:main Nov 6, 2022
davedittrich pushed a commit to davedittrich/molecule that referenced this pull request Dec 4, 2022
…#3725)

* accept any string for network mode

* keep enum

* rm default from enum

* defautl is a so called "common" value

* use "foo" instead of "service: vpn"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants