Red Hat Training

A Red Hat training course is available for OpenShift Container Platform

4.8.8.4. 组

Group 表示系统中的一组用户。组可以通过为用户或他们的组添加角色来对权限进行分组。

对象定义

kind: "Group"
apiVersion: "user.openshift.io/v1"
metadata:
  name: "developers" 1
  creationTimestamp: "2015-01-01T01:01:01-00:00"
users:
  - "bob" 2

1
name 是向组添加角色时使用的组名称。
2
用户 中的值是此组成员的用户对象的名称。