Add teleport

This commit is contained in:
2023-09-09 15:54:27 +08:00
parent ec83286fc7
commit 9467c59c8d
102 changed files with 12224 additions and 0 deletions
@@ -0,0 +1,23 @@
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: {}