Delete users

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
Nikolai Rodionov 2024-12-25 15:35:29 +01:00
parent 3e6c144df3
commit 8c8e969b80
Signed by: allanger
GPG Key ID: 09F8B434D0FDD99B
6 changed files with 57 additions and 49 deletions

View File

@ -3,52 +3,3 @@ kind: Kustomization
namespace: db-operator
resources:
- users/db-user-20.yaml
- users/db-user-9.yaml
- users/db-user-36.yaml
- users/db-user-5.yaml
- users/db-user-16.yaml
- users/db-user-41.yaml
- users/db-user-40.yaml
- users/db-user-17.yaml
- users/db-user-4.yaml
- users/db-user-8.yaml
- users/db-user-37.yaml
- users/db-user-21.yaml
- users/db-user-3.yaml
- users/db-user-10.yaml
- users/db-user-47.yaml
- users/db-user-26.yaml
- users/db-user-30.yaml
- users/db-user-31.yaml
- users/db-user-27.yaml
- users/db-user-50.yaml
- users/db-user-46.yaml
- users/db-user-11.yaml
- users/db-user-2.yaml
- users/db-user-45.yaml
- users/db-user-12.yaml
- users/db-user-1.yaml
- users/db-user-28.yaml
- users/db-user-49.yaml
- users/db-user-32.yaml
- users/db-user-24.yaml
- users/db-user-25.yaml
- users/db-user-33.yaml
- users/db-user-48.yaml
- users/db-user-29.yaml
- users/db-user-13.yaml
- users/db-user-44.yaml
- users/db-user-18.yaml
- users/db-user-34.yaml
- users/db-user-22.yaml
- users/db-user-43.yaml
- users/db-user-14.yaml
- users/db-user-38.yaml
- users/db-user-7.yaml
- users/db-user-39.yaml
- users/db-user-6.yaml
- users/db-user-15.yaml
- users/db-user-42.yaml
- users/db-user-23.yaml
- users/db-user-35.yaml
- users/db-user-19.yaml

View File

@ -3,3 +3,52 @@ kind: Kustomization
namespace: db-operator
resources:
- users/db-user-20.yaml
- users/db-user-9.yaml
- users/db-user-36.yaml
- users/db-user-5.yaml
- users/db-user-16.yaml
- users/db-user-41.yaml
- users/db-user-40.yaml
- users/db-user-17.yaml
- users/db-user-4.yaml
- users/db-user-8.yaml
- users/db-user-37.yaml
- users/db-user-21.yaml
- users/db-user-3.yaml
- users/db-user-10.yaml
- users/db-user-47.yaml
- users/db-user-26.yaml
- users/db-user-30.yaml
- users/db-user-31.yaml
- users/db-user-27.yaml
- users/db-user-50.yaml
- users/db-user-46.yaml
- users/db-user-11.yaml
- users/db-user-2.yaml
- users/db-user-45.yaml
- users/db-user-12.yaml
- users/db-user-1.yaml
- users/db-user-28.yaml
- users/db-user-49.yaml
- users/db-user-32.yaml
- users/db-user-24.yaml
- users/db-user-25.yaml
- users/db-user-33.yaml
- users/db-user-48.yaml
- users/db-user-29.yaml
- users/db-user-13.yaml
- users/db-user-44.yaml
- users/db-user-18.yaml
- users/db-user-34.yaml
- users/db-user-22.yaml
- users/db-user-43.yaml
- users/db-user-14.yaml
- users/db-user-38.yaml
- users/db-user-7.yaml
- users/db-user-39.yaml
- users/db-user-6.yaml
- users/db-user-15.yaml
- users/db-user-42.yaml
- users/db-user-23.yaml
- users/db-user-35.yaml
- users/db-user-19.yaml

View File

@ -6,6 +6,7 @@ spec:
secretName: postgres-readonly-user-1
accessType: readOnly
databaseRef: postgres-db
cleanup: true
---
apiVersion: "kinda.rocks/v1beta1"
kind: "DbUser"
@ -15,3 +16,4 @@ spec:
secretName: mysql-readonly-user-1
accessType: readOnly
databaseRef: mysql-db
cleanup: true

View File

@ -3,6 +3,7 @@ kind: "DbUser"
metadata:
name: postgres-11
spec:
cleanup: true
secretName: postgres-readonly-user-11
accessType: readOnly
databaseRef: postgres-db
@ -12,6 +13,7 @@ kind: "DbUser"
metadata:
name: mysql-11
spec:
cleanup: true
secretName: mysql-readonly-user-11
accessType: readOnly
databaseRef: mysql-db

View File

@ -3,6 +3,7 @@ kind: "DbUser"
metadata:
name: postgres-18
spec:
cleanup: true
secretName: postgres-readonly-user-18
accessType: readOnly
databaseRef: postgres-db
@ -12,6 +13,7 @@ kind: "DbUser"
metadata:
name: mysql-18
spec:
cleanup: true
secretName: mysql-readonly-user-18
accessType: readOnly
databaseRef: mysql-db

View File

@ -3,6 +3,7 @@ kind: "DbUser"
metadata:
name: postgres-3
spec:
cleanup: true
secretName: postgres-readonly-user-3
accessType: readOnly
databaseRef: postgres-db
@ -12,6 +13,7 @@ kind: "DbUser"
metadata:
name: mysql-3
spec:
cleanup: true
secretName: mysql-readonly-user-3
accessType: readOnly
databaseRef: mysql-db