Files
tf_provider/universal_rebuild/resources_yaml/95_nodejs.yaml
T

115 lines
3.0 KiB
YAML

name: nodejs
service_id: 95
service_display_name: NodeJS
service_short_name: nodejs
service_man: Развертывает контейнер в k8s кластере с node, который можно использовать для запуска своих приложений.<br/>Приложение должно быть доступно по ссылки в git репозитории, которая является входным параметром.
lifecycle:
suspend_on_destroy_default: true
adopt_existing_on_create_default: false
outputs:
params:
- code: state_params
type: map
- code: state_out
type: map
- code: state_params_flat
type: map
- code: state_out_flat
type: map
- code: vault_secrets
type: map
sensitive: true
- code: vault_url
type: string
- code: vault_user_path
type: string
- code: vault_fields
type: list
operations:
- name: create
id: 58
kind: instance
action: create
params:
- id: 1028
code: startupConfiguration
data_type: map-fixed
required: true
sort: 10
- id: 1029
code: clusterConfiguration
data_type: map-fixed
required: true
sort: 20
is_modifiable: true
- id: 1030
code: accessConfiguration
data_type: map-fixed
required: true
sort: 30
- id: 1031
code: appConfiguration
data_type: map-fixed
required: true
sort: 40
is_modifiable: true
- id: 1032
code: jsonEnv
data_type: map
required: false
default: '{}'
man: Передаётся в формате КЛЮЧ:ЗНАЧЕНИЕ
sort: 50
is_modifiable: true
- name: delete
id: 61
kind: instance
action: delete
params: []
- name: modify
id: 59
kind: instance
action: modify
params:
- id: 1033
code: clusterConfiguration
data_type: map-fixed
required: true
sort: 10
- id: 1034
code: appConfiguration
data_type: map-fixed
required: true
sort: 20
- id: 1035
code: jsonEnv
data_type: map
required: false
man: Передаётся в формате КЛЮЧ:ЗНАЧЕНИЕ
sort: 30
- name: reconcile
id: 374
kind: action
action: reconcile
params: []
- name: redeploy
id: 60
kind: action
action: redeploy
params:
- id: 1036
code: startupConfiguration
data_type: map-fixed
required: true
sort: 10
- name: resume
id: 121
kind: instance
action: resume
params: []
- name: suspend
id: 120
kind: instance
action: suspend
params: []