RoleRef
RoleRef contains information that points to the role being used
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/rbac.api.k8s.io/RoleRef_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/RoleRef_v1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
apiGroupstringRequiredAPIGroup is the group for the resource being referenced
kindstringRequiredKind is the type of resource being referenced
namestringRequiredName is the name of resource being referenced