Recover device if identity provider is unavailable

If you cannot log into the appliance because the identity provider (IdP) is unavailable, complete the following steps:

  1. Use the kubeconfig file to edit the config:

    kubectl edit clientconfig default -n kube-public
    
  2. In the kubeconfig file, remove the IdP configurations for the IdP that is unavailable.

  3. Configure your identity provider again by doing one of the following:

    • If you use your own IdP, run the following command and follow the steps.

       gdcloud appliance configure
      
    • If you use the built-in IdP, run the following command to automatically configure the IdP:

      gdcloud appliance install --phase identity-provider