UPdate teleport to version 17

This commit is contained in:
Jonny Ervine
2025-02-17 20:05:35 +08:00
parent 823120c033
commit 5afa9c2439
212 changed files with 1697 additions and 423 deletions
@@ -0,0 +1,43 @@
suite: Proxy PodDisruptionBudget
templates:
- proxy/pdb.yaml
tests:
- it: not should create a PDB when disabled in values
set:
highAvailability:
podDisruptionBudget:
enabled: false
asserts:
- hasDocuments:
count: 0
- it: should create a PDB when enabled in values (pdb.yaml)
values:
- ../.lint/pdb.yaml
asserts:
- hasDocuments:
count: 1
- isKind:
of: PodDisruptionBudget
- equal:
path: spec.minAvailable
value: 2
- it: sets extraLabels on PodDisruptionBudget
values:
- ../.lint/pdb.yaml
set:
extraLabels:
podDisruptionBudget:
foo: bar
baz: override-me
proxy:
extraLabels:
podDisruptionBudget:
baz: overridden
asserts:
- equal:
path: metadata.labels.foo
value: bar
- equal:
path: metadata.labels.baz
value: overridden