feat: from_stands.py — конвертер STANDS YAML → polygon configs (37 сервисов)
This commit is contained in:
@@ -0,0 +1,150 @@
|
||||
name: vc_mgmt_sthutrval_cluster
|
||||
service_id: 148
|
||||
service_display_name: Менеджмент Kubernetes кластер Штурвал
|
||||
service_short_name: vcMgmtSthutrvalCluster
|
||||
lifecycle:
|
||||
suspendOnDestroyDefault: false
|
||||
adoptExistingOnCreateDefault: false
|
||||
operations:
|
||||
- svcOperationId: 258
|
||||
operation: create
|
||||
kind: instance
|
||||
action: create
|
||||
stateOut: {}
|
||||
cfsParams:
|
||||
- svcOperationCfsParamId: 771
|
||||
svcOperationCfsParam: startupConfiguration
|
||||
dataType: map-fixed
|
||||
isRequired: true
|
||||
defaultValue: ''
|
||||
isModifiable: false
|
||||
dataDescriptor:
|
||||
resourceRealm:
|
||||
dataType: string
|
||||
defaultValue: sandbox.nubes.ru
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
valueList:
|
||||
- sandbox.nubes.ru
|
||||
clusterName:
|
||||
dataType: string
|
||||
defaultValue: example-ywasgmh6
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
- svcOperationCfsParamId: 772
|
||||
svcOperationCfsParam: clusterConfiguration
|
||||
dataType: map-fixed
|
||||
isRequired: true
|
||||
defaultValue: ''
|
||||
isModifiable: false
|
||||
dataDescriptor:
|
||||
appVersion:
|
||||
dataType: string
|
||||
defaultValue: 2.13.1
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
valueList:
|
||||
- 2.13.1
|
||||
- 2.12.1
|
||||
- 2.11.0
|
||||
- svcOperationCfsParamId: 773
|
||||
svcOperationCfsParam: controlPlaneConfiguration
|
||||
dataType: map-fixed
|
||||
isRequired: true
|
||||
defaultValue: ''
|
||||
isModifiable: false
|
||||
dataDescriptor:
|
||||
sizingPolicy:
|
||||
dataType: string
|
||||
defaultValue: ''
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
valueList:
|
||||
- '{}'
|
||||
sizingDisk:
|
||||
dataType: integer > 0
|
||||
defaultValue: '50'
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
count:
|
||||
dataType: integer > 0
|
||||
defaultValue: '1'
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
valueList:
|
||||
- '1'
|
||||
- '3'
|
||||
- '5'
|
||||
- svcOperationCfsParamId: 774
|
||||
svcOperationCfsParam: workerConfiguration
|
||||
dataType: array-map-fixed
|
||||
isRequired: true
|
||||
defaultValue: '[{}]'
|
||||
isModifiable: false
|
||||
dataDescriptor:
|
||||
sizingDisk:
|
||||
dataType: integer > 0
|
||||
defaultValue: '50'
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
count:
|
||||
dataType: integer > 0
|
||||
defaultValue: '2'
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
groupName:
|
||||
dataType: string
|
||||
defaultValue: workers-gj7zkkhv
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
sizingPolicy:
|
||||
dataType: string
|
||||
defaultValue: ''
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
valueList:
|
||||
- '{}'
|
||||
- svcOperationCfsParamId: 775
|
||||
svcOperationCfsParam: accessConfiguration
|
||||
dataType: map-fixed
|
||||
isRequired: true
|
||||
defaultValue: ''
|
||||
isModifiable: false
|
||||
dataDescriptor:
|
||||
needExternalAddressIngress:
|
||||
dataType: boolean
|
||||
defaultValue: 'true'
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
valueList:
|
||||
- 'true'
|
||||
accessIpListIngress:
|
||||
dataType: json
|
||||
defaultValue: '[]'
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
needExternalAddressAPI:
|
||||
dataType: boolean
|
||||
defaultValue: 'true'
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
valueList:
|
||||
- 'true'
|
||||
accessIpListAPI:
|
||||
dataType: json
|
||||
defaultValue: '[]'
|
||||
isRequired: true
|
||||
isModifiable: false
|
||||
cfsParamsByOp:
|
||||
258:
|
||||
- 771
|
||||
- 772
|
||||
- 773
|
||||
- 774
|
||||
- 775
|
||||
stateParams:
|
||||
startupConfiguration: '{"resourceRealm": "sandbox.nubes.ru", "clusterName": "example-ywasgmh6"}'
|
||||
clusterConfiguration: '{"appVersion": "2.13.1"}'
|
||||
controlPlaneConfiguration: '{"sizingPolicy": "", "sizingDisk": 50, "count": 1}'
|
||||
workerConfiguration: '{"sizingDisk": 50, "count": 2, "groupName": "workers-gj7zkkhv", "sizingPolicy": ""}'
|
||||
accessConfiguration: '{"needExternalAddressIngress": true, "accessIpListIngress": "[]", "needExternalAddressAPI": true, "accessIpListAPI": "[]"}'
|
||||
Reference in New Issue
Block a user