apache / apache/openserverless
ops admin changeapihost and addalias
- Dominant language
- Python
- Stars
- 576
- Forks
- 29
- Avg merge
- 50m
- Merged PRs (30d)
- 13
Description
## 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.
Contributor guide
Research direction
Start by locating the existing `ops admin` command handlers and the configuration and ingress management entry points. Trace how the API host is stored and how user ingresses are created, then define tests for changing the host across existing ingresses and duplicating a user's ingress for an alias.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes
- Domain
- cli, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100