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