Files
dsk-devops-toolchains/helm/old/teleport-cluster/tests/auth_clusterrolebinding_test.yaml
2024-01-22 12:12:36 +09:00

21 lines
476 B
YAML

suite: Auth ClusterRoleBinding
templates:
- auth/clusterrolebinding.yaml
tests:
- it: creates a ClusterRoleBinding
asserts:
- hasDocuments:
count: 2
- isKind:
of: ClusterRoleBinding
- it: uses the provided serviceAccount name
values:
- ../.lint/service-account.yaml
asserts:
- contains:
path: subjects
any: true
content:
kind: ServiceAccount
name: "helm-lint"