apache / apache/openserverless
ops admin changeapihost and addalias
- Vorherrschende Sprache
- Python
- Sterne
- 576
- Forks
- 29
- Ø Merge
- 50 Min.
- Gemergte PRs (30 T.)
- 13
Beschreibung
## Why you need it?
When you install miniops in a local machine, you may need to change the domain to make it accessibile, so miniop.me does not work you may need to change to 192.168.1.100.nip.io for example
Also you may need to create a simple alias to make a domain accessibile
## How it could be?
`ops admin changeapihost htts://192.168.1.100.nip.io`
this should go change the configured apihost and also change all the existing ingresses to match the new apihost
`ops admin aliasingress user https://www.mysite.net`
this should duplicate ingresses for the user `user` so the user configured functions are accessible also `http://www.mysite.net`
## Other related information
Add any other context or screenshots about the feature request here.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die vorhandenen `ops admin`-Command-Handler sowie die Einstiegspunkte für die Verwaltung von Konfiguration und Ingress zu lokalisieren. Verfolge, wie der API-Host gespeichert wird und wie Benutzer-Ingresses erstellt werden, und definiere anschließend Tests für das Ändern des Hosts über vorhandene Ingresses hinweg sowie für das Duplizieren des Ingress eines Benutzers für einen Alias.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- kubernetes
- Bereich
- cli, infrastructure
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100