Legacy authorization (ABAC) should be disabled

Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

Description

Legacy Authorization, also known as Attribute-Based Access Control (ABAC) has been superseded by Role-Based Access Control (RBAC) and is not under active development. RBAC is the recommended way to manage permissions in Kubernetes.

Remediation

From the console

  1. Go to the Kubernetes Engine
  2. Select Kubernetes clusters for which Legacy Authorization is enabled
  3. Click EDIT
  4. Set Legacy Authorization to Disabled
  5. Click SAVE.

From the commandline

  1. To disable Legacy Authorization for an existing cluster, run the following command:
    gcloud container clusters update <cluster_name> --zone <compute_zone> --no-
    enable-legacy-authorization
    

References