Skip to content

Commit 6025378

Browse files
committed
add cloudnative-pg testdata/samples
Signed-off-by: Joe Lanford <[email protected]>
1 parent 615c69d commit 6025378

File tree

40 files changed

+58240
-0
lines changed

40 files changed

+58240
-0
lines changed

cmd/registryv1-to-helm/cloudnative-pg-bundle/manifests/cloudnative-pg.clusterserviceversion.yaml

Lines changed: 1183 additions & 0 deletions
Large diffs are not rendered by default.

cmd/registryv1-to-helm/cloudnative-pg-bundle/manifests/cnpg-default-monitoring_v1_configmap.yaml

Lines changed: 455 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
creationTimestamp: null
5+
name: cnpg-webhook-service
6+
spec:
7+
ports:
8+
- port: 443
9+
targetPort: 9443
10+
selector:
11+
app.kubernetes.io/name: cloudnative-pg
12+
status:
13+
loadBalancer: {}

cmd/registryv1-to-helm/cloudnative-pg-bundle/manifests/postgresql.cnpg.io_backups.yaml

Lines changed: 442 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.16.4
6+
creationTimestamp: null
7+
name: clusterimagecatalogs.postgresql.cnpg.io
8+
spec:
9+
group: postgresql.cnpg.io
10+
names:
11+
kind: ClusterImageCatalog
12+
listKind: ClusterImageCatalogList
13+
plural: clusterimagecatalogs
14+
singular: clusterimagecatalog
15+
scope: Cluster
16+
versions:
17+
- additionalPrinterColumns:
18+
- jsonPath: .metadata.creationTimestamp
19+
name: Age
20+
type: date
21+
name: v1
22+
schema:
23+
openAPIV3Schema:
24+
description: ClusterImageCatalog is the Schema for the clusterimagecatalogs
25+
API
26+
properties:
27+
apiVersion:
28+
description: |-
29+
APIVersion defines the versioned schema of this representation of an object.
30+
Servers should convert recognized schemas to the latest internal value, and
31+
may reject unrecognized values.
32+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
33+
type: string
34+
kind:
35+
description: |-
36+
Kind is a string value representing the REST resource this object represents.
37+
Servers may infer this from the endpoint the client submits requests to.
38+
Cannot be updated.
39+
In CamelCase.
40+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
41+
type: string
42+
metadata:
43+
type: object
44+
spec:
45+
description: |-
46+
Specification of the desired behavior of the ClusterImageCatalog.
47+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
48+
properties:
49+
images:
50+
description: List of CatalogImages available in the catalog
51+
items:
52+
description: CatalogImage defines the image and major version
53+
properties:
54+
image:
55+
description: The image reference
56+
type: string
57+
major:
58+
description: The PostgreSQL major version of the image. Must
59+
be unique within the catalog.
60+
minimum: 10
61+
type: integer
62+
required:
63+
- image
64+
- major
65+
type: object
66+
maxItems: 8
67+
minItems: 1
68+
type: array
69+
x-kubernetes-validations:
70+
- message: Images must have unique major versions
71+
rule: self.all(e, self.filter(f, f.major==e.major).size() == 1)
72+
required:
73+
- images
74+
type: object
75+
required:
76+
- metadata
77+
- spec
78+
type: object
79+
served: true
80+
storage: true
81+
subresources: {}
82+
status:
83+
acceptedNames:
84+
kind: ""
85+
plural: ""
86+
conditions: null
87+
storedVersions: null

cmd/registryv1-to-helm/cloudnative-pg-bundle/manifests/postgresql.cnpg.io_clusters.yaml

Lines changed: 6166 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.16.4
6+
creationTimestamp: null
7+
name: imagecatalogs.postgresql.cnpg.io
8+
spec:
9+
group: postgresql.cnpg.io
10+
names:
11+
kind: ImageCatalog
12+
listKind: ImageCatalogList
13+
plural: imagecatalogs
14+
singular: imagecatalog
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns:
18+
- jsonPath: .metadata.creationTimestamp
19+
name: Age
20+
type: date
21+
name: v1
22+
schema:
23+
openAPIV3Schema:
24+
description: ImageCatalog is the Schema for the imagecatalogs API
25+
properties:
26+
apiVersion:
27+
description: |-
28+
APIVersion defines the versioned schema of this representation of an object.
29+
Servers should convert recognized schemas to the latest internal value, and
30+
may reject unrecognized values.
31+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
32+
type: string
33+
kind:
34+
description: |-
35+
Kind is a string value representing the REST resource this object represents.
36+
Servers may infer this from the endpoint the client submits requests to.
37+
Cannot be updated.
38+
In CamelCase.
39+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
40+
type: string
41+
metadata:
42+
type: object
43+
spec:
44+
description: |-
45+
Specification of the desired behavior of the ImageCatalog.
46+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
47+
properties:
48+
images:
49+
description: List of CatalogImages available in the catalog
50+
items:
51+
description: CatalogImage defines the image and major version
52+
properties:
53+
image:
54+
description: The image reference
55+
type: string
56+
major:
57+
description: The PostgreSQL major version of the image. Must
58+
be unique within the catalog.
59+
minimum: 10
60+
type: integer
61+
required:
62+
- image
63+
- major
64+
type: object
65+
maxItems: 8
66+
minItems: 1
67+
type: array
68+
x-kubernetes-validations:
69+
- message: Images must have unique major versions
70+
rule: self.all(e, self.filter(f, f.major==e.major).size() == 1)
71+
required:
72+
- images
73+
type: object
74+
required:
75+
- metadata
76+
- spec
77+
type: object
78+
served: true
79+
storage: true
80+
subresources: {}
81+
status:
82+
acceptedNames:
83+
kind: ""
84+
plural: ""
85+
conditions: null
86+
storedVersions: null

0 commit comments

Comments
 (0)