apache / apache/openserverless

implement (in golang) a configurator tool [alessandro sanino]

Đang mở
#136 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
576
Fork
29
Merge trung bình
50 phút
Pull request đã merge (30 ngày)
13

Mô tả

## Why you need it?

THere are many interactive configurators in ops: for example `ops cloud eks config`
They are implemented in task language but it is not ideal.
It would be better to provide a tool for it

## How it could be?
a tool in go doing ops -configurator description.json

where the descriptor can be like:

```
[{
"name": "WHI",
"label": "Why do you recommend Apache OpenServerless?",
"type": "textarea",
"required": "true"
}, {
"name": "JOB",
"label": "What is your job role?",
"type": "text",
"required": "true"
}, {
"name": "TONE",
"label": "What tone should the post have?",
"type": "text",
"required": "true"
}]
```

executing the configurator it will ask for the values and store then as configuration variables.

# Form Field: a dictionary
- `label`: the description
- `name`: the field used in the input
- `required`: is it required?
- `type`: can be `text`, `textarea`, `checkbox`, `radio`, `file`
- if `radio`:
- `options`: array of options
- if `file`:
- upload a (small!) file in base64

# CRD support

it is important that the configurator will be able to save the configuration as a CRD so you can put it in a kubernetes cluster and able to read them back as environment variables from a crd

## Other related information
Add any other context or screenshots about the feature request here.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng việc xác định các trình cấu hình ngôn ngữ tác vụ hiện có phía sau `ops cloud eks config`, sau đó xem xét điểm vào được đề xuất `ops -configurator description.json` và các trường mô tả. Phần hoàn thành cần bao quát các giá trị tương tác cho các loại trường được liệt kê, việc lưu trữ biến cấu hình, cũng như việc lưu và đọc cấu hình dưới dạng Kubernetes CRD.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go, kubernetes
Lĩnh vực
cli, devops
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.