apache / apache/openserverless
implement (in golang) a configurator tool [alessandro sanino]
- Lenguaje dominante
- Python
- Estrellas
- 576
- Forks
- 29
- Merge medio
- 50 min
- PR fusionados (30 d)
- 13
Descripción
## 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.
Guía de contribución
Línea de trabajo
No se nombran archivos fuente ni pruebas. Empieza localizando los configuradores de lenguaje de tareas existentes detrás de `ops cloud eks config` y, después, revisa el punto de entrada propuesto `ops -configurator description.json` y los campos del descriptor. La finalización debería cubrir los valores interactivos para los tipos de campo indicados, el almacenamiento de variables de configuración y el guardado y la lectura de la configuración como un CRD de Kubernetes.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- go, kubernetes
- Área
- cli, devops
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100