Add the redacted source file for demo purposes Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1 Co-authored-by: Michael DiLeo <michael_dileo@proton.me> Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
37 lines
857 B
YAML
37 lines
857 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: authentik
|
|
namespace: authentik-system
|
|
labels:
|
|
app.kubernetes.io/name: authentik
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: authentik
|
|
labels:
|
|
app.kubernetes.io/name: authentik
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["secrets", "services", "configmaps"]
|
|
verbs: ["get", "create", "delete", "list", "patch"]
|
|
- apiGroups: ["extensions", "networking.k8s.io"]
|
|
resources: ["ingresses"]
|
|
verbs: ["get", "create", "delete", "list", "patch"]
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: authentik
|
|
labels:
|
|
app.kubernetes.io/name: authentik
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: authentik
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: authentik
|
|
namespace: authentik-system |