You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openserverless.apache.org by "Bi-Gen (via GitHub)" <gi...@apache.org> on 2026/05/26 10:13:33 UTC
[PR] fix: add secrets and pods RBAC rules for admin-api builder [openserverless-operator]
Bi-Gen opened a new pull request, #101:
URL: https://github.com/apache/openserverless-operator/pull/101
## Summary
The deployer (admin-api builder) requires RBAC access to `secrets` and `pods` resources that are missing from the current `nuvolaris-wsku-role` definition.
## Added rules
**Secrets** (full CRUD):
- `build_service.py`: `create_registry_secret()` for docker registry auth, `get_secret()` to read registry credentials, `delete_secret()` to clean up after build
**Pods and pods/log** (read-only):
- `kube_api_client.py`: `get_pod_by_job_name()` to find the buildkit job pod, `stream_pod_logs()` to monitor build progress, `get_pod()` to check pod status
## Test plan
- [x] Tested on k3s cluster (lorenzo1.hz.nuvolaris.dev)
- [x] Without these permissions the builder fails with RBAC errors
- [x] With these permissions: full deployer pipeline works (build, push, deploy)
- [x] Cotemar pipeline (6 stages, custom runtime) deployed successfully
- [x] Running in production for 3 weeks
Related: nuvolaris/projects#409
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@openserverless.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org