This required adding support to openapi.yml. Even though the route was available for both web and api, you couldn't reach it via api due to committee.
12 lines
240 B
Ruby
12 lines
240 B
Ruby
# frozen_string_literal: true
|
|
|
|
UbiCli.on("kc").run_on("kubeconfig") do
|
|
desc "Print kubeconfig.yaml for a Kubernetes cluster"
|
|
|
|
banner "ubi kc (location/kc-name | kc-id) kubeconfig"
|
|
|
|
run do
|
|
response(sdk_object.kubeconfig)
|
|
end
|
|
end
|