From 36beb9904b382893d2494eb23313e36082562105 Mon Sep 17 00:00:00 2001 From: soukainna Date: Mon, 10 Jul 2023 11:09:54 +0200 Subject: [PATCH] delete some files --- mongodb/role.yaml | 46 --------------------------- mongodb/role_binding.yaml | 11 ------- mongodb/role_binding_database.yaml | 11 ------- mongodb/role_database.yaml | 19 ----------- mongodb/service_account.yaml | 4 --- mongodb/service_account_database.yaml | 4 --- 6 files changed, 95 deletions(-) delete mode 100644 mongodb/role.yaml delete mode 100644 mongodb/role_binding.yaml delete mode 100644 mongodb/role_binding_database.yaml delete mode 100644 mongodb/role_database.yaml delete mode 100644 mongodb/service_account.yaml delete mode 100644 mongodb/service_account_database.yaml diff --git a/mongodb/role.yaml b/mongodb/role.yaml deleted file mode 100644 index 6a9c420..0000000 --- a/mongodb/role.yaml +++ /dev/null @@ -1,46 +0,0 @@ ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: mongodb-kubernetes-operator -rules: -- apiGroups: - - "" - resources: - - pods - - services - - configmaps - - secrets - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - apps - resources: - - statefulsets - verbs: - - create - - delete - - get - - list - - patch - - update - - watch -- apiGroups: - - mongodbcommunity.mongodb.com - resources: - - mongodbcommunity - - mongodbcommunity/status - - mongodbcommunity/spec - - mongodbcommunity/finalizers - verbs: - - get - - patch - - list - - update - - watch diff --git a/mongodb/role_binding.yaml b/mongodb/role_binding.yaml deleted file mode 100644 index b444f2d..0000000 --- a/mongodb/role_binding.yaml +++ /dev/null @@ -1,11 +0,0 @@ -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: mongodb-kubernetes-operator -subjects: -- kind: ServiceAccount - name: mongodb-kubernetes-operator -roleRef: - kind: Role - name: mongodb-kubernetes-operator - apiGroup: rbac.authorization.k8s.io diff --git a/mongodb/role_binding_database.yaml b/mongodb/role_binding_database.yaml deleted file mode 100644 index b02a52d..0000000 --- a/mongodb/role_binding_database.yaml +++ /dev/null @@ -1,11 +0,0 @@ -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: mongodb-database -subjects: -- kind: ServiceAccount - name: mongodb-database -roleRef: - kind: Role - name: mongodb-database - apiGroup: rbac.authorization.k8s.io diff --git a/mongodb/role_database.yaml b/mongodb/role_database.yaml deleted file mode 100644 index eaeef74..0000000 --- a/mongodb/role_database.yaml +++ /dev/null @@ -1,19 +0,0 @@ -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: mongodb-database -rules: - - apiGroups: - - "" - resources: - - secrets - verbs: - - get - - apiGroups: - - "" - resources: - - pods - verbs: - - patch - - delete - - get diff --git a/mongodb/service_account.yaml b/mongodb/service_account.yaml deleted file mode 100644 index 2740f6c..0000000 --- a/mongodb/service_account.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: mongodb-kubernetes-operator diff --git a/mongodb/service_account_database.yaml b/mongodb/service_account_database.yaml deleted file mode 100644 index b24ae9d..0000000 --- a/mongodb/service_account_database.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: mongodb-database