Skip to content

Commit

Permalink
fix: documented k8s SAR authz groups property as deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Dhiraj Bokde <[email protected]>
  • Loading branch information
dhirajsb committed Nov 19, 2024
1 parent 8a90020 commit 67af11c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/v1beta3/auth_config_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ type KubernetesSubjectAccessReviewAuthorizationSpec struct {
User *ValueOrSelector `json:"user,omitempty"`

// Groups the user must be a member of or, if `user` is omitted, the groups to check for authorization in the Kubernetes RBAC.
// Deprecated: Use authorizationGroups instead.
Groups []string `json:"groups,omitempty"`

// Groups to check for existing permission in the Kubernetes RBAC alternatively to a specific user. This is typically obtained from a list of groups the user is a member of. Must be a static list of group names or dynamically resolve to one from the Authorization JSON.
Expand Down

0 comments on commit 67af11c

Please sign in to comment.