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
Original file line number Diff line number Diff line change
Expand Up @@ -140,45 +140,6 @@ spec:
timeout:
type: string
type: object
storage:
properties:
memcached:
properties:
expansionMode:
enum:
- Offline
- Online
type: string
scalingRules:
items:
properties:
appliesUpto:
type: string
threshold:
type: string
required:
- appliesUpto
- threshold
type: object
type: array
scalingThreshold:
format: int32
type: integer
trigger:
type: string
upperBound:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
usageThreshold:
format: int32
type: integer
required:
- expansionMode
type: object
type: object
required:
- databaseRef
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ spec:
- IfReady
- Always
type: string
maxRetries:
default: 1
format: int32
type: integer
timeout:
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ spec:
- IfReady
- Always
type: string
maxRetries:
default: 1
format: int32
type: integer
timeout:
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,45 +138,6 @@ spec:
timeout:
type: string
type: object
storage:
properties:
zookeeper:
properties:
expansionMode:
enum:
- Offline
- Online
type: string
scalingRules:
items:
properties:
appliesUpto:
type: string
threshold:
type: string
required:
- appliesUpto
- threshold
type: object
type: array
scalingThreshold:
format: int32
type: integer
trigger:
type: string
upperBound:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
usageThreshold:
format: int32
type: integer
required:
- expansionMode
type: object
type: object
required:
- databaseRef
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,15 @@ spec:
type: integer
migration:
properties:
coordinating:
properties:
oldPVReclaimPolicy:
type: string
storageClassName:
type: string
required:
- storageClassName
type: object
data:
properties:
oldPVReclaimPolicy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ spec:
- Restart
- Reconfigure
- RotateAuth
- StorageMigration
type: string
verticalScaling:
properties:
Expand Down
2 changes: 1 addition & 1 deletion hub/resourceeditors/kubedb.com/v1alpha2/documentdbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ spec:
version: v0.34.0
enforceQuota: true
options:
name: kubedbcom-db2-editor-options
name: kubedbcom-documentdb-editor-options
sourceRef:
apiGroup: source.toolkit.fluxcd.io
kind: HelmRepository
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceTableDefinition
metadata:
labels:
k8s.io/group: ops.kubedb.com
k8s.io/kind: DocumentDBOpsRequest
k8s.io/resource: documentdbopsrequests
k8s.io/version: v1alpha1
name: ops.kubedb.com-v1alpha1-documentdbopsrequests-kubedb
spec:
columns:
- name: Name
pathTemplate: '{{ .metadata.name }}'
priority: 3
type: string
- name: Namespace
pathTemplate: '{{ .metadata.namespace }}'
priority: 3
type: string
- name: Type
pathTemplate: '{{ .spec.type }}'
priority: 3
type: string
- color:
template: |
{{ $status := .status.phase }}
{{ $color := "gray" }}
{{ if list "Pending" | has $status }}
{{ $color = "gray" }}
{{ else if list "Progressing" | has $status }}
{{ $color = "info" }}
{{ else if list "Successful" | has $status }}
{{ $color = "success" }}
{{ else if list "WaitingForApproval" | has $status }}
{{ $color = "warning" }}
{{ else if list "Failed"| has $status }}
{{ $color = "danger" }}
{{ else if list "Approved" | has $status }}
{{ $color = "link" }}
{{ else if list "Denied"| has $status }}
{{ $color = "dark" }}
{{ end }}
{{- printf "%s" $color -}}
name: Status
pathTemplate: '{{ .status.phase }}'
priority: 3
type: string
- name: Age
pathTemplate: '{{ .metadata.creationTimestamp }}'
priority: 3
sort:
enable: true
template: '{{ .metadata.creationTimestamp | toDate "2006-01-02T15:04:05Z07:00" | unixEpoch }}'
type: integer
tooltip:
template: '{{ .metadata.creationTimestamp }}'
type: date
defaultView: false
resource:
group: ops.kubedb.com
kind: DocumentDBOpsRequest
name: documentdbopsrequests
scope: Namespaced
version: v1alpha1
Loading