Add teleport agent update
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
suite: PodDisruptionBudget
|
||||
templates:
|
||||
- pdb.yaml
|
||||
tests:
|
||||
- it: should create a PDB when enabled in values (pdb.yaml)
|
||||
values:
|
||||
- ../.lint/pdb.yaml
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
count: 1
|
||||
- isKind:
|
||||
of: PodDisruptionBudget
|
||||
- matchSnapshot: {}
|
||||
|
||||
- it: sets PodDisruptionBudget labels when specified
|
||||
values:
|
||||
- ../.lint/pdb.yaml
|
||||
- ../.lint/extra-labels.yaml
|
||||
asserts:
|
||||
- equal:
|
||||
path: metadata.labels.app\.kubernetes\.io/name
|
||||
value: teleport-kube-agent
|
||||
- equal:
|
||||
path: metadata.labels.resource
|
||||
value: poddisruptionbudget
|
||||
- matchSnapshot: {}
|
||||
Reference in New Issue
Block a user