This repository has been archived by the owner on Jul 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a new operator under community-operators for Rook the Storage Orchestrator for Kubernetes. This is the upstream version. Signed-off-by: Sébastien Han <seb@redhat.com>
- Loading branch information
Showing
9 changed files
with
711 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# TAG: BEGIN CEPH CRD | ||
# The CRD declarations | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: cephclusters.ceph.rook.io | ||
spec: | ||
group: ceph.rook.io | ||
names: | ||
kind: CephCluster | ||
listKind: CephClusterList | ||
plural: cephclusters | ||
singular: cephcluster | ||
scope: Namespaced | ||
version: v1 | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
spec: | ||
properties: | ||
cephVersion: | ||
properties: | ||
allowUnsupported: | ||
type: boolean | ||
image: | ||
type: string | ||
name: | ||
pattern: ^(luminous|mimic|nautilus)$ | ||
type: string | ||
dashboard: | ||
properties: | ||
enabled: | ||
type: boolean | ||
urlPrefix: | ||
type: string | ||
port: | ||
type: integer | ||
dataDirHostPath: | ||
pattern: ^/(\S+) | ||
type: string | ||
mon: | ||
properties: | ||
allowMultiplePerNode: | ||
type: boolean | ||
count: | ||
maximum: 9 | ||
minimum: 1 | ||
type: integer | ||
preferredCount: | ||
maximum: 9 | ||
minimum: 0 | ||
type: integer | ||
required: | ||
- count | ||
network: | ||
properties: | ||
hostNetwork: | ||
type: boolean | ||
storage: | ||
properties: | ||
nodes: | ||
items: {} | ||
type: array | ||
useAllDevices: {} | ||
useAllNodes: | ||
type: boolean | ||
required: | ||
- mon | ||
additionalPrinterColumns: | ||
- name: DataDirHostPath | ||
type: string | ||
description: Directory used on the K8s nodes | ||
JSONPath: .spec.dataDirHostPath | ||
- name: MonCount | ||
type: string | ||
description: Number of MONs | ||
JSONPath: .spec.mon.count | ||
- name: Age | ||
type: date | ||
JSONPath: .metadata.creationTimestamp | ||
- name: State | ||
type: string | ||
description: Current State | ||
JSONPath: .status.state | ||
- name: Health | ||
type: string | ||
description: Ceph Health | ||
JSONPath: .status.ceph.health | ||
# TAG: END CEPH CRD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
packageName: rook | ||
channels: | ||
- name: alpha | ||
currentCSV: rook.v0.1.0 | ||
|
Oops, something went wrong.