Skip to content

OpenSVC prepare for 3.0 #1044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
svaroqui opened this issue Feb 12, 2025 · 0 comments
Open

OpenSVC prepare for 3.0 #1044

svaroqui opened this issue Feb 12, 2025 · 0 comments

Comments

@svaroqui
Copy link
Collaborator

svaroqui commented Feb 12, 2025

  • Integre opensvc go API 3.X
  • Provide and build ox binary in replication-manager
  • Create an opensvc user per sponsor
  • Give the grant of all clusters ( namaspace) where the user is sponsor
  • Extract the pem to cluster datadir
  • Use that pem to enable Web tty to run ox
  • Create an empty app service for the sponsor to deploy it's application

Ressources:

https://book.opensvc.com/agent/configure.api.html
https://relay3.opensvc.com/public/ui/

Source and usage
https://github.com/opensvc/om3/tree/main/cmd/ox

Generate

~/dev/om3/daemon/api# head -4 main.go 
//go:generate oapi-codegen --config=codegen_server.yaml ./api.yaml
//go:generate oapi-codegen --config=codegen_type.yaml ./api.yaml
//go:generate oapi-codegen --config=codegen_client.yaml ./api.yaml
:~/dev/om3# grep -A2 api: Makefile
api:
    $(GOGEN) ./daemon/api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants