Add RBAC for backend to manage pods + update backend

- Create ServiceAccount backend-sa
- Create ClusterRole for pod management
- Bind role to ServiceAccount
- Update deployment to use ServiceAccount
- Update backend submodule with TLS fix

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hector Ros
2026-01-20 17:52:46 +01:00
parent 4c152e0438
commit c56ab0ed4c
2 changed files with 31 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ spec:
labels:
app: backend
spec:
serviceAccountName: backend-sa
imagePullSecrets:
- name: gitea-registry
containers: