apache / apache/openserverless

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

Ouverte
#136 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
576
Forks
29
Merge moyen
50 min
PR mergées (30 j)
13

Description

## 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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Aucun fichier source ni test n’est nommé. Commencez par localiser les configurateurs de langage de tâches existants derrière `ops cloud eks config`, puis examinez le point d’entrée proposé `ops -configurator description.json` et les champs du descripteur. La réalisation devrait couvrir les valeurs interactives pour les types de champs indiqués, le stockage des variables de configuration, ainsi que l’enregistrement et la lecture de la configuration en tant que CRD Kubernetes.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
go, kubernetes
Domaine
cli, devops
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.