forked from validatedpatterns/retail
-
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
1 parent
4ead65b
commit fc06e45
Showing
18 changed files
with
1,161 additions
and
240 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
tests/all-crunchy-pgcluster-industrial-edge-factory.expected.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,62 @@ | ||
--- | ||
# Source: crunchy-pgcluster/templates/dbinit-cm.yaml | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: db-init-sql | ||
data: | ||
initSQL: "\\c db;" | ||
--- | ||
# Source: crunchy-pgcluster/templates/postgres-cluster.yaml | ||
apiVersion: postgres-operator.crunchydata.com/v1beta1 | ||
kind: PostgresCluster | ||
metadata: | ||
name: db | ||
spec: | ||
users: [ | ||
{ | ||
"databases": [ | ||
"db" | ||
], | ||
"name": "user" | ||
} | ||
] | ||
databaseInitSQL: | ||
key: initSQL | ||
name: db-init-sql | ||
postgresVersion: 16 | ||
instances: [ | ||
{ | ||
"dataVolumeClaimSpec": { | ||
"accessModes": [ | ||
"ReadWriteOnce" | ||
], | ||
"resources": { | ||
"requests": { | ||
"storage": "10Gi" | ||
} | ||
} | ||
}, | ||
"name": "instance1" | ||
} | ||
] | ||
backups: | ||
pgbackrest: { | ||
"repos": [ | ||
{ | ||
"name": "repo1", | ||
"volume": { | ||
"volumeClaimSpec": { | ||
"accessModes": [ | ||
"ReadWriteOnce" | ||
], | ||
"resources": { | ||
"requests": { | ||
"storage": "1Gi" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
62 changes: 62 additions & 0 deletions
62
tests/all-crunchy-pgcluster-industrial-edge-hub.expected.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,62 @@ | ||
--- | ||
# Source: crunchy-pgcluster/templates/dbinit-cm.yaml | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: db-init-sql | ||
data: | ||
initSQL: "\\c db;" | ||
--- | ||
# Source: crunchy-pgcluster/templates/postgres-cluster.yaml | ||
apiVersion: postgres-operator.crunchydata.com/v1beta1 | ||
kind: PostgresCluster | ||
metadata: | ||
name: db | ||
spec: | ||
users: [ | ||
{ | ||
"databases": [ | ||
"db" | ||
], | ||
"name": "user" | ||
} | ||
] | ||
databaseInitSQL: | ||
key: initSQL | ||
name: db-init-sql | ||
postgresVersion: 16 | ||
instances: [ | ||
{ | ||
"dataVolumeClaimSpec": { | ||
"accessModes": [ | ||
"ReadWriteOnce" | ||
], | ||
"resources": { | ||
"requests": { | ||
"storage": "10Gi" | ||
} | ||
} | ||
}, | ||
"name": "instance1" | ||
} | ||
] | ||
backups: | ||
pgbackrest: { | ||
"repos": [ | ||
{ | ||
"name": "repo1", | ||
"volume": { | ||
"volumeClaimSpec": { | ||
"accessModes": [ | ||
"ReadWriteOnce" | ||
], | ||
"resources": { | ||
"requests": { | ||
"storage": "1Gi" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
62 changes: 62 additions & 0 deletions
62
tests/all-crunchy-pgcluster-medical-diagnosis-hub.expected.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,62 @@ | ||
--- | ||
# Source: crunchy-pgcluster/templates/dbinit-cm.yaml | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: db-init-sql | ||
data: | ||
initSQL: "\\c db;" | ||
--- | ||
# Source: crunchy-pgcluster/templates/postgres-cluster.yaml | ||
apiVersion: postgres-operator.crunchydata.com/v1beta1 | ||
kind: PostgresCluster | ||
metadata: | ||
name: db | ||
spec: | ||
users: [ | ||
{ | ||
"databases": [ | ||
"db" | ||
], | ||
"name": "user" | ||
} | ||
] | ||
databaseInitSQL: | ||
key: initSQL | ||
name: db-init-sql | ||
postgresVersion: 16 | ||
instances: [ | ||
{ | ||
"dataVolumeClaimSpec": { | ||
"accessModes": [ | ||
"ReadWriteOnce" | ||
], | ||
"resources": { | ||
"requests": { | ||
"storage": "10Gi" | ||
} | ||
} | ||
}, | ||
"name": "instance1" | ||
} | ||
] | ||
backups: | ||
pgbackrest: { | ||
"repos": [ | ||
{ | ||
"name": "repo1", | ||
"volume": { | ||
"volumeClaimSpec": { | ||
"accessModes": [ | ||
"ReadWriteOnce" | ||
], | ||
"resources": { | ||
"requests": { | ||
"storage": "1Gi" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.