Added new parameters:
Set the KUBECONFIG env var to /kubeconfig/file: $(basename "$0") -k /kubeconfig/file
Set the mode to quiet and save the output to /tmp/output.file: $(basename "$0") -q /tmp/output.file
Added new function setup to run the initial oc commands (after exporting the KUBECONFIG if needed).
Some vars renaming to uppercase as they are global.
Added new parameters: Set the KUBECONFIG env var to /kubeconfig/file: $(basename "$0") -k /kubeconfig/file Set the mode to quiet and save the output to /tmp/output.file: $(basename "$0") -q /tmp/output.file
Added new function setup to run the initial oc commands (after exporting the KUBECONFIG if needed). Some vars renaming to uppercase as they are global.