mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
tests/packet-ci: sanitize branch name for kubernetes labels (#10315)
'/' doesn't work in kubernetes label so we replace it. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
This commit is contained in:
committed by
GitHub
parent
9613ed8782
commit
1c5f657f97
@@ -6,6 +6,9 @@ vm_cpu_sockets: 1
|
||||
vm_cpu_threads: 2
|
||||
vm_memory: 2048Mi
|
||||
|
||||
# Replace invalid characters so that we can use the branch name in kubernetes labels
|
||||
branch_name_sane: "{{ branch | regex_replace('/', '-') }}"
|
||||
|
||||
# Request/Limit allocation settings
|
||||
|
||||
cpu_allocation_ratio: 0.5
|
||||
|
||||
Reference in New Issue
Block a user