华为云UCS-k8sdisallowanonymous:符合策略实例的资源定义
时间:2025-02-12 15:05:17
符合策略实例的资源定义
ClusterRole关联到cluster-role-1 Role中,符合策略实例。
apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingmetadata: name: cluster-role-binding-1roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-role-1subjects:- apiGroup: rbac.authorization.k8s.io kind: Group name: system:authenticated- apiGroup: rbac.authorization.k8s.io kind: Group name: system:unauthenticated
support.huaweicloud.com/usermanual-ucs/ucs_01_0239.html