-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for custom image name key overrides
- Loading branch information
1 parent
5096863
commit 71f0fb9
Showing
6 changed files
with
155 additions
and
0 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
9 changes: 9 additions & 0 deletions
9
tests/testdata/cluster/infrastructure/configs/ceph-cluster.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,9 @@ | ||
--- | ||
apiVersion: ceph.rook.io/v1 | ||
kind: CephCluster | ||
metadata: | ||
name: rook-ceph | ||
namespace: rook-ceph | ||
spec: | ||
cephVersion: | ||
image: ceph/ceph:v16.2.6 |
18 changes: 18 additions & 0 deletions
18
tests/testdata/cluster/infrastructure/configs/database.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,18 @@ | ||
--- | ||
apiVersion: postgresql.cnpg.io/v1 | ||
kind: Cluster | ||
metadata: | ||
name: cluster-example | ||
spec: | ||
instances: 3 | ||
imageName: ghcr.io/cloudnative-pg/postgis:17-3.4 | ||
bootstrap: | ||
initdb: | ||
postInitTemplateSQL: | ||
- CREATE EXTENSION postgis; | ||
- CREATE EXTENSION postgis_topology; | ||
- CREATE EXTENSION fuzzystrmatch; | ||
- CREATE EXTENSION postgis_tiger_geocoder; | ||
|
||
storage: | ||
size: 1Gi |
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