apache / apache/openserverless
implement (in golang) a configurator tool [alessandro sanino]
- 主要言語
- Python
- スター
- 576
- フォーク
- 29
- 平均マージ
- 50分
- マージ済み PR(30日)
- 13
説明
## 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.
コントリビューションガイド
調査の方向性
ソースファイルやテストは指定されていません。まず `ops cloud eks config` の背後にある既存のタスク言語コンフィギュレーターを見つけ、次に提案されているエントリーポイント `ops -configurator description.json` とディスクリプターフィールドを確認してください。完了条件には、一覧にあるフィールド型のインタラクティブな値、設定変数の保存、Kubernetes CRD としての設定の保存および読み込みが含まれる必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go, kubernetes
- 領域
- cli, devops
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100