add listener pod expansion

This commit is contained in:
Nikola Jokic
2026-01-23 18:01:56 +01:00
parent a5961e75f3
commit d65fb1e705
3 changed files with 49 additions and 5 deletions

View File

@@ -26,3 +26,21 @@ tests:
- equal:
path: spec.listenerTemplate.spec.containers[0].securityContext.runAsUser
value: 1000
- it: should default listenerTemplate containers when not specified
set:
scaleset.name: "test"
auth.url: "https://github.com/org"
auth.githubToken: "gh_token12345"
controllerServiceAccount.name: "arc"
controllerServiceAccount.namespace: "arc-system"
listenerPodTemplate:
spec:
restartPolicy: Always
release:
name: "test-name"
namespace: "test-namespace"
asserts:
- equal:
path: spec.listenerTemplate.spec.containers[0].name
value: listener