Legacy authorization (ABAC) should be disabled

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

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