Skip to content

Commit

Permalink
adds all CRD apis
Browse files Browse the repository at this point in the history
  • Loading branch information
tahmmee committed Oct 29, 2020
1 parent 6434a32 commit 7a540a0
Show file tree
Hide file tree
Showing 4 changed files with 260 additions and 32 deletions.
2 changes: 1 addition & 1 deletion 2.0.0/couchbase-v2.0.0.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ spec:
path: evictionPolicy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The buckets conflict resolution mechanism (seqno | lww)
- description: The bucket's conflict resolution mechanism (seqno | lww)
displayName: Conflict Resolution
path: conflictResolution
x-descriptors:
Expand Down
2 changes: 1 addition & 1 deletion 2.0.1/couchbase-v2.0.1.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ spec:
path: evictionPolicy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The buckets conflict resolution mechanism (seqno | lww)
- description: The bucket's conflict resolution mechanism (seqno | lww)
displayName: Conflict Resolution
path: conflictResolution
x-descriptors:
Expand Down
282 changes: 255 additions & 27 deletions 2.0.2/couchbase-v2.0.2.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,30 +138,39 @@ metadata:
"status": {}
},
{
"apiVersion": "couchbase.com/v2",
"kind": "CouchbaseBackup",
"metadata": {
"name": "cb-backup",
"labels": {
"cluster": "cb-example"
}
},
"spec": {
"strategy": "full_incremental",
"full": {
"schedule": "0 3 * * 6"
},
"incremental": {
"schedule": "0 3 * * 1-6"
},
"successfulJobsHistoryLimit": 1,
"failedJobsHistoryLimit": 3,
"backOffLimit": 2,
"backupRetention": "24h",
"logRetention": "24h",
"size": "5Gi"
},
"status": {}
"apiVersion": "couchbase.com/v2",
"kind": "CouchbaseEphemeralBucket",
"metadata": {
"name": "ephemeral-bucket",
"labels": {
"cluster": "cb-example"
}
},
"spec": {
"memoryQuota": "100Mi",
"replicas": 2,
"ioPriority": "low",
"evictionPolicy": "noEviction",
"conflictResolution": "lww",
"enableFlush": false,
"compressionMode": "passive"
},
"status": {}
},
{
"apiVersion": "couchbase.com/v2",
"kind": "CouchbaseMemcachedBucket",
"metadata": {
"name": "memcached-bucket",
"labels": {
"cluster": "cb-example"
}
},
"spec": {
"memoryQuota": "100Mi",
"enableFlush": false
},
"status": {}
},
{
"apiVersion": "couchbase.com/v2",
Expand Down Expand Up @@ -217,6 +226,73 @@ metadata:
}
},
"status": {}
},
{
"apiVersion": "couchbase.com/v2",
"kind": "CouchbaseReplication",
"metadata": {
"name": "my-replication",
"labels": {
"cluster": "cb-example"
}
},
"spec": {
"bucket": "default",
"remoteBucket": "default",
"compressionType": "Snappy",
"filterExpression": "",
"paused": false
},
"status": {}
},
{
"apiVersion": "couchbase.com/v2",
"kind": "CouchbaseBackup",
"metadata": {
"name": "cb-backup",
"labels": {
"cluster": "cb-example"
}
},
"spec": {
"strategy": "full_incremental",
"full": {
"schedule": "0 3 * * 6"
},
"incremental": {
"schedule": "0 3 * * 1-6"
},
"successfulJobsHistoryLimit": 1,
"failedJobsHistoryLimit": 3,
"backOffLimit": 2,
"backupRetention": "24h",
"logRetention": "24h",
"size": "5Gi"
},
"status": {}
},
{
"apiVersion": "couchbase.com/v2",
"kind": "CouchbaseBackupRestore",
"metadata": {
"name": "cb-restore",
"labels": {
"cluster": "cb-example"
}
},
"spec": {
"backup": "cb-backup",
"repo": "cb-example-2020-10-29T19_00_03",
"start": {
"int": 1
},
"end": {
"int": 1
},
"backOffLimit": 2,
"logRetention": "24h"
},
"status": {}
}
]
capabilities: "Auto Pilot"
Expand Down Expand Up @@ -316,7 +392,6 @@ spec:
path: monitoring.prometheus.selector
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:selector:core:v1:ConfigMap

- description: This object allows the configuration of the Couchbase cluster topology.
displayName: Servers
path: servers
Expand Down Expand Up @@ -455,7 +530,6 @@ spec:
version: v1
- kind: Pod
version: v1

