From dcb01a5161a253fdce2f5f95623b67420c5b54d3 Mon Sep 17 00:00:00 2001 From: soukainna Date: Thu, 4 Apr 2024 08:49:15 +0200 Subject: [PATCH] ignore mongodb --- bases/mongodb/kustomization.yaml | 8 ---- bases/mongodb/mongodb.yaml | 14 ------ bases/mongodb/rbac/kustomization.yaml | 10 ---- bases/mongodb/rbac/role.yaml | 46 ------------------- bases/mongodb/rbac/role_binding.yaml | 11 ----- bases/mongodb/rbac/role_binding_database.yaml | 11 ----- bases/mongodb/rbac/role_database.yaml | 19 -------- bases/mongodb/rbac/service_account.yaml | 4 -- .../rbac/service_account_database.yaml | 4 -- 9 files changed, 127 deletions(-) delete mode 100644 bases/mongodb/kustomization.yaml delete mode 100644 bases/mongodb/mongodb.yaml delete mode 100644 bases/mongodb/rbac/kustomization.yaml delete mode 100644 bases/mongodb/rbac/role.yaml delete mode 100644 bases/mongodb/rbac/role_binding.yaml delete mode 100644 bases/mongodb/rbac/role_binding_database.yaml delete mode 100644 bases/mongodb/rbac/role_database.yaml delete mode 100644 bases/mongodb/rbac/service_account.yaml delete mode 100644 bases/mongodb/rbac/service_account_database.yaml diff --git a/bases/mongodb/kustomization.yaml b/bases/mongodb/kustomization.yaml deleted file mode 100644 index c5d78b0..0000000 --- a/bases/mongodb/kustomization.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -bases: -- rbac/ - -resources: -- mongodb.yaml \ No newline at end of file diff --git a/bases/mongodb/mongodb.yaml b/bases/mongodb/mongodb.yaml deleted file mode 100644 index c497361..0000000 --- a/bases/mongodb/mongodb.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -apiVersion: mongodbcommunity.mongodb.com/v1 -kind: MongoDBCommunity -metadata: - name: mongodb -spec: - members: 3 - type: ReplicaSet - version: "6.0.2" - security: - authentication: - modes: ["SCRAM"] - additionalMongodConfig: - storage.wiredTiger.engineConfig.journalCompressor: zlib \ No newline at end of file diff --git a/bases/mongodb/rbac/kustomization.yaml b/bases/mongodb/rbac/kustomization.yaml deleted file mode 100644 index 1d748b6..0000000 --- a/bases/mongodb/rbac/kustomization.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: -- role.yaml -- role_binding.yaml -- service_account.yaml -- service_account_database.yaml -- role_binding_database.yaml -- role_database.yaml diff --git a/bases/mongodb/rbac/role.yaml b/bases/mongodb/rbac/role.yaml deleted file mode 100644 index 6a9c420..0000000 --- a/bases/mongodb/rbac/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/bases/mongodb/rbac/role_binding.yaml b/bases/mongodb/rbac/role_binding.yaml deleted file mode 100644 index b444f2d..0000000 --- a/bases/mongodb/rbac/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/bases/mongodb/rbac/role_binding_database.yaml b/bases/mongodb/rbac/role_binding_database.yaml deleted file mode 100644 index b02a52d..0000000 --- a/bases/mongodb/rbac/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/bases/mongodb/rbac/role_database.yaml b/bases/mongodb/rbac/role_database.yaml deleted file mode 100644 index eaeef74..0000000 --- a/bases/mongodb/rbac/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/bases/mongodb/rbac/service_account.yaml b/bases/mongodb/rbac/service_account.yaml deleted file mode 100644 index 2740f6c..0000000 --- a/bases/mongodb/rbac/service_account.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: mongodb-kubernetes-operator diff --git a/bases/mongodb/rbac/service_account_database.yaml b/bases/mongodb/rbac/service_account_database.yaml deleted file mode 100644 index b24ae9d..0000000 --- a/bases/mongodb/rbac/service_account_database.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: mongodb-database