From 33dca8cacc1fb68eb814fcb32b9153ba7020472a Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 29 Jan 2024 21:46:03 -0600 Subject: [PATCH] Remove two duplicate files from the service resource refactor Signed-off-by: Kevin Carter --- .../base/placement-mariadb-database.yaml | 49 ------------------- kustomize/skyline/base/kustomization.yaml | 1 - .../base/skyline-mariadb-database.yaml | 49 ------------------- 3 files changed, 99 deletions(-) delete mode 100644 kustomize/placement/base/placement-mariadb-database.yaml delete mode 100644 kustomize/skyline/base/skyline-mariadb-database.yaml diff --git a/kustomize/placement/base/placement-mariadb-database.yaml b/kustomize/placement/base/placement-mariadb-database.yaml deleted file mode 100644 index 1709f6b4..00000000 --- a/kustomize/placement/base/placement-mariadb-database.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -apiVersion: mariadb.mmontes.io/v1alpha1 -kind: Database -metadata: - name: placement - namespace: openstack -spec: - # If you want the database to be created with a different name than the resource name - # name: data-custom - mariaDbRef: - name: mariadb-galera - characterSet: utf8 - collate: utf8_general_ci - retryInterval: 5s ---- -apiVersion: mariadb.mmontes.io/v1alpha1 -kind: User -metadata: - name: placement - namespace: openstack -spec: - # If you want the user to be created with a different name than the resource name - # name: user-custom - mariaDbRef: - name: mariadb-galera - passwordSecretKeyRef: - name: placement-db-password - key: password - # This field is immutable and defaults to 10, 0 means unlimited. - maxUserConnections: 0 - host: "%" - retryInterval: 5s ---- -apiVersion: mariadb.mmontes.io/v1alpha1 -kind: Grant -metadata: - name: placement-grant - namespace: openstack -spec: - mariaDbRef: - name: mariadb-galera - privileges: - - "ALL" - database: "placement" - table: "*" - username: placement - grantOption: true - host: "%" - retryInterval: 5s diff --git a/kustomize/skyline/base/kustomization.yaml b/kustomize/skyline/base/kustomization.yaml index adbc440e..1fea61a9 100644 --- a/kustomize/skyline/base/kustomization.yaml +++ b/kustomize/skyline/base/kustomization.yaml @@ -1,5 +1,4 @@ resources: - - skyline-mariadb-database.yaml - services.yaml - configmap-bin.yaml - deployment-apiserver.yaml diff --git a/kustomize/skyline/base/skyline-mariadb-database.yaml b/kustomize/skyline/base/skyline-mariadb-database.yaml deleted file mode 100644 index c5e1347a..00000000 --- a/kustomize/skyline/base/skyline-mariadb-database.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -apiVersion: mariadb.mmontes.io/v1alpha1 -kind: Database -metadata: - name: skyline - namespace: openstack -spec: - # If you want the database to be created with a different name than the resource name - # name: data-custom - mariaDbRef: - name: mariadb-galera - characterSet: utf8 - collate: utf8_general_ci - retryInterval: 5s ---- -apiVersion: mariadb.mmontes.io/v1alpha1 -kind: User -metadata: - name: skyline - namespace: openstack -spec: - # If you want the user to be created with a different name than the resource name - # name: user-custom - mariaDbRef: - name: mariadb-galera - passwordSecretKeyRef: - name: skyline-apiserver-secrets - key: db-password - # This field is immutable and defaults to 10, 0 means unlimited. - maxUserConnections: 0 - host: "%" - retryInterval: 5s ---- -apiVersion: mariadb.mmontes.io/v1alpha1 -kind: Grant -metadata: - name: skyline-grant - namespace: openstack -spec: - mariaDbRef: - name: mariadb-galera - privileges: - - "ALL" - database: "skyline" - table: "*" - username: skyline - grantOption: true - host: "%" - retryInterval: 5s