-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marco Cadetg
committed
Jun 4, 2024
1 parent
6afdddc
commit 0ddf741
Showing
8 changed files
with
219 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
test/e2e/testdata/crd_v1alpha1_credential_broken_seed_databaserequest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: crd.lagoon.sh/v1alpha1 | ||
kind: DatabaseRequest | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: credential-broken-seed-databaserequest | ||
app.kubernetes.io/instance: credential-broken-seed-databaserequest-sample | ||
app.kubernetes.io/part-of: dbaas-controller | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/created-by: dbaas-controller | ||
name: credential-broken-seed-databaserequest-sample | ||
spec: | ||
seed: | ||
name: credential-broken-seed-secret | ||
namespace: default | ||
name: credential-broken-seed-mysql-db | ||
scope: development | ||
type: mysql |
17 changes: 17 additions & 0 deletions
17
test/e2e/testdata/crd_v1alpha1_non_existing_database_seed_databaserequest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: crd.lagoon.sh/v1alpha1 | ||
kind: DatabaseRequest | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: non-existing-database-seed-databaserequest | ||
app.kubernetes.io/instance: non-existing-database-seed-databaserequest-sample | ||
app.kubernetes.io/part-of: dbaas-controller | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/created-by: dbaas-controller | ||
name: non-existing-database-seed-databaserequest-sample | ||
spec: | ||
seed: | ||
name: non-existing-database-seed-secret | ||
namespace: default | ||
name: non-existing-database-seed-mysql-db | ||
scope: development | ||
type: mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: credential-broken-seed-secret | ||
namespace: default | ||
type: Opaque | ||
data: | ||
#database: seed-database | ||
database: c2VlZC1kYXRhYmFzZQ== | ||
#password: invalid-seed-password | ||
password: aW52YWxpZC1zZWVkLXBhc3N3b3Jk | ||
#username: seed-username | ||
username: c2VlZC11c2VybmFtZQ== | ||
#hostname mysql-service.mysql | ||
hostname: bXlzcWwtc2VydmljZS5teXNxbA== | ||
#port 3306 | ||
port: MzMwNg== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: non-existing-database-seed-secret | ||
namespace: default | ||
type: Opaque | ||
data: | ||
#database: non-existing-seed-database | ||
database: bm9uLWV4aXN0aW5pbmctc2VlZC1kYXRhYmFzZQ== | ||
#password: seed-password | ||
password: c2VlZC1wYXNzd29yZA== | ||
#username: seed-username | ||
username: c2VlZC11c2VybmFtZQ== | ||
#hostname mysql-service.mysql | ||
hostname: bXlzcWwtc2VydmljZS5teXNxbA== | ||
#port 3306 | ||
port: MzMwNg== | ||
|