This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
operator: changes to generate olm-catalog for OperatorHub
Used operator-sdk to generate base versions of crd and the olm-catalog and made additional changes. These files could be pushed to 'community-operators' for publishing pmem-csi-operator on OperatorHub.
- Loading branch information
Showing
7 changed files
with
479 additions
and
14 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 |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
/.tox | ||
Manifest | ||
/_build | ||
|
||
/deploy/crds |
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
287 changes: 287 additions & 0 deletions
287
...ator/olm-catalog/pmem-csi-operator/manifests/pmem-csi-operator.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
168 changes: 168 additions & 0 deletions
168
.../operator/olm-catalog/pmem-csi-operator/manifests/pmem-csi.intel.com_deployments_crd.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,168 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: deployments.pmem-csi.intel.com | ||
spec: | ||
group: pmem-csi.intel.com | ||
names: | ||
kind: Deployment | ||
listKind: DeploymentList | ||
plural: deployments | ||
singular: deployment | ||
scope: Cluster | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
description: Deployment is the Schema for the deployments 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: DeploymentSpec defines the desired state of Deployment | ||
properties: | ||
caCert: | ||
description: CACert encoded root certificate of the CA by which the | ||
registry and node controller certificates are signed If not provided | ||
operator uses a self-signed CA certificate | ||
format: byte | ||
type: string | ||
controllerResources: | ||
description: ControllerResources Compute resources required by Controller | ||
driver | ||
properties: | ||
limits: | ||
additionalProperties: | ||
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 | ||
description: 'Limits describes the maximum amount of compute resources | ||
allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/' | ||
type: object | ||
requests: | ||
additionalProperties: | ||
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 | ||
description: 'Requests describes the minimum amount of compute resources | ||
required. If Requests is omitted for a container, it defaults | ||
to Limits if that is explicitly specified, otherwise to an implementation-defined | ||
value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/' | ||
type: object | ||
type: object | ||
deviceMode: | ||
description: DeviceMode to use to manage PMEM devices. One of lvm, direct | ||
type: string | ||
image: | ||
description: PMEM-CSI driver container image | ||
type: string | ||
imagePullPolicy: | ||
description: PullPolicy image pull policy one of Always, Never, IfNotPresent | ||
type: string | ||
labels: | ||
additionalProperties: | ||
type: string | ||
description: Labels contains additional labels for all objects created | ||
by the operator. | ||
type: object | ||
logLevel: | ||
description: LogLevel number for the log verbosity | ||
type: integer | ||
nodeControllerCert: | ||
description: NodeControllerCert encoded certificate signed by a CA for | ||
node controller server authentication If not provided, provisioned | ||
one by the operator using self-signed CA | ||
format: byte | ||
type: string | ||
nodeControllerKey: | ||
description: NodeControllerPrivateKey encoded private key used for node | ||
controller server certificate If not provided, provisioned one by | ||
the operator | ||
format: byte | ||
type: string | ||
nodeRegistrarImage: | ||
description: NodeRegistrarImage CSI node driver registrar sidecar image | ||
type: string | ||
nodeResources: | ||
description: NodeResources Compute resources required by Node driver | ||
properties: | ||
limits: | ||
additionalProperties: | ||
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 | ||
description: 'Limits describes the maximum amount of compute resources | ||
allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/' | ||
type: object | ||
requests: | ||
additionalProperties: | ||
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 | ||
description: 'Requests describes the minimum amount of compute resources | ||
required. If Requests is omitted for a container, it defaults | ||
to Limits if that is explicitly specified, otherwise to an implementation-defined | ||
value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/' | ||
type: object | ||
type: object | ||
nodeSelector: | ||
additionalProperties: | ||
type: string | ||
description: NodeSelector node labels to use for selection of driver | ||
node | ||
type: object | ||
pmemPercentage: | ||
description: PMEMPercentage represents the percentage of space to be | ||
used by the driver in each PMEM region on every node. Default 100 | ||
This is only valid for driver in LVM mode | ||
type: integer | ||
provisionerImage: | ||
description: ProvisionerImage CSI provisioner sidecar image | ||
type: string | ||
registryCert: | ||
description: RegistryCert encoded certificate signed by a CA for registry | ||
server authentication If not provided, provisioned one by the operator | ||
using self-signed CA | ||
format: byte | ||
type: string | ||
registryKey: | ||
description: RegistryPrivateKey encoded private key used for registry | ||
server certificate If not provided, provisioned one by the operator | ||
format: byte | ||
type: string | ||
type: object | ||
status: | ||
description: DeploymentStatus defines the observed state of Deployment | ||
properties: | ||
lastUpdated: | ||
description: LastUpdated time of the deployment status | ||
format: date-time | ||
type: string | ||
phase: | ||
description: Phase indicates the state of the deployment | ||
type: string | ||
type: object | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.