AggregationRule
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/rbac.api.k8s.io/AggregationRule_v1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/rbac.api.k8s.io/AggregationRule_v1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
clusterRoleSelectorsarrayClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added