This commit is contained in:
2026-05-25 14:58:44 +07:00
parent 3eb7fb2791
commit ae986fa9e6
2 changed files with 7 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ class DecortController(object):
_api: sdk_types.API | None = None
_usermanager_whoami_result: None | dict = None
ANSIBLE_MODULES_VERSION = '11.0.2'
ANSIBLE_MODULES_VERSION = '11.0.3'
COMPATIBLE_SDK_MINOR_VERSION = '1.4'
VM_RESIZE_NOT = 0
@@ -5651,7 +5651,10 @@ class DecortController(object):
'workerDisk': wg_to_create['disk'],
'workerSepId': wg_to_create['sep_id'],
'workerSepPool': wg_to_create['pool'],
'labels': wg_to_create['labels'],
'labels': [
label for label in (wg_to_create['labels'] or [])
if 'workersGroupName' not in label
],
'taints': wg_to_create['taints'],
'annotations': wg_to_create['annotations'],
'userData': json.dumps(wg_to_create['ci_user_data']),