Files
homelab/k8s/apps/gitea/runner-rbac.yaml
T
Ultradesu e40a4d0c72
Check with kubeconform / lint (push) Successful in 18s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 14s
Auto-update README / Generate README and Create MR (push) Failing after 16m47s
Fixed gitea runner k8s auth
2026-07-30 16:48:37 +01:00

53 lines
982 B
YAML

---
apiVersion: v1
kind: ServiceAccount
metadata:
name: gitea-runner
namespace: gitea
---
apiVersion: v1
kind: Secret
metadata:
name: gitea-runner-kubernetes-token
namespace: gitea
annotations:
kubernetes.io/service-account.name: gitea-runner
type: kubernetes.io/service-account-token
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: auth-proxy-routes-manager
namespace: auth-proxy
rules:
- apiGroups:
- ""
resources:
- configmaps
resourceNames:
- auth-proxy-routes
verbs:
- get
- update
- patch
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: gitea-runner-auth-proxy-routes
namespace: auth-proxy
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: auth-proxy-routes-manager
subjects:
- kind: ServiceAccount
name: gitea-runner
namespace: gitea