Skip to content

Commit

Permalink
apps wc: update schema for extra dev RBAC
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-elastisys committed Dec 19, 2024
1 parent f9edd9b commit 36acd10
Showing 1 changed file with 65 additions and 1 deletion.
66 changes: 65 additions & 1 deletion config/schemas/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1475,16 +1475,80 @@ properties:
additionalProperties: false
extraRoles:
title: Configure extra Roles for application developers
description: |
Configure extra Roles for application developers
The Roles are added to all application developer namespaces configured in user.namespaces
type: object
properties: {}
additionalProperties:
properties:
rules:
title: PolicyRules for this Role
type: array
default: []
additionalProperties: false
extraRoleBindings:
title: Configure extra RoleBindings for application developers
description: |
Configure extra RoleBindings for application developers
The RoleBindings are added to all application developer namespaces configured in user.namespaces
type: object
properties: {}
additionalProperties:
properties:
roleRef:
title: The reference to a role to use for this RoleBinding
type: object
additionalProperties:
name:
title: Name of the Role or ClusterRole to bind subjects with
type: string
kind:
title: Either ClusterRole or Role
type: string
default: Role
enum:
- ClusterRole
- Role
subjects:
title: Subjects to apply role to
type: array
default: []
additionalProperties: false
extraClusterRoles:
title: Configure extra ClusterRoles for application developers
title: Configure extra ClusterRoles
description: |
Configure extra ClusterRoles that are not originally part of Welkin
These are intended to be used for application developers
type: object
properties: {}
additionalProperties:
properties:
rules:
title: PolicyRules for this Role
type: array
default: []
additionalProperties: false
extraClusterRoleBindings:
title: Configure extra ClusterRoleBindings for application developers
description: |
Configure extra ClusterRoleBindings for application developers
type: object
properties: {}
additionalProperties:
properties:
roleRef:
title: The reference to a role to use for this RoleBinding
type: object
additionalProperties:
name:
title: Name of the ClusterRole to bind subjects with
type: string
subjects:
title: Subjects to apply role to
type: array
default: []
additionalProperties: false
hnc:
additionalProperties: false
title: HNC (Hierarchical Namespace Controller) Config
Expand Down

0 comments on commit 36acd10

Please sign in to comment.