Skip to content

Commit

Permalink
Add postgres crds to charts
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 12, 2022
1 parent 0d5ff88 commit 46c2b8f
Show file tree
Hide file tree
Showing 4 changed files with 758 additions and 0 deletions.
205 changes: 205 additions & 0 deletions charts/kubedb-crds/crds/postgres.kubedb.com_publishers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: kubedb
name: publishers.postgres.kubedb.com
spec:
group: postgres.kubedb.com
names:
categories:
- datastore
- kubedb
- appscode
- all
kind: Publisher
listKind: PublisherList
plural: publishers
shortNames:
- pub
singular: publisher
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Status
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
allowedSubscribers:
default:
namespaces:
from: Same
properties:
namespaces:
default:
from: Same
properties:
from:
default: Same
enum:
- All
- Selector
- Same
type: string
selector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
type: object
selector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
type: object
databaseName:
type: string
deletionPolicy:
default: Delete
enum:
- Delete
- Retain
type: string
disable:
type: boolean
name:
type: string
parameters:
properties:
operations:
items:
enum:
- insert
- update
- delete
- truncate
type: string
type: array
publishViaPartitionRoot:
type: boolean
type: object
publishAllTables:
type: boolean
serverRef:
properties:
name:
type: string
type: object
x-kubernetes-map-type: atomic
tables:
items:
type: string
type: array
required:
- databaseName
- name
- serverRef
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
format: date-time
type: string
message:
type: string
observedGeneration:
format: int64
type: integer
reason:
type: string
status:
type: string
type:
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
type: array
observedGeneration:
format: int64
type: integer
phase:
enum:
- Pending
- InProgress
- Current
- Failed
type: string
subscribers:
items:
properties:
name:
type: string
namespace:
type: string
required:
- name
type: object
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}
170 changes: 170 additions & 0 deletions charts/kubedb-crds/crds/postgres.kubedb.com_subscribers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: kubedb
name: subscribers.postgres.kubedb.com
spec:
group: postgres.kubedb.com
names:
categories:
- datastore
- kubedb
- appscode
- all
kind: Subscriber
listKind: SubscriberList
plural: subscribers
shortNames:
- sub
singular: subscriber
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Status
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
databaseName:
type: string
deletionPolicy:
default: Delete
enum:
- Delete
- Retain
type: string
disable:
type: boolean
name:
type: string
parameters:
properties:
binary:
type: boolean
connect:
type: boolean
copyData:
type: boolean
createSlot:
type: boolean
enabled:
type: boolean
slotName:
type: string
streaming:
type: boolean
synchronousCommit:
type: string
tableCreationPolicy:
type: string
type: object
publisher:
properties:
external:
properties:
databaseName:
type: string
publications:
items:
type: string
type: array
serverRef:
properties:
name:
type: string
namespace:
type: string
required:
- name
type: object
required:
- databaseName
- publications
- serverRef
type: object
managed:
properties:
namespace:
type: string
refs:
items:
properties:
name:
type: string
type: object
x-kubernetes-map-type: atomic
type: array
required:
- refs
type: object
type: object
serverRef:
properties:
name:
type: string
type: object
x-kubernetes-map-type: atomic
required:
- databaseName
- name
- publisher
- serverRef
type: object
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
format: date-time
type: string
message:
type: string
observedGeneration:
format: int64
type: integer
reason:
type: string
status:
type: string
type:
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
type: array
observedGeneration:
format: int64
type: integer
phase:
enum:
- Pending
- InProgress
- Current
- Failed
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 46c2b8f

Please sign in to comment.