华为云UCS-k8sblockendpointeditdefaultrole:不符合策略实例的资源定义

时间:2025-02-12 15:05:17

不符合策略实例的资源定义

示例中ClusterRole的生效对象中有endpoints,不符合策略实例。

kind: ClusterRolemetadata:  annotations:    rbac.authorization.kubernetes.io/autoupdate: "true"  creationTimestamp: null  labels:    kubernetes.io/bootstrapping: rbac-defaults    rbac.authorization.k8s.io/aggregate-to-edit: "true"  name: system:aggregate-to-editrules:- apiGroups:  - apps  resources:  - endpoints  verbs:  - create  - delete  - deletecollection  - patch  - update
support.huaweicloud.com/usermanual-ucs/ucs_01_0247.html