mirror of
https://github.com/actions/actions-runner-controller.git
synced 2026-01-24 21:50:06 +08:00
add listener pod expansion
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user