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

source-path and output-path options are not available in this latest version local CLI option #161

Open
himanshu-gaur17 opened this issue Apr 20, 2023 · 2 comments

Comments

@himanshu-gaur17
Copy link

Hi

I checked and found that source-path and output-path options are not available in this latest version local CLI option.
please add both options, so that I can use it to convert the files from local system using CLI

below are the reference option in from "./shifter convert" command:

  1. -f, --source-path
  2. -o, --output-path
  3. -t, --output-format

--
Regards,
Himanshu Gaur

@garybowers
Copy link
Contributor

Hey thank you so much for taking the time to raise a issue - This is a error with the documentation which I will get updated ASAP however, the output and input flags have been depreciated in favour of simple arguments:

e.g.

shifter convert -o yaml -i yaml ./_test/yaml/multidoc/os-nginx.yaml ./out/t1_yaml

note the input and output arguments do not require a flag - this change was designed to handle cluster extracts

@himanshu-gaur17
Copy link
Author

Thanks Gary for sharing the information.

Now I`m able to use it and facing an issue at the time converting template to helm.

Issue: shifter is not taking care the "strategy" .

I`m sharing the strategy parameters from source-file and output-file

strategy parameters from source file:

strategy:
  activeDeadlineSeconds: <XYZ>
  resources: {}
  rollingParams:
    intervalSeconds: <XYZ>
    maxSurge: <XYZ>%
    maxUnavailable: <XYZ>%
    timeoutSeconds: <XYZ>
    updatePeriodSeconds: <XYZ>
  type: <XYZ>

strategy parameters from output file:

strategy: {}

Please help to fix this issue or suggest for taking care it.

--
Regards,
Himanshu Gaur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants