Skip to content

Commit

Permalink
Merge pull request #431 from redhat-openshift-ecosystem/ISV-4161-test5
Browse files Browse the repository at this point in the history
operator [R] [CI] hpe-csi-operator (1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.4.1 2.0.0 2.1.0 2.1.1-0 2.2.0 2.2.1 2.3.0 2.4.0)
  • Loading branch information
mporrato authored Oct 13, 2023
2 parents e598a6a + cbab0df commit f257ca8
Show file tree
Hide file tree
Showing 53 changed files with 11,511 additions and 0 deletions.
21 changes: 21 additions & 0 deletions operators/hpe-csi-operator/1.0.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM scratch

LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=hpe-csi-operator
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.0.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1

#Add these labels
LABEL com.redhat.openshift.versions="v4.4,v4.6"
LABEL com.redhat.delivery.operator.bundle=true
LABEL com.redhat.delivery.backport=true

COPY manifests /manifests/
COPY metadata /metadata/

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
name: hpecsidrivers.storage.hpe.com
spec:
group: storage.hpe.com
names:
kind: HPECSIDriver
listKind: HPECSIDriverList
plural: hpecsidrivers
singular: hpecsidriver
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
description: HPECSIDriver is the Schema for the hpecsidrivers 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: HPECSIDriverSpec defines the desired state of HPECSIDriver
properties:
crd:
description: HPE CRD controls
properties:
nodeInfo:
description: Properties for controlling HPE NodeInfo CRDs
properties:
create:
description: Indicates to create HPENodeInfo CRD objects
type: boolean
required:
- create
type: object
required:
- nodeInfo
type: object
cspName:
description: HPE CSP name
type: string
flavor:
description: Flavor of the CO orchestrator
type: string
imagePullPolicy:
description: Image Pull Policy for HPE CSI driver images
type: string
images:
description: HPE CSI driver images
properties:
csiDriverImage:
type: string
cspImage:
type: string
required:
- csiDriverImage
- cspImage
type: object
logLevel:
description: Default logLevel for HPE CSI driver deployments
type: string
secret:
description: HPE Secret controls
properties:
backend:
description: Storage backend IP
type: string
create:
description: 'Create HPE secret after CSI driver deployment, default:
true'
type: boolean
name:
description: HPE Secret Name
type: string
password:
description: Password for storage backend
type: string
serviceName:
description: HPE CSP Service Name
type: string
servicePort:
description: HPE CSP Service Port
type: string
username:
description: Username for storage backend
type: string
required:
- backend
- create
- name
- password
- serviceName
- servicePort
- username
type: object
storageClass:
description: HPE Storage class controls
properties:
allowVolumeExpansion:
description: Allow volume expansion parameter for default storage
class
type: boolean
create:
description: 'Indicates to create a storage class in the cluster,
default: true'
type: boolean
defaultClass:
description: 'Indicates to make storage class as default in the
cluster, default: false'
type: boolean
name:
description: Name of storage class to create for HPE
type: string
parameters:
description: HPE storage class parameters
properties:
accessProtocol:
description: Access protocol for storage backend
type: string
fsType:
description: Filesystem type for default storage class
type: string
volumeDescription:
description: Volume description parameter in default storage
class
type: string
required:
- accessProtocol
- fsType
- volumeDescription
type: object
required:
- allowVolumeExpansion
- create
- defaultClass
- name
- parameters
type: object
required:
- crd
- cspName
- flavor
- imagePullPolicy
- images
- logLevel
- secret
- storageClass
type: object
status:
description: HpecsidriverStatus defines the observed state of Hpecsidriver
properties:
conditions:
description: HPE CSI Driver helm release status
items:
properties:
lastTransitionTime:
format: date-time
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
type: string
required:
- status
- type
type: object
type: array
deployedRelease:
description: HPE CSI Driver helm release
properties:
manifest:
type: string
name:
type: string
type: object
required:
- conditions
type: object
type: object
version: v1
versions:
- name: v1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
7 changes: 7 additions & 0 deletions operators/hpe-csi-operator/1.0.0/metadata/annotations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
annotations:
operators.operatorframework.io.bundle.channel.default.v1: stable
operators.operatorframework.io.bundle.channels.v1: stable
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: hpe-csi-operator
21 changes: 21 additions & 0 deletions operators/hpe-csi-operator/1.1.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM scratch

LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=hpe-csi-operator
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.0.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1

#Add these labels
LABEL com.redhat.openshift.versions="v4.4,v4.6"
LABEL com.redhat.delivery.operator.bundle=true
LABEL com.redhat.delivery.backport=true

COPY manifests /manifests/
COPY metadata /metadata/

Large diffs are not rendered by default.

Loading

0 comments on commit f257ca8

Please sign in to comment.