Files
argocd-apps/apps/base/repospawner/rbac.yaml
T
unkin-agent 200a241d42
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
Deploy repospawner v0.1.0
Add apps/base/repospawner with namespace, service account, job-spawning
RBAC, the server Deployment, oauth2-proxy front door, internal and
external gateways, and the VaultStaticSecrets backing them. Register the
overlay in the platform ApplicationSet and AppProject.
2026-08-30 15:23:39 +10:00

49 lines
867 B
YAML

---
# The server creates one Job per request phase and polls Job/Pod state to drive
# the state machine and rebuild it after a restart.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: repospawner
namespace: repospawner
rules:
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- get
- list
- watch
- delete
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods/log
verbs:
- get
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: repospawner
namespace: repospawner
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: repospawner
subjects:
- kind: ServiceAccount
name: repospawner
namespace: repospawner