diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-04-05 15:04:27 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-04-07 16:12:35 +0200 |
commit | 7e1ac51b580afa8e900206e7cc49791ed0a00d94 (patch) | |
tree | 2a0467b90a2b1ccb716a0e7555f033246367f035 /script/k8s/admin.yaml | |
parent | 94f1e48fff7652f6b7195fea4570d3fa8b5c98f6 (diff) | |
download | garage-7e1ac51b580afa8e900206e7cc49791ed0a00d94.tar.gz garage-7e1ac51b580afa8e900206e7cc49791ed0a00d94.zip |
Add files to quickly test k8s
Diffstat (limited to 'script/k8s/admin.yaml')
-rw-r--r-- | script/k8s/admin.yaml | 12 |
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 |