-
Notifications
You must be signed in to change notification settings - Fork 760
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
--provider
flag for kompose
#179
Comments
@surajssd If we see the preference file is mandatory, then we can restrict provider declared in profile inside the file. Otherwise, somehow user wanna skip the file and go directly with |
@ngtuna we don't want to restrict user to have preference file, that's for sure. Or we can use other approach as, create a pref file if its not there alongside docker-compose file, with default profile of k8s and artifacts/objects to generate will be Also for |
Yes we can generate the file by default. And probably support a subcommand |
I think that we should have global provider flag, that defaults to kubernetes) Provider flag can be still specified with --rc --rs ... options, but list of valid controller object will depend on provider flag. This is how i think it could look like:
Default flag can be also specified in preference file, but using --provider flag can always overwrite what is in preference file.
I don't think that we should require config file, even if it is auto generated. Kompose should be able to run even without any config files. |
Now a user can select a provider using global flag --provider=openshift to select openshift provider or --provider-kubernetes to select kubernetes provider if nothing is provided kubernetes is the default provider. Fixes kubernetes#179
Now a user can select a provider using global flag --provider=openshift to select openshift provider or --provider-kubernetes to select kubernetes provider if nothing is provided kubernetes is the default provider. Fixes kubernetes#179
Now a user can select a provider using global flag --provider=openshift to select openshift provider or --provider-kubernetes to select kubernetes provider if nothing is provided kubernetes is the default provider. Fixes kubernetes#179
Now a user can select a provider using global flag --provider=openshift to select openshift provider or --provider-kubernetes to select kubernetes provider if nothing is provided kubernetes is the default provider. Fixes kubernetes#179
Now a user can select a provider using global flag --provider=openshift to select openshift provider or --provider-kubernetes to select kubernetes provider if nothing is provided kubernetes is the default provider. Fixes kubernetes#179
The way, "what artifacts to generate?" is not handled consistently.
Having a provider flag will enable the further implementation of pref file, so that the way artifacts generation is handled is unified.
convert
->up
->individual flags not supported
Closing this unblocks #39
The text was updated successfully, but these errors were encountered: