google / shifter

Shifter - OpenShift workloads to GKE/Anthos

Home Page:https://shifter.cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

himanshu-gaur17 opened this issue · comments

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

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

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