diff --git a/deploy/olm/storageos/storageoscluster.crd.yaml b/deploy/olm/storageos/storageoscluster.crd.yaml new file mode 100644 index 000000000..fb04279d8 --- /dev/null +++ b/deploy/olm/storageos/storageoscluster.crd.yaml @@ -0,0 +1,119 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: storageosclusters.storageos.com +spec: + group: storageos.com + names: + kind: StorageOSCluster + listKind: StorageOSClusterList + plural: storageosclusters + singular: storageoscluster + shortNames: + - stos + scope: Namespaced + version: v1alpha1 + additionalPrinterColumns: + - name: Ready + type: string + description: Ready status of the storageos nodes. + JSONPath: .status.ready + - name: Status + type: string + description: Status of the whole cluster. + JSONPath: .status.phase + - name: Age + type: date + JSONPath: .metadata.creationTimestamp + validation: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: {} + spec: + properties: + join: + type: string + namespace: + type: string + disableTelemetry: + type: boolean + images: + properties: + nodeContainer: + type: string + initContainer: + type: string + csiDriverRegistrarContainer: + type: string + csiExternalProvisionerContainer: + type: string + csiExternalAttacherContainer: + type: string + csi: + properties: + enable: + type: boolean + enableProvisionCreds: + type: boolean + enableControllerPublishCreds: + type: boolean + enableNodePublishCreds: + type: boolean + service: + properties: + name: + type: string + type: + type: string + externalPort: + type: integer + format: int32 + internalPort: + type: integer + format: int32 + secretRefName: + type: string + secretRefNamespace: + type: string + sharedDir: + type: string + ingress: + properties: + enable: + type: boolean + hostname: + type: string + tls: + type: boolean + annotations: {} + kvBackend: + properties: + address: + type: string + backend: + type: string + pause: + type: boolean + debug: + type: boolean + nodeSelectorTerms: {} + tolerations: {} + resources: + properties: + limits: {} + requests: {} + status: + properties: + phase: + type: string + nodeHealthStatus: {} + nodes: + type: array + items: + type: string + ready: + type: string diff --git a/deploy/olm/storageos/storageosjob.crd.yaml b/deploy/olm/storageos/storageosjob.crd.yaml new file mode 100644 index 000000000..b2b4b81ba --- /dev/null +++ b/deploy/olm/storageos/storageosjob.crd.yaml @@ -0,0 +1,13 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: jobs.storageos.com +spec: + group: storageos.com + names: + kind: Job + listKind: JobList + plural: jobs + singular: job + scope: Namespaced + version: v1alpha1 diff --git a/deploy/olm/storageos/storageosoperator.0.0.10.clusterserviceversion.yaml b/deploy/olm/storageos/storageosoperator.0.0.10.clusterserviceversion.yaml new file mode 100644 index 000000000..add6b3592 --- /dev/null +++ b/deploy/olm/storageos/storageosoperator.0.0.10.clusterserviceversion.yaml @@ -0,0 +1,187 @@ +#! validate-crd: deploy/chart/templates/0000_30_02-clusterserviceversion.crd.yaml +#! parse-kind: ClusterServiceVersion +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + name: storageosoperator.v0.0.10 + namespace: placeholder + annotations: + capabilities: Full Lifecycle + categories: "Storage" + alm-examples: '[{"apiVersion":"storageos.com/v1","kind":"StorageOSCluster","metadata":{"name":"example","namespace":"default"},"spec":{"secretRefName":"storageos-api","secretRefNamespace": "default"}}]' + description: An operator to setup and manage StorageOS cluster. +spec: + # replaces: + displayName: Storageos Cluster Operator + description: | + StorageOS transforms commodity server or cloud based disk capacity into enterprise-class storage to run persistent workloads such as databases in containers. The StorageOS Operator installs and manages StorageOS clusters. + + keywords: ['storageos', 'storage', 'persistent storage', 'open source'] + + version: 0.0.10 + minKubeVersion: "1.10.0" + maturity: alpha + maintainers: + - name: StorageOS, Ltd + email: support@storageos.com + + provider: + name: StorageOS, Ltd + + labels: + operated-by: storageosoperator + + selector: + matchLabels: + operated-by: storageosoperator + + links: + - name: Documentation + url: https://docs.storageos.com/ + - name: StorageOS Cluster Operator Source Code + url: https://github.com/storageos/cluster-operator + + icon: + - base64data: iVBORw0KGgoAAAANSUhEUgAAAakAAAGpCAYAAAA3LMlbAAAX9klEQVR4nOzdT24bR9438JoX2Uc3GPkEUU5gCSC40Ca2LhAbILS1fQJbJ7CzFQhIvoCsbLQgCERzAjMniOYGygneB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CElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGEJKQDCElIAhCWkAAhLSAEQlpACICwhBUBYQgqAsIQUAGH9TwAAAP//uWVl5opI2wgAAAAASUVORK5CYII= + mediatype: image/png + + installModes: + - type: OwnNamespace + supported: true + - type: SingleNamespace + supported: true + - type: MultiNamespace + supported: false + - type: AllNamespaces + supported: true + + install: + strategy: deployment + spec: + clusterPermissions: + - serviceAccountName: storageos-operator + rules: + - apiGroups: + - storageos.com + resources: + - storageosclusters + - storageosupgrades + - jobs + verbs: + - "*" + - apiGroups: + - apps + resources: + - statefulsets + - daemonsets + verbs: + - "*" + - apiGroups: + - "" + resources: + - nodes + verbs: + - list + - watch + - get + - update + - apiGroups: + - "" + resources: + - events + - namespaces + - serviceaccounts + - secrets + - services + - persistentvolumeclaims + - persistentvolumes + verbs: + - create + - patch + - get + - list + - delete + - watch + - update + - apiGroups: + - rbac.authorization.k8s.io + resources: + - roles + - rolebindings + - clusterroles + - clusterrolebindings + verbs: + - create + - delete + - apiGroups: + - storage.k8s.io + resources: + - storageclasses + - volumeattachments + verbs: + - create + - delete + - watch + - list + - get + - update + - apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - create + - delete + - apiGroups: + - csi.storage.k8s.io + resources: + - csidrivers + verbs: + - create + - delete + deployments: + - name: storageos-operator + spec: + replicas: 1 + selector: + matchLabels: + name: storageos-operator + template: + metadata: + name: storageos-operator + labels: + name: storageos-operator + spec: + serviceAccountName: storageos-operator + containers: + - name: storageos-operator + command: + - cluster-operator + image: storageos/cluster-operator:latest + env: + - name: WATCH_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: OPERATOR_NAME + value: "cluster-operator" + ports: + - containerPort: 8080 + name: metrics + customresourcedefinitions: + owned: + - name: storageosclusters.storageos.com + version: v1alpha1 + kind: StorageOSCluster + displayName: StorageOS Cluster + description: Represents a cluster of StorageOS nodes. + - name: jobs.storageos.com + version: v1alpha1 + kind: Job + displayName: StorageOS Job + description: Represents a StorageOS Job. + - name: storageosupgrades.storageos.com + version: v1alpha1 + kind: StorageOSUpgrade + displayName: StorageOS Upgrade + description: Represents a StorageOS Upgrade. diff --git a/deploy/olm/storageos/storageosupgrade.crd.yaml b/deploy/olm/storageos/storageosupgrade.crd.yaml new file mode 100644 index 000000000..a18f77bfc --- /dev/null +++ b/deploy/olm/storageos/storageosupgrade.crd.yaml @@ -0,0 +1,13 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: storageosupgrades.storageos.com +spec: + group: storageos.com + names: + kind: StorageOSUpgrade + listKind: StorageOSUpgradeList + plural: storageosupgrades + singular: storageosupgrade + scope: Namespaced + version: v1alpha1 diff --git a/pkg/apis/storageos/v1alpha1/storageoscluster_types.go b/pkg/apis/storageos/v1alpha1/storageoscluster_types.go index 6d1c1a3a9..454c16f0e 100644 --- a/pkg/apis/storageos/v1alpha1/storageoscluster_types.go +++ b/pkg/apis/storageos/v1alpha1/storageoscluster_types.go @@ -28,7 +28,7 @@ const ( DefaultIngressHostname = "storageos.local" - DefaultNodeContainerImage = "storageos/node:1.1.0" + DefaultNodeContainerImage = "storageos/node:1.1.2" DefaultInitContainerImage = "storageos/init:0.1" CSIv1ClusterDriverRegistrarContainerImage = "quay.io/k8scsi/csi-cluster-driver-registrar:v1.0.1" CSIv1NodeDriverRegistrarContainerImage = "quay.io/k8scsi/csi-node-driver-registrar:v1.0.1"