Add teleport agent update
This commit is contained in:
@@ -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: {}
|
||||
Reference in New Issue
Block a user