Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator ibm-storage-odf-operator (1.5.0) #4147

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
apiVersion: v1
data:
csi.ibm.com_v1_ibmblockcsi_cr.yaml: |
apiVersion: csi.ibm.com/v1
kind: IBMBlockCSI
metadata:
name: ibm-block-csi
namespace: default
labels:
app.kubernetes.io/name: ibm-block-csi
app.kubernetes.io/instance: ibm-block-csi
app.kubernetes.io/managed-by: ibm-block-csi-operator
release: v1.11.3
spec:
# controller is a statefulSet with ibm-block-csi-controller container
# and csi-provisioner, csi-attacher, csi-snapshotter and livenessprobe sidecars.
controller:
image: quay.io/ibmcsiblock/ibm-block-csi-driver-controller@sha256:0d3f07215a3d766ca21f516b1f0c2ed6d3578f2fbafebb93918accc9b7ffd532
imagePullPolicy: IfNotPresent
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- amd64
- s390x
- ppc64le

# node is a daemonSet with ibm-block-csi-node container
# and csi-node-driver-registrar and livenessprobe sidecars.
node:
image: quay.io/ibmcsiblock/ibm-block-csi-driver-node@sha256:1c8a37c78055ca7d4b56e5a9067950315a37e6460cd6109c0fea9088a5ba2f20
imagePullPolicy: IfNotPresent
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- amd64
- s390x
- ppc64le

# tolerations:
# - effect: NoSchedule
# key: node-role.kubernetes.io/master
# operator: Exists

sidecars:
- name: csi-node-driver-registrar
image: k8s.gcr.io/sig-storage/csi-node-driver-registrar@sha256:fdff3ee285341bc58033b6b2458a5d45fd90ec6922a8ba6ebdd49b0c41e2cd34
imagePullPolicy: IfNotPresent
- name: csi-provisioner
image: k8s.gcr.io/sig-storage/csi-provisioner@sha256:e468dddcd275163a042ab297b2d8c2aca50d5e148d2d22f3b6ba119e2f31fa79
imagePullPolicy: IfNotPresent
- name: csi-attacher
image: k8s.gcr.io/sig-storage/csi-attacher@sha256:34cf9b32736c6624fc9787fb149ea6e0fbeb45415707ac2f6440ac960f1116e6
imagePullPolicy: IfNotPresent
- name: csi-snapshotter
image: k8s.gcr.io/sig-storage/csi-snapshotter@sha256:714aa06ccdd3781f1a76487e2dc7592ece9a12ae9e0b726e4f93d1639129b771
imagePullPolicy: IfNotPresent
- name: csi-resizer
image: k8s.gcr.io/sig-storage/csi-resizer@sha256:3a7bdf5d105783d05d0962fa06ca53032b01694556e633f27366201c2881e01d
imagePullPolicy: IfNotPresent
- name: csi-addons-replicator
image: quay.io/ibmcsiblock/csi-block-volumereplication-operator@sha256:df6b5fb320bbd7fea1134fd28e24d3f09b40ca831ddc79436d6ccf63109bb5d9
imagePullPolicy: IfNotPresent
- name: csi-volume-group
image: quay.io/ibmcsiblock/csi-volume-group-operator@sha256:0b13b895cff8fb92ec7016c95667810f3bdc2f753a3196c72baae24cbee03478
imagePullPolicy: IfNotPresent
- name: livenessprobe
image: k8s.gcr.io/sig-storage/livenessprobe@sha256:2b10b24dafdc3ba94a03fc94d9df9941ca9d6a9207b927f5dfd21d59fbe05ba0
imagePullPolicy: IfNotPresent

# healthPort: 9808
# imagePullSecrets:
# - "secretName"
kind: ConfigMap
metadata:
name: flashsystem-csi-cr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
creationTimestamp: null
name: flashsystemcluster-metrics
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
creationTimestamp: null
name: flashsystemcluster-metrics
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: flashsystemcluster-metrics
subjects:
- kind: ServiceAccount
name: prometheus-k8s
namespace: openshift-monitoring
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
odf: storage.ibm.com
name: ibm-storage-odf-operator-metrics-service
spec:
ports:
- name: https
port: 8443
targetPort: https
selector:
odf: storage.ibm.com
status:
loadBalancer: {}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: metrics-reader
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: flashsystemclusters.odf.ibm.com
spec:
group: odf.ibm.com
names:
kind: FlashSystemCluster
listKind: FlashSystemClusterList
plural: flashsystemclusters
singular: flashsystemcluster
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: Current Phase
jsonPath: .status.phase
name: Phase
type: string
- jsonPath: .metadata.creationTimestamp
name: Created At
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: FlashSystemCluster is the Schema for the FlashSystemClusters
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: FlashSystemClusterSpec defines the desired state of FlashSystemCluster
properties:
defaultPool:
description: DefaultPool has the configuration to create default storage
class
properties:
fsType:
enum:
- ext4
- xfs
type: string
poolName:
type: string
spaceEfficiency:
enum:
- thick
- thin
- compressed
- deduplicated
type: string
storageclassName:
type: string
volumeNamePrefix:
maxLength: 20
type: string
required:
- poolName
- storageclassName
type: object
insecureSkipVerify:
description: InsecureSkipVerify disables target certificate validation
if true
type: boolean
name:
description: Name is the name of the flashsystem storage cluster
type: string
secret:
description: Secret refers to a secret that has the credentials for
FlashSystem csi StorageClass
properties:
name:
description: name is unique within a namespace to reference a
secret resource.
type: string
namespace:
description: namespace defines the space within which the secret
name must be unique.
type: string
type: object
required:
- name
- secret
type: object
status:
description: FlashSystemClusterStatus defines the observed state of FlashSystemCluster
properties:
conditions:
description: Conditions describes the state of the FlashSystemCluster
resource.
items:
description: Condition represents the state of the operator's reconciliation
functionality.
properties:
lastHeartbeatTime:
format: date-time
type: string
lastTransitionTime:
format: date-time
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
description: ConditionType is the state of the operator's reconciliation
functionality.
type: string
required:
- status
- type
type: object
type: array
phase:
description: Phase describes the Phase of FlashSystemCluster This
is used by OLM UI to provide status information to the user
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
18 changes: 18 additions & 0 deletions operators/ibm-storage-odf-operator/1.5.0/metadata/annotations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
annotations:
# Core bundle annotations.
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
operators.operatorframework.io.bundle.manifests.v1: manifests/
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: ibm-storage-odf-operator
operators.operatorframework.io.bundle.channels.v1: stable-v1.5
operators.operatorframework.io.bundle.channel.default.v1: stable-v1.5
operators.operatorframework.io.metrics.builder: operator-sdk-v1.25.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3

# Annotations for testing.
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
operators.operatorframework.io.test.config.v1: tests/scorecard/

# OpenShift annotations:
com.redhat.openshift.versions: v4.13-v4.14
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dependencies:
- type: olm.package
value:
packageName: ibm-block-csi-operator
version: "=1.11.3"