Files
mumble-kubernetes/ci-deployer.yaml
T
feedc0de e05116dd1e
Validate and deploy Mumble / Validate manifests (push) Failing after 27s
Validate and deploy Mumble / Deploy to Kubernetes (push) Has been skipped
Initial commit, adding mumble kubernetes files and CI
2026-08-08 21:35:33 +02:00

59 lines
1.2 KiB
YAML

# Bootstrap this file once with an administrator identity. CI can update only
# the two existing Mumble resources and cannot call the Kubernetes Secrets API.
apiVersion: v1
kind: ServiceAccount
metadata:
name: mumble-deployer
namespace: default
automountServiceAccountToken: false
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: mumble-deployer
namespace: default
rules:
- apiGroups:
- ""
resources:
- services
resourceNames:
- mumble
verbs:
- get
- patch
- update
- apiGroups:
- apps
resources:
- deployments
resourceNames:
- mumble
verbs:
- get
- patch
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: mumble-deployer
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: mumble-deployer
subjects:
- kind: ServiceAccount
name: mumble-deployer
namespace: default
---
apiVersion: v1
kind: Secret
metadata:
name: mumble-deployer-token
namespace: default
annotations:
kubernetes.io/service-account.name: mumble-deployer
type: kubernetes.io/service-account-token