liqoctl unauthenticate

Unauthenticate a pair of consumer and provider clusters

Description

Synopsis

Unauthenticate a pair of consumer and provider clusters.

This command deletes all authentication resources on both consumer and provider clusters. In the consumer cluster, it deletes the control plane Identity. In the provider cluster, it deletes the Tenant. The execution is prevented if any ResourceSlice or VirtualNode associated with the provider cluster is found.

liqoctl unauthenticate [flags]

Examples

  $ liqoctl unauthenticate --remote-kubeconfig <provider>

Options

--cluster string:

The name of the kubeconfig cluster to use

--context string:

The name of the kubeconfig context to use

--kubeconfig string:

Path to the kubeconfig file to use for CLI requests

-n, --namespace string:

The namespace where Liqo is installed in (default “liqo”)

--remote-cluster string:

The name of the kubeconfig cluster to use (in the remote cluster)

--remote-context string:

The name of the kubeconfig context to use (in the remote cluster)

--remote-kubeconfig string:

Path to the kubeconfig file to use for CLI requests (in the remote cluster)

--remote-namespace string:

The namespace where Liqo is installed in (in the remote cluster) (default “liqo”)

--remote-user string:

The name of the kubeconfig user to use (in the remote cluster)

--timeout duration:

Timeout for completion (default 2m0s)

--user string:

The name of the kubeconfig user to use

-v, --verbose

Enable verbose logs (default false)

--wait

Wait for the unauthentication to complete (default true)

Global options

--global-annotations stringToString:

Global annotations to be added to all created resources (key=value)

--global-labels stringToString:

Global labels to be added to all created resources (key=value)

--skip-confirm

Skip the confirmation prompt (suggested for automation)