specDescriptors:
- description: The name of a couchbase bucket.
displayName: Bucket Name
Expand All @@ -477,7 +551,7 @@ spec:
path: evictionPolicy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The buckets conflict resolution mechanism (seqno | lww)
- description: The bucket's conflict resolution mechanism (seqno | lww)
displayName: Conflict Resolution
path: conflictResolution
x-descriptors:
Expand All @@ -497,6 +571,85 @@ spec:
path: enableIndexReplica
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- kind: CouchbaseEphemeralBucket
name: couchbaseephemeralbuckets.couchbase.com
description: Manages Ephemeral Buckets
displayName: Couchbase Ephemeral Bucket
version: v2
resources:
- kind: CouchbaseEphemeralBucket
version: v2
- kind: CouchbaseCluster
version: v2
- kind: ConfigMap
version: v1
- kind: Service
version: v1
- kind: Pod
version: v1
specDescriptors:
- description: The name of a couchbase ephemeral bucket.
displayName: Bucket Name
path: memoryQuota
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:resourceRequirements
- description: The number of replicas that should be created for this bucket.
displayName: Bucket Replicas
path: replicas
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:number
- description: The IO priority of background threads for this bucket (low | high)
displayName: IO priority
path: ioPriority
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The in-memory cache eviction policy for this bucket (valueOnly | fullEviction)
displayName: Eviction Policy
path: evictionPolicy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The bucket's conflict resolution mechanism (seqno | lww)
displayName: Conflict Resolution
path: conflictResolution
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The choice to enable bucket flushing
displayName: Enable Flush
path: enableFlush
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: The compression mode for this bucket (off | passive | active)
displayName: Compression Mode
path: compressionMode
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- kind: CouchbaseMemcachedBucket
name: couchbasememcachedbuckets.couchbase.com
description: Manages Memcached Buckets
displayName: Couchbase Memcached Bucket
version: v2
resources:
- kind: CouchbaseMemcachedBucket
version: v2
- kind: CouchbaseCluster
version: v2
- kind: ConfigMap
version: v1
- kind: Service
version: v1
- kind: Pod
version: v1
specDescriptors:
- description: The name of a couchbase memcached bucket.
displayName: Bucket Name
path: memoryQuota
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:resourceRequirements
- description: The choice to enable bucket flushing
displayName: Enable Flush
path: enableFlush
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- kind: CouchbaseUser
name: couchbaseusers.couchbase.com
description: Manages RBAC Users
Expand Down Expand Up @@ -572,6 +725,42 @@ spec:
- description: This field is a list of subjects to a apply role to.
displayName: Subjects
path: subjects
- kind: CouchbaseReplication
name: couchbasereplications.couchbase.com
description: Manages Couchbase Replications
displayName: Couchbase Replications
version: v2
resources:
- kind: CouchbaseReplication
version: v2
- kind: CouchbaseCluster
version: v2
specDescriptors:
- description: The local bucket to replicate from. Must be a CouchbaseBucket or CouchbaseEphemeralBucket
displayName: Bucket Name
path: bucket
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The remote bucket to replicate to. Must be a CouchbaseBucket or CouchbaseEphemeralBucket
displayName: Remote Bucket Name
path: remoteBucket
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The compression type to use when replicating data. (None | Auto | Snappy)
displayName: Compression Type
path: compressionType
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: This field controls what documents are replicated to the remote cluster
displayName: Filter Expression
path: filterExpression
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: This field controls whether a replication is paused or not
displayName: Replication Paused
path: paused
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- kind: CouchbaseBackup
name: couchbasebackups.couchbase.com
description: Manages Backups
Expand Down Expand Up @@ -647,6 +836,45 @@ spec:
path: failedJobsHistoryLimit
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:number
- kind: CouchbaseBackupRestore
name: couchbasebackuprestores.couchbase.com
description: Manages Backup Restores
displayName: Couchbase Backup Restore
resources:
- kind: CouchbaseBackupRestore
version: v2
version: v2
specDescriptors:
- description: The backup name to restore from
displayName: Backup Name
path: backup
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The repo name where the backup we which to restore is located
displayName: Repository
path: repo
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
- description: The index of the first backup to restore with 1 being the oldest (default)
displayName: Start Range
path: start.int
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:number
- description: The index of the last backup to restore with 1 being the oldest (default)
displayName: End Range
path: end.int
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:number
- description: The amount of times the restore job will try to perform a restore
displayName: Back Off Limit
path: backOffLimit
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:number
- description: The time period in which to retain backup logs
displayName: Log Retention Time
path: logRetentionTime
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:string
description: |
The Couchbase Autonomous Operator allows users to easily deploy, manage, and maintain Couchbase deployments on OpenShift. By installing this integration you will be able to deply Couchbase Server clusters with a single command.
Expand Down
6 changes: 3 additions & 3 deletions 2.0.2/couchbasebuckets.couchbase.com.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ spec:
type: object
type: object
versions:
- name: v1
served: false
storage: false
- name: v2
served: true
storage: true
- name: v1
served: false
storage: false

0 comments on commit 7a540a0

Please sign in to comment.