cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit ae309782b08d344b2c5da677bf14875475d16b41
parent 6b2a12d3e4dacabbc6fb34389e19c9d606b5221d
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 30 Jan 2024 00:17:50 +0100

Chaosmesh account

Diffstat:
Mapps/base/chaosmesh/kustomization.yaml | 1+
Aapps/base/chaosmesh/rbac.yaml | 32++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/apps/base/chaosmesh/kustomization.yaml b/apps/base/chaosmesh/kustomization.yaml @@ -4,3 +4,4 @@ namespace: chaosmesh resources: - repository.yaml - release.yaml + - rbac.yaml diff --git a/apps/base/chaosmesh/rbac.yaml b/apps/base/chaosmesh/rbac.yaml @@ -0,0 +1,32 @@ +kind: ServiceAccount +apiVersion: v1 +metadata: + namespace: default + name: account-cluster-manager-klydv + +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: role-cluster-manager-klydv +rules: +- apiGroups: [""] + resources: ["pods", "namespaces"] + verbs: ["get", "watch", "list"] +- apiGroups: ["chaos-mesh.org"] + resources: [ "*" ] + verbs: ["get", "list", "watch", "create", "delete", "patch", "update"] + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: bind-cluster-manager-klydv +subjects: +- kind: ServiceAccount + name: account-cluster-manager-klydv + namespace: default +roleRef: + kind: ClusterRole + name: role-cluster-manager-klydv + apiGroup: rbac.authorization.k8s.io