forked from ceph/ceph-csi-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ceph#6 from iamniting/name
bundle: rename the operator package
- Loading branch information
Showing
13 changed files
with
300 additions
and
8 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
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
27 changes: 27 additions & 0 deletions
27
...s/ceph-csi-operator-cephcluster-editor-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
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,27 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/name: ceph-csi-operator | ||
name: ceph-csi-operator-cephcluster-editor-role | ||
rules: | ||
- apiGroups: | ||
- csi.ceph.io | ||
resources: | ||
- cephclusters | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- csi.ceph.io | ||
resources: | ||
- cephclusters/status | ||
verbs: | ||
- get |
23 changes: 23 additions & 0 deletions
23
...s/ceph-csi-operator-cephcluster-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
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,23 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/name: ceph-csi-operator | ||
name: ceph-csi-operator-cephcluster-viewer-role | ||
rules: | ||
- apiGroups: | ||
- csi.ceph.io | ||
resources: | ||
- cephclusters | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- csi.ceph.io | ||
resources: | ||
- cephclusters/status | ||
verbs: | ||
- get |
27 changes: 27 additions & 0 deletions
27
...ifests/ceph-csi-operator-config-editor-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
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,27 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/name: ceph-csi-operator | ||
name: ceph-csi-operator-config-editor-role | ||
rules: | ||
- apiGroups: | ||
- csi.ceph.io | ||
resources: | ||
- configs | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- csi.ceph.io | ||
resources: | ||
- configs/status | ||
verbs: | ||
- get |
23 changes: 23 additions & 0 deletions
23
...ifests/ceph-csi-operator-config-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
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,23 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/name: ceph-csi-operator | ||
name: ceph-csi-operator-config-viewer-role | ||
rules: | ||
- apiGroups: | ||
- csi.ceph.io | ||
resources: | ||
- configs | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- csi.ceph.io | ||
resources: | ||
- configs/status | ||
verbs: | ||
- get |
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
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,72 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
creationTimestamp: null | ||
name: cephclusters.csi.ceph.io | ||
spec: | ||
group: csi.ceph.io | ||
names: | ||
kind: CephCluster | ||
listKind: CephClusterList | ||
plural: cephclusters | ||
singular: cephcluster | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: CephCluster is the Schema for the cephclusters API | ||
properties: | ||
apiVersion: | ||
description: |- | ||
APIVersion defines the versioned schema of this representation of an object. | ||
Servers should convert recognized schemas to the latest internal value, and | ||
may reject unrecognized values. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
type: string | ||
kind: | ||
description: |- | ||
Kind is a string value representing the REST resource this object represents. | ||
Servers may infer this from the endpoint the client submits requests to. | ||
Cannot be updated. | ||
In CamelCase. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: CephClusterSpec defines the desired state of CephCluster | ||
properties: | ||
monitors: | ||
items: | ||
type: string | ||
type: array | ||
rbdMirrorDaemonCount: | ||
type: integer | ||
readAffinity: | ||
description: ReadAffinitySpec capture Ceph CSI read affinity settings | ||
properties: | ||
crushLocationLabels: | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
required: | ||
- monitors | ||
type: object | ||
status: | ||
description: CephClusterStatus defines the observed state of CephCluster | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
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,86 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
creationTimestamp: null | ||
name: configs.csi.ceph.io | ||
spec: | ||
group: csi.ceph.io | ||
names: | ||
kind: Config | ||
listKind: ConfigList | ||
plural: configs | ||
singular: config | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Config is the Schema for the configs API | ||
properties: | ||
apiVersion: | ||
description: |- | ||
APIVersion defines the versioned schema of this representation of an object. | ||
Servers should convert recognized schemas to the latest internal value, and | ||
may reject unrecognized values. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
type: string | ||
kind: | ||
description: |- | ||
Kind is a string value representing the REST resource this object represents. | ||
Servers may infer this from the endpoint the client submits requests to. | ||
Cannot be updated. | ||
In CamelCase. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: ConfigSpec defines the desired state of Config | ||
properties: | ||
cephClusterRef: | ||
description: |- | ||
LocalObjectReference contains enough information to let you locate the | ||
referenced object inside the same namespace. | ||
properties: | ||
name: | ||
description: |- | ||
Name of the referent. | ||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | ||
TODO: Add other useful fields. apiVersion, kind, uid? | ||
type: string | ||
type: object | ||
x-kubernetes-map-type: atomic | ||
cephFs: | ||
description: CephFsConfigSpec defines the desired CephFs configuration | ||
properties: | ||
subVolumeGroup: | ||
type: string | ||
type: object | ||
nfs: | ||
description: NfsConfigSpec cdefines the desired NFS configuration | ||
type: object | ||
rbd: | ||
description: RbdConfigSpec defines the desired RBD configuration | ||
properties: | ||
radosNamespace: | ||
type: string | ||
type: object | ||
required: | ||
- cephClusterRef | ||
type: object | ||
status: | ||
description: ConfigStatus defines the observed state of Config | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
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
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ceph-csi-operator.clusterserviceversion.yaml | ||
- cephcsi-operator.clusterserviceversion.yaml | ||
commonAnnotations: | ||
olm.skipRange: "" |