Files
tf_provider/generated/test/resources_yaml/95_nodejs.yaml
T
“Naeel” dd56bcda83 refactor: restructure project — separate tools, config, generated, provider
TOOLS/        — generators + scripts + config + ARCHITECTURE.md
  ├── yaml-generator/    (code)
  ├── resource-generator/ (code)
  ├── docs-generator/    (code)
  ├── scripts/           (← devops/*.sh)
  ├── config/            (← devops/profiles/ + devops/config/)
  │   ├── test/          profile.env, services_list.txt, operation_timeouts.json
  │   ├── prod/
  │   └── dev/
  └── ARCHITECTURE.md    (← devops/ARCHITECTURE.md)

generated/    — pipeline output only (gitignored)
  ├── test/resources_yaml/, go/, docs/, provider_build/
  ├── prod/
  └── dev/

provider/     — code only, no generated files
  resources_yaml/        — DELETED (generated)
  internal/resources_gen/ — DELETED (generated)

devops/       — removed (replaced by TOOLS/scripts + TOOLS/config + generated/)

Generators now fail if NUBES_*_DIR not set (no defaults to provider/).
Provider requires pipeline to populate resources_gen/ before build.
2026-07-06 09:06:09 +04:00

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: []