Files
tf_provider/provider/resources_yaml/50_nextcloud.yaml
T
“Naeel” 5da22335ae refactor: rename universal_rebuild/ → provider/
- Rename directory
- Update all 9 devops scripts
- Update 4 generator source files
- Rebuild all binaries
2026-07-05 10:20:04 +04:00

136 lines
3.6 KiB
YAML

name: nextcloud
service_id: 50
service_display_name: Nextcloud
service_short_name: nextcloud
service_man: 'Ресурсная платформа: k8s. Автоматизация: helm chart'
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: 16
kind: instance
action: create
man: Для установки необходимо:<br/>- ресурсная платформа, где разворачивается Nextcloud, обязана совпадать с ресурсными платформами, где развёрнут Redis и PostgreSQL
params:
- id: 1055
code: startupConfiguration
data_type: map-fixed
required: true
sort: 10
- id: 1056
code: clusterConfiguration
data_type: map-fixed
required: true
sort: 20
is_modifiable: true
- id: 1057
code: accessConfiguration
data_type: map-fixed
required: true
sort: 30
- id: 1058
code: appConfiguration
data_type: map-fixed
required: true
sort: 40
is_modifiable: true
- name: create_backup
id: 404
kind: subresource
action: create
subresource: backup
man: Перед запуском обязательно надо перевести экземпляр Nextcloud в статус 'suspended'
params:
- id: 1077
code: startupConfiguration
data_type: map-fixed
required: true
sort: 10
- name: delete
id: 17
kind: instance
action: delete
man: DEV-Ветка удаления Nextcloud
params: []
- name: modify
id: 67
kind: instance
action: modify
params:
- id: 1059
code: clusterConfiguration
data_type: map-fixed
required: true
sort: 10
- id: 1060
code: appConfiguration
data_type: map-fixed
required: true
sort: 20
- name: reconcile
id: 390
kind: action
action: reconcile
params: []
- name: recovery
id: 406
kind: action
action: recovery
params:
- id: 1078
code: startupConfiguration
data_type: map-fixed
required: true
sort: 10
- id: 1079
code: clusterConfiguration
data_type: map-fixed
required: true
sort: 20
- id: 1080
code: accessConfiguration
data_type: map-fixed
required: true
sort: 30
- id: 1081
code: appConfiguration
data_type: map-fixed
required: true
man: Версия Nextcloud будет взята из бэкапа
sort: 40
- name: restart
id: 66
kind: action
action: restart
params: []
- name: resume
id: 129
kind: instance
action: resume
params: []
- name: suspend
id: 128
kind: instance
action: suspend
params: []