Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions operators/postgresql/4.7.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM scratch

# Core bundle labels.
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=postgresql
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable

# Copy files to locations specified by labels.
COPY manifests/ /manifests/
COPY metadata/ /metadata/
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: pgclusters.crunchydata.com
labels:
vendor: crunchydata
spec:
group: crunchydata.com
names:
kind: Pgcluster
listKind: PgclusterList
plural: pgclusters
singular: pgcluster
scope: Namespaced
version: v1
validation:
openAPIV3Schema:
properties:
spec:
properties:
clustername: {type: string}
ccpimage: {type: string}
ccpimagetag: {type: string}
database: {type: string}
exporterport: {type: string}
name: {type: string}
pgbadgerport: {type: string}
PrimaryStorage: {type: object}
port: {type: string}
status: {type: string}
userlabels: {type: object}
status:
properties:
state: {type: string}
message: {type: string}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: pgpolicies.crunchydata.com
labels:
vendor: crunchydata
spec:
group: crunchydata.com
names:
kind: Pgpolicy
listKind: PgpolicyList
plural: pgpolicies
singular: pgpolicy
scope: Namespaced
version: v1
validation:
openAPIV3Schema:
properties:
status:
properties:
message: {type: string}
state: {type: string}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: pgreplicas.crunchydata.com
labels:
vendor: crunchydata
spec:
group: crunchydata.com
names:
kind: Pgreplica
listKind: PgreplicaList
plural: pgreplicas
singular: pgreplica
scope: Namespaced
version: v1
validation:
openAPIV3Schema:
properties:
status:
properties:
message: {type: string}
state: {type: string}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: pgtasks.crunchydata.com
labels:
vendor: crunchydata
spec:
group: crunchydata.com
names:
kind: Pgtask
listKind: PgtaskList
plural: pgtasks
singular: pgtask
scope: Namespaced
version: v1
validation:
openAPIV3Schema:
properties:
status:
properties:
message: {type: string}
state: {type: string}
Loading