aboutsummaryrefslogtreecommitdiff
path: root/script/k8s/admin.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'script/k8s/admin.yaml')
-rw-r--r--script/k8s/admin.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/script/k8s/admin.yaml b/script/k8s/admin.yaml
new file mode 100644
index 00000000..af8b54d5
--- /dev/null
+++ b/script/k8s/admin.yaml
@@ -0,0 +1,12 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRoleBinding
+metadata:
+ name: garage-admin
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: cluster-admin
+subjects:
+- apiGroup: rbac.authorization.k8s.io
+ kind: User
+ name: system:serviceaccount:default:default