suite: ClusterRoleBinding templates: - clusterrolebinding.yaml tests: - it: creates a ClusterRoleBinding asserts: - hasDocuments: count: 1 - isKind: of: ClusterRoleBinding - matchSnapshot: {} - it: sets ClusterRoleBinding labels when specified values: - ../.lint/extra-labels.yaml asserts: - equal: path: metadata.labels.app\.kubernetes\.io/name value: teleport-kube-agent - equal: path: metadata.labels.resource value: clusterrolebinding - matchSnapshot: {}