Skip to content

roles

(Cluster)Role objects to be generated by the chart

object

Keys are identifiers for roles instances.

roles:
main:
enabled: true
# ... configuration
secondary:
enabled: true
# ... configuration

Available properties:

PropertyTypeRequiredDefaultDescription
annotationsobject / nullNo-Annotations to set on the item.
enabledbooleanNotrueSet to false to disable the Role or ClusterRole.
forceRenamestringNo-Override the default resource name. Mutually exclusive wi…
labelsobject / nullNo-Labels to set on the item.
prefixstringNoPrefix to prepend to the resource name. Mutually exclusiv…
rulesarrayYes-Set the rules for the Role or ClusterRole.
suffixstringNo-Suffix to append to the resource name. Defaults to the re…
typestringYesRoleSet the type of RBAC resource. Supported values: Role, Cl…

Override the default resource name. Mutually exclusive with prefix and suffix.

Prefix to prepend to the resource name. Mutually exclusive with forceRename.

Suffix to append to the resource name. Defaults to the resource identifier if there are multiple items, otherwise empty. Mutually exclusive with forceRename.

Set the type of RBAC resource. Supported values: Role, ClusterRole.

Allowed values: Role, ClusterRole