diff --git a/api/v1/acc_types.go b/api/v1/acc_types.go index aa3b473c8..dda58a5c3 100644 --- a/api/v1/acc_types.go +++ b/api/v1/acc_types.go @@ -13,8 +13,6 @@ package v1 import ( - "fmt" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) @@ -78,7 +76,7 @@ func (cr *ApexConnectivityClient) GetApexConnectivityClientStatus() *ApexConnect // GetApexConnectivityClientName - Returns the Client func (cr *ApexConnectivityClient) GetApexConnectivityClientName() string { - return fmt.Sprintf("%s", cr.Name) + return cr.Name } // GetApexConnectivityClientSpec - Returns a pointer to the GetApexConnectivityClientSpec instance diff --git a/operatorconfig/driverconfig/powerflex/v2.10.0/controller.yaml b/operatorconfig/driverconfig/powerflex/v2.10.0/controller.yaml deleted file mode 100644 index 2996c942e..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.10.0/controller.yaml +++ /dev/null @@ -1,260 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "patch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch", "delete"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update", "create", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status", "volumesnapshotcontents/status"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete", "update"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: - annotations: - com.dell.karavi-authorization-proxy: "true" -spec: - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - name: -controller - replicas: 2 - template: - metadata: - labels: - name: -controller - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - affinity: - nodeSelector: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: name - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - serviceAccountName: -controller - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--feature-gates=Topology=true" - - "--volume-name-prefix=k8s" - - "--volume-name-uuid-length=10" - - "--leader-election=true" - - "--timeout=120s" - - "--v=5" - - "--default-fstype=ext4" - - "--extra-create-metadata" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: csi-external-health-monitor-controller - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - - "--enable-node-watcher=true" - - "--http-endpoint=:8080" - - "--monitor-interval=60s" - - "--timeout=180s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-vxflexos:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-vxflexos.sh"] - args: - - "--array-config=/vxflexos-config/config" - - "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_VXFLEXOS_ENABLESNAPSHOTCGDELETE - value: false - - name: X_CSI_VXFLEXOS_ENABLELISTVOLUMESNAPSHOT - value: false - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_QUOTA_ENABLED - value: - - name: X_CSI_POWERFLEX_EXTERNAL_ACCESS - value: - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: vxflexos-config - mountPath: /vxflexos-config - - name: vxflexos-config-params - mountPath: /vxflexos-config-params - - name: certs - mountPath: /certs - readOnly: true - volumes: - - name: socket-dir - emptyDir: - - name: vxflexos-config - secret: - secretName: -config - - name: vxflexos-config-params - configMap: - name: -config-params - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 diff --git a/operatorconfig/driverconfig/powerflex/v2.10.0/csidriver.yaml b/operatorconfig/driverconfig/powerflex/v2.10.0/csidriver.yaml deleted file mode 100644 index b030dbdf2..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-vxflexos.dellemc.com -spec: - fsGroupPolicy: ReadWriteOnceWithFSType - attachRequired: true - podInfoOnMount: true - storageCapacity: false - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/operatorconfig/driverconfig/powerflex/v2.10.0/driver-config-params.yaml b/operatorconfig/driverconfig/powerflex/v2.10.0/driver-config-params.yaml deleted file mode 100644 index 738f9ae4e..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "TEXT" - PODMON_CONTROLLER_LOG_LEVEL: "debug" - PODMON_CONTROLLER_LOG_FORMAT: "TEXT" - PODMON_NODE_LOG_LEVEL: "debug" - PODMON_NODE_LOG_FORMAT: "TEXT" diff --git a/operatorconfig/driverconfig/powerflex/v2.10.0/node.yaml b/operatorconfig/driverconfig/powerflex/v2.10.0/node.yaml deleted file mode 100644 index 10f09bb9f..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.10.0/node.yaml +++ /dev/null @@ -1,289 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: - annotations: - com.dell.karavi-authorization-proxy: "true" -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - driver.dellemc.com: dell-storage - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - serviceAccount: -node - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - hostPID: false - containers: - - name: driver - securityContext: - privileged: true - allowPrivilegeEscalation: true - capabilities: - add: ["SYS_ADMIN"] - image: dellemc/csi-vxflexos:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-vxflexos.sh"] - args: - - "--array-config=/vxflexos-config/config" - - "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: unix:///plugins/vxflexos.emc.dell.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/vxflexos.emc.dell.com/disks" - - name: X_CSI_ALLOW_RWO_MULTI_POD_ACCESS - value: false - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_APPROVE_SDC_ENABLED - value: - - name: X_CSI_RENAME_SDC_ENABLED - value: - - name: X_CSI_RENAME_SDC_PREFIX - value: - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: - - name: X_CSI_POWERFLEX_KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: driver-path - mountPath: /plugins/vxflexos.emc.dell.com - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: noderoot - mountPath: /noderoot - - name: dev - mountPath: /dev - - name: vxflexos-config - mountPath: /vxflexos-config - - name: vxflexos-config-params - mountPath: /vxflexos-config-params - - name: certs - mountPath: /certs - readOnly: true - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/vxflexos.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - - name: sdc-monitor - securityContext: - privileged: true - image: dellemc/sdc:4.5.1 - imagePullPolicy: IfNotPresent - env: - - name: HOST_PID - value: "1" - - name: HOST_NET - value: "1" - - name: NODENAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MODE - value: "monitoring" - volumeMounts: - - name: dev - mountPath: /dev - - name: os-release - mountPath: /host-os-release - - name: sdc-storage - mountPath: /storage - - name: udev-d - mountPath: /rules.d - - name: host-opt-emc-path - mountPath: /host_opt_emc_path - initContainers: - - name: sdc - securityContext: - privileged: true - image: dellemc/sdc:4.5.1 - imagePullPolicy: IfNotPresent - env: - - name: NODENAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MODE - value: "config" - - name: MDM - valueFrom: - secretKeyRef: - name: -config - key: MDM - - name: HOST_DRV_CFG_PATH - value: /opt/emc/scaleio/sdc/bin - volumeMounts: - - name: dev - mountPath: /dev - - name: os-release - mountPath: /host-os-release - - name: sdc-storage - mountPath: /storage - - name: udev-d - mountPath: /rules.d - - name: scaleio-path-opt - mountPath: /host_drv_cfg_path - - name: host-opt-emc-path - mountPath: /host_opt_emc_path - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/vxflexos.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: scaleio-path-opt - hostPath: - path: /opt/emc/scaleio/sdc/bin - type: DirectoryOrCreate - - name: sdc-storage - hostPath: - path: /var/emc-scaleio - type: DirectoryOrCreate - - name: udev-d - hostPath: - path: /etc/udev/rules.d - type: Directory - - name: os-release - hostPath: - path: /etc/os-release - type: File - - name: host-opt-emc-path - hostPath: - path: /opt/emc - type: Directory - - name: vxflexos-config - secret: - secretName: -config - - name: vxflexos-config-params - configMap: - name: -config-params - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 diff --git a/operatorconfig/driverconfig/powerflex/v2.10.0/upgrade-path.yaml b/operatorconfig/driverconfig/powerflex/v2.10.0/upgrade-path.yaml deleted file mode 100644 index a902cb64c..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.8.0 diff --git a/operatorconfig/driverconfig/powerflex/v2.11.0/upgrade-path.yaml b/operatorconfig/driverconfig/powerflex/v2.11.0/upgrade-path.yaml index 529a9668d..6768c3552 100644 --- a/operatorconfig/driverconfig/powerflex/v2.11.0/upgrade-path.yaml +++ b/operatorconfig/driverconfig/powerflex/v2.11.0/upgrade-path.yaml @@ -1 +1 @@ -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.2 diff --git a/operatorconfig/driverconfig/powerflex/v2.9.0/controller.yaml b/operatorconfig/driverconfig/powerflex/v2.9.0/controller.yaml deleted file mode 100644 index 492d0e591..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.0/controller.yaml +++ /dev/null @@ -1,259 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "patch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch", "delete"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update", "create", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status", "volumesnapshotcontents/status"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete", "update"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: - annotations: - com.dell.karavi-authorization-proxy: "true" -spec: - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - name: -controller - replicas: 2 - template: - metadata: - labels: - name: -controller - spec: - affinity: - nodeSelector: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: name - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - serviceAccountName: -controller - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--feature-gates=Topology=true" - - "--volume-name-prefix=k8s" - - "--volume-name-uuid-length=10" - - "--leader-election=true" - - "--timeout=120s" - - "--v=5" - - "--default-fstype=ext4" - - "--extra-create-metadata" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: csi-external-health-monitor-controller - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - - "--enable-node-watcher=true" - - "--http-endpoint=:8080" - - "--monitor-interval=60s" - - "--timeout=180s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-vxflexos:v2.9.0 - imagePullPolicy: IfNotPresent - command: ["/csi-vxflexos.sh"] - args: - - "--leader-election" - - "--array-config=/vxflexos-config/config" - - "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_VXFLEXOS_ENABLESNAPSHOTCGDELETE - value: false - - name: X_CSI_VXFLEXOS_ENABLELISTVOLUMESNAPSHOT - value: false - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_QUOTA_ENABLED - value: - - name: X_CSI_POWERFLEX_EXTERNAL_ACCESS - value: - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: vxflexos-config - mountPath: /vxflexos-config - - name: vxflexos-config-params - mountPath: /vxflexos-config-params - - name: certs - mountPath: /certs - readOnly: true - volumes: - - name: socket-dir - emptyDir: - - name: vxflexos-config - secret: - secretName: -config - - name: vxflexos-config-params - configMap: - name: -config-params - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 diff --git a/operatorconfig/driverconfig/powerflex/v2.9.0/csidriver.yaml b/operatorconfig/driverconfig/powerflex/v2.9.0/csidriver.yaml deleted file mode 100644 index b030dbdf2..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-vxflexos.dellemc.com -spec: - fsGroupPolicy: ReadWriteOnceWithFSType - attachRequired: true - podInfoOnMount: true - storageCapacity: false - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/operatorconfig/driverconfig/powerflex/v2.9.0/driver-config-params.yaml b/operatorconfig/driverconfig/powerflex/v2.9.0/driver-config-params.yaml deleted file mode 100644 index b5a7060aa..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.0/driver-config-params.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: debug - CSI_LOG_FORMAT: TEXT diff --git a/operatorconfig/driverconfig/powerflex/v2.9.0/node.yaml b/operatorconfig/driverconfig/powerflex/v2.9.0/node.yaml deleted file mode 100644 index 0c97b3b5c..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.0/node.yaml +++ /dev/null @@ -1,287 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: - annotations: - com.dell.karavi-authorization-proxy: "true" -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - driver.dellemc.com: dell-storage - spec: - serviceAccount: -node - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - hostPID: false - containers: - - name: driver - securityContext: - privileged: true - allowPrivilegeEscalation: true - capabilities: - add: ["SYS_ADMIN"] - image: dellemc/csi-vxflexos:v2.9.0 - imagePullPolicy: IfNotPresent - command: ["/csi-vxflexos.sh"] - args: - - "--array-config=/vxflexos-config/config" - - "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: unix:///plugins/vxflexos.emc.dell.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/vxflexos.emc.dell.com/disks" - - name: X_CSI_ALLOW_RWO_MULTI_POD_ACCESS - value: false - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_APPROVE_SDC_ENABLED - value: - - name: X_CSI_RENAME_SDC_ENABLED - value: - - name: X_CSI_RENAME_SDC_PREFIX - value: - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: - - name: X_CSI_POWERFLEX_KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: driver-path - mountPath: /plugins/vxflexos.emc.dell.com - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: noderoot - mountPath: /noderoot - - name: dev - mountPath: /dev - - name: vxflexos-config - mountPath: /vxflexos-config - - name: vxflexos-config-params - mountPath: /vxflexos-config-params - - name: certs - mountPath: /certs - readOnly: true - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/vxflexos.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - - name: sdc-monitor - securityContext: - privileged: true - image: dellemc/sdc:4.5 - imagePullPolicy: IfNotPresent - env: - - name: HOST_PID - value: "1" - - name: HOST_NET - value: "1" - - name: NODENAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MODE - value: "monitoring" - volumeMounts: - - name: dev - mountPath: /dev - - name: os-release - mountPath: /host-os-release - - name: sdc-storage - mountPath: /storage - - name: udev-d - mountPath: /rules.d - - name: host-opt-emc-path - mountPath: /host_opt_emc_path - initContainers: - - name: sdc - securityContext: - privileged: true - image: dellemc/sdc:4.5 - imagePullPolicy: IfNotPresent - env: - - name: NODENAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MODE - value: "config" - - name: MDM - valueFrom: - secretKeyRef: - name: -config - key: MDM - - name: HOST_DRV_CFG_PATH - value: /opt/emc/scaleio/sdc/bin - volumeMounts: - - name: dev - mountPath: /dev - - name: os-release - mountPath: /host-os-release - - name: sdc-storage - mountPath: /storage - - name: udev-d - mountPath: /rules.d - - name: scaleio-path-opt - mountPath: /host_drv_cfg_path - - name: host-opt-emc-path - mountPath: /host_opt_emc_path - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/vxflexos.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: scaleio-path-opt - hostPath: - path: /opt/emc/scaleio/sdc/bin - type: DirectoryOrCreate - - name: sdc-storage - hostPath: - path: /var/emc-scaleio - type: DirectoryOrCreate - - name: udev-d - hostPath: - path: /etc/udev/rules.d - type: Directory - - name: os-release - hostPath: - path: /etc/os-release - type: File - - name: host-opt-emc-path - hostPath: - path: /opt/emc - type: Directory - - name: vxflexos-config - secret: - secretName: -config - - name: vxflexos-config-params - configMap: - name: -config-params - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 diff --git a/operatorconfig/driverconfig/powerflex/v2.9.1/controller.yaml b/operatorconfig/driverconfig/powerflex/v2.9.1/controller.yaml deleted file mode 100644 index e0155fbff..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.1/controller.yaml +++ /dev/null @@ -1,258 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "patch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch", "delete"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update", "create", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status", "volumesnapshotcontents/status"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete", "update"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: - annotations: - com.dell.karavi-authorization-proxy: "true" -spec: - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - name: -controller - replicas: 2 - template: - metadata: - labels: - name: -controller - spec: - affinity: - nodeSelector: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: name - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - serviceAccountName: -controller - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--feature-gates=Topology=true" - - "--volume-name-prefix=k8s" - - "--volume-name-uuid-length=10" - - "--leader-election=true" - - "--timeout=120s" - - "--v=5" - - "--default-fstype=ext4" - - "--extra-create-metadata" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: csi-external-health-monitor-controller - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - - "--enable-node-watcher=true" - - "--http-endpoint=:8080" - - "--monitor-interval=60s" - - "--timeout=180s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-vxflexos:v2.9.1 - imagePullPolicy: IfNotPresent - command: ["/csi-vxflexos.sh"] - args: - - "--array-config=/vxflexos-config/config" - - "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_VXFLEXOS_ENABLESNAPSHOTCGDELETE - value: false - - name: X_CSI_VXFLEXOS_ENABLELISTVOLUMESNAPSHOT - value: false - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_QUOTA_ENABLED - value: - - name: X_CSI_POWERFLEX_EXTERNAL_ACCESS - value: - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: vxflexos-config - mountPath: /vxflexos-config - - name: vxflexos-config-params - mountPath: /vxflexos-config-params - - name: certs - mountPath: /certs - readOnly: true - volumes: - - name: socket-dir - emptyDir: - - name: vxflexos-config - secret: - secretName: -config - - name: vxflexos-config-params - configMap: - name: -config-params - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 diff --git a/operatorconfig/driverconfig/powerflex/v2.9.1/csidriver.yaml b/operatorconfig/driverconfig/powerflex/v2.9.1/csidriver.yaml deleted file mode 100644 index b030dbdf2..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.1/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-vxflexos.dellemc.com -spec: - fsGroupPolicy: ReadWriteOnceWithFSType - attachRequired: true - podInfoOnMount: true - storageCapacity: false - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/operatorconfig/driverconfig/powerflex/v2.9.1/driver-config-params.yaml b/operatorconfig/driverconfig/powerflex/v2.9.1/driver-config-params.yaml deleted file mode 100644 index 738f9ae4e..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.1/driver-config-params.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "TEXT" - PODMON_CONTROLLER_LOG_LEVEL: "debug" - PODMON_CONTROLLER_LOG_FORMAT: "TEXT" - PODMON_NODE_LOG_LEVEL: "debug" - PODMON_NODE_LOG_FORMAT: "TEXT" diff --git a/operatorconfig/driverconfig/powerflex/v2.9.1/node.yaml b/operatorconfig/driverconfig/powerflex/v2.9.1/node.yaml deleted file mode 100644 index 56d7677ad..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.1/node.yaml +++ /dev/null @@ -1,287 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: - annotations: - com.dell.karavi-authorization-proxy: "true" -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - driver.dellemc.com: dell-storage - spec: - serviceAccount: -node - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - hostPID: false - containers: - - name: driver - securityContext: - privileged: true - allowPrivilegeEscalation: true - capabilities: - add: ["SYS_ADMIN"] - image: dellemc/csi-vxflexos:v2.9.1 - imagePullPolicy: IfNotPresent - command: ["/csi-vxflexos.sh"] - args: - - "--array-config=/vxflexos-config/config" - - "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: unix:///plugins/vxflexos.emc.dell.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/vxflexos.emc.dell.com/disks" - - name: X_CSI_ALLOW_RWO_MULTI_POD_ACCESS - value: false - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_APPROVE_SDC_ENABLED - value: - - name: X_CSI_RENAME_SDC_ENABLED - value: - - name: X_CSI_RENAME_SDC_PREFIX - value: - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: - - name: X_CSI_POWERFLEX_KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: driver-path - mountPath: /plugins/vxflexos.emc.dell.com - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: noderoot - mountPath: /noderoot - - name: dev - mountPath: /dev - - name: vxflexos-config - mountPath: /vxflexos-config - - name: vxflexos-config-params - mountPath: /vxflexos-config-params - - name: certs - mountPath: /certs - readOnly: true - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/vxflexos.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - - name: sdc-monitor - securityContext: - privileged: true - image: dellemc/sdc:4.5 - imagePullPolicy: IfNotPresent - env: - - name: HOST_PID - value: "1" - - name: HOST_NET - value: "1" - - name: NODENAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MODE - value: "monitoring" - volumeMounts: - - name: dev - mountPath: /dev - - name: os-release - mountPath: /host-os-release - - name: sdc-storage - mountPath: /storage - - name: udev-d - mountPath: /rules.d - - name: host-opt-emc-path - mountPath: /host_opt_emc_path - initContainers: - - name: sdc - securityContext: - privileged: true - image: dellemc/sdc:4.5 - imagePullPolicy: IfNotPresent - env: - - name: NODENAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MODE - value: "config" - - name: MDM - valueFrom: - secretKeyRef: - name: -config - key: MDM - - name: HOST_DRV_CFG_PATH - value: /opt/emc/scaleio/sdc/bin - volumeMounts: - - name: dev - mountPath: /dev - - name: os-release - mountPath: /host-os-release - - name: sdc-storage - mountPath: /storage - - name: udev-d - mountPath: /rules.d - - name: scaleio-path-opt - mountPath: /host_drv_cfg_path - - name: host-opt-emc-path - mountPath: /host_opt_emc_path - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/vxflexos.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: scaleio-path-opt - hostPath: - path: /opt/emc/scaleio/sdc/bin - type: DirectoryOrCreate - - name: sdc-storage - hostPath: - path: /var/emc-scaleio - type: DirectoryOrCreate - - name: udev-d - hostPath: - path: /etc/udev/rules.d - type: Directory - - name: os-release - hostPath: - path: /etc/os-release - type: File - - name: host-opt-emc-path - hostPath: - path: /opt/emc - type: Directory - - name: vxflexos-config - secret: - secretName: -config - - name: vxflexos-config-params - configMap: - name: -config-params - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 diff --git a/operatorconfig/driverconfig/powerflex/v2.9.1/upgrade-path.yaml b/operatorconfig/driverconfig/powerflex/v2.9.1/upgrade-path.yaml deleted file mode 100644 index fab8efca9..000000000 --- a/operatorconfig/driverconfig/powerflex/v2.9.1/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.7.0 diff --git a/operatorconfig/driverconfig/powermax/v2.10.0/controller.yaml b/operatorconfig/driverconfig/powermax/v2.10.0/controller.yaml deleted file mode 100644 index 4d77d6247..000000000 --- a/operatorconfig/driverconfig/powermax/v2.10.0/controller.yaml +++ /dev/null @@ -1,323 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots", "volumesnapshots/status"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 1 - template: - metadata: - labels: - app: -controller - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - serviceAccount: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--timeout=180s" - - "--v=5" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--timeout=180s" - - "--worker-threads=6" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--http-endpoint=:8080" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=pmax" - - "--volume-name-uuid-length=10" - - "--worker-threads=6" - - "--timeout=120s" - - "--v=5" - - "--feature-gates=Topology=true" - - "--leader-election" - - "--extra-create-metadata" - - "--default-fstype=ext4" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=180s" - - "--v=5" - - "--snapshot-name-prefix=pmsn" - - "--leader-election" - - "--snapshot-name-uuid-length=10" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-powermax:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powermax.sh"] - env: - - name: X_CSI_POWERMAX_DRIVER_NAME - value: csi-powermax.dellemc.com - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MANAGED_ARRAYS - value: "" - - name: X_CSI_POWERMAX_ENDPOINT - value: "" - - name: X_CSI_K8S_CLUSTER_PREFIX - value: "" - - name: X_CSI_MODE - value: controller - - name: X_CSI_POWERMAX_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_POWERMAX_USER - valueFrom: - secretKeyRef: - key: username - name: powermax-creds - - name: X_CSI_POWERMAX_PASSWORD - valueFrom: - secretKeyRef: - key: password - name: powermax-creds - - name: X_CSI_POWERMAX_DEBUG - value: "" - - name: X_CSI_POWERMAX_PORTGROUPS - value: "" - - name: X_CSI_GRPC_MAX_THREADS - value: "50" - - name: X_CSI_ENABLE_BLOCK - value: "true" - - name: X_CSI_TRANSPORT_PROTOCOL - value: "" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_IG_NODENAME_TEMPLATE - value: "" - - name: X_CSI_IG_MODIFY_HOSTNAME - value: "" - - name: X_CSI_UNISPHERE_TIMEOUT - value: 5m - - name: X_CSI_POWERMAX_CONFIG_PATH - value: /powermax-config-params/driver-config-params.yaml - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_VSPHERE_ENABLED - value: "" - - name: X_CSI_VSPHERE_PORTGROUP - value: "" - - name: X_CSI_VSPHERE_HOSTNAME - value: "" - - name: X_CSI_VCENTER_HOST - value: "" - - name: X_CSI_VCENTER_USERNAME - valueFrom: - secretKeyRef: - key: username - name: vcenter-creds - optional: true - - name: X_CSI_VCENTER_PWD - valueFrom: - secretKeyRef: - key: password - name: vcenter-creds - optional: true - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: powermax-config-params - mountPath: -config-params - volumes: - - name: socket-dir - emptyDir: - - name: certs - secret: - secretName: -certs - optional: true - - name: powermax-config-params - configMap: - name: -config-params - - name: cert-dir - emptyDir: diff --git a/operatorconfig/driverconfig/powermax/v2.10.0/csidriver.yaml b/operatorconfig/driverconfig/powermax/v2.10.0/csidriver.yaml deleted file mode 100644 index d587761b5..000000000 --- a/operatorconfig/driverconfig/powermax/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-powermax.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: true - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent diff --git a/operatorconfig/driverconfig/powermax/v2.10.0/driver-config-params.yaml b/operatorconfig/driverconfig/powermax/v2.10.0/driver-config-params.yaml deleted file mode 100644 index 35610ec91..000000000 --- a/operatorconfig/driverconfig/powermax/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "TEXT" diff --git a/operatorconfig/driverconfig/powermax/v2.10.0/node.yaml b/operatorconfig/driverconfig/powermax/v2.10.0/node.yaml deleted file mode 100644 index 1486c847f..000000000 --- a/operatorconfig/driverconfig/powermax/v2.10.0/node.yaml +++ /dev/null @@ -1,261 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - serviceAccount: -node - #nodeSelector: - #tolerations: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - command: ["/csi-powermax.sh"] - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-powermax:v2.10.0 - imagePullPolicy: IfNotPresent - env: - - name: X_CSI_POWERMAX_DRIVER_NAME - value: csi-powermax.dellemc.com - - name: CSI_ENDPOINT - value: unix:///plugins/powermax.emc.dell.com/csi_sock - - name: X_CSI_MANAGED_ARRAYS - value: "" - - name: X_CSI_POWERMAX_ENDPOINT - value: "" - - name: X_CSI_K8S_CLUSTER_PREFIX - value: "" - - name: X_CSI_MODE - value: node - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/powermax.emc.dell.com/disks" - - name: X_CSI_POWERMAX_SKIP_CERTIFICATE_VALIDATION - value: true - - name: X_CSI_POWERMAX_USER - valueFrom: - secretKeyRef: - name: powermax-creds - key: username - - name: X_CSI_POWERMAX_PASSWORD - valueFrom: - secretKeyRef: - name: powermax-creds - key: password - - name: X_CSI_POWERMAX_NODENAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_POWERMAX_ISCSI_ENABLE_CHAP - value: "" - - name: X_CSI_POWERMAX_PROXY_SERVICE_NAME - value: "csipowermax-reverseproxy" - - name: X_CSI_ISCSI_CHROOT - value: noderoot - - name: X_CSI_GRPC_MAX_THREADS - value: "50" - - name: X_CSI_TRANSPORT_PROTOCOL - value: "" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_POWERMAX_CONFIG_PATH - value: /powermax-config-params/driver-config-params.yaml - - name: X_CSI_POWERMAX_TOPOLOGY_CONFIG_PATH - value: /node-topology-config/topologyConfig.yaml - - name: X_CSI_IG_NODENAME_TEMPLATE - value: "" - - name: X_CSI_IG_MODIFY_HOSTNAME - value: "" - - name: X_CSI_POWERMAX_PORTGROUPS - value: "" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: "" - - name: X_CSI_TOPOLOGY_CONTROL_ENABLED - value: "" - - name: X_CSI_VSPHERE_ENABLED - value: "" - - name: X_CSI_VSPHERE_PORTGROUP - value: "" - - name: X_CSI_VCENTER_HOST - value: "" - - name: X_CSI_VSPHERE_HOSTNAME - value: "" - - name: X_CSI_VCENTER_USERNAME - valueFrom: - secretKeyRef: - key: username - name: vcenter-creds - optional: true - - name: X_CSI_VCENTER_PWD - valueFrom: - secretKeyRef: - key: password - name: vcenter-creds - optional: true - volumeMounts: - - name: driver-path - mountPath: /plugins/powermax.emc.dell.com - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: sys - mountPath: /sys - - name: noderoot - mountPath: /noderoot - - name: dbus-socket - mountPath: /run/dbus/system_bus_socket - - name: certs - mountPath: /certs - readOnly: true - - name: powermax-config-params - mountPath: /powermax-config-params - - name: node-topology-config - mountPath: /node-topology-config - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/powermax.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/powermax.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: sys - hostPath: - path: /sys - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: dbus-socket - hostPath: - path: /run/dbus/system_bus_socket - type: Socket - - name: certs - secret: - secretName: -certs - optional: true - - name: powermax-config-params - configMap: - name: -config-params - - name: node-topology-config - configMap: - name: node-topology-config - optional: true diff --git a/operatorconfig/driverconfig/powermax/v2.10.0/upgrade-path.yaml b/operatorconfig/driverconfig/powermax/v2.10.0/upgrade-path.yaml deleted file mode 100644 index a902cb64c..000000000 --- a/operatorconfig/driverconfig/powermax/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.8.0 diff --git a/operatorconfig/driverconfig/powermax/v2.11.0/upgrade-path.yaml b/operatorconfig/driverconfig/powermax/v2.11.0/upgrade-path.yaml index 529a9668d..9c02efc7d 100644 --- a/operatorconfig/driverconfig/powermax/v2.11.0/upgrade-path.yaml +++ b/operatorconfig/driverconfig/powermax/v2.11.0/upgrade-path.yaml @@ -1 +1 @@ -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.1 diff --git a/operatorconfig/driverconfig/powermax/v2.9.0/controller.yaml b/operatorconfig/driverconfig/powermax/v2.9.0/controller.yaml deleted file mode 100644 index d018a5f20..000000000 --- a/operatorconfig/driverconfig/powermax/v2.9.0/controller.yaml +++ /dev/null @@ -1,323 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots", "volumesnapshots/status"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 1 - template: - metadata: - labels: - app: -controller - spec: - serviceAccount: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--timeout=180s" - - "--v=5" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--timeout=180s" - - "--worker-threads=6" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--http-endpoint=:8080" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=pmax" - - "--volume-name-uuid-length=10" - - "--worker-threads=6" - - "--timeout=120s" - - "--v=5" - - "--feature-gates=Topology=true" - - "--leader-election" - - "--extra-create-metadata" - - "--default-fstype=ext4" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=180s" - - "--v=5" - - "--snapshot-name-prefix=pmsn" - - "--leader-election" - - "--snapshot-name-uuid-length=10" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-powermax:v2.9.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powermax.sh"] - args: - - "--leader-election" - env: - - name: X_CSI_POWERMAX_DRIVER_NAME - value: csi-powermax.dellemc.com - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MANAGED_ARRAYS - value: "" - - name: X_CSI_POWERMAX_ENDPOINT - value: "" - - name: X_CSI_K8S_CLUSTER_PREFIX - value: "" - - name: X_CSI_MODE - value: controller - - name: X_CSI_POWERMAX_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_POWERMAX_USER - valueFrom: - secretKeyRef: - key: username - name: powermax-creds - - name: X_CSI_POWERMAX_PASSWORD - valueFrom: - secretKeyRef: - key: password - name: powermax-creds - - name: X_CSI_POWERMAX_DEBUG - value: "" - - name: X_CSI_POWERMAX_PORTGROUPS - value: "" - - name: X_CSI_GRPC_MAX_THREADS - value: "50" - - name: X_CSI_ENABLE_BLOCK - value: "true" - - name: X_CSI_TRANSPORT_PROTOCOL - value: "" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_IG_NODENAME_TEMPLATE - value: "" - - name: X_CSI_IG_MODIFY_HOSTNAME - value: "" - - name: X_CSI_UNISPHERE_TIMEOUT - value: 5m - - name: X_CSI_POWERMAX_CONFIG_PATH - value: /powermax-config-params/driver-config-params.yaml - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_VSPHERE_ENABLED - value: "" - - name: X_CSI_VSPHERE_PORTGROUP - value: "" - - name: X_CSI_VSPHERE_HOSTNAME - value: "" - - name: X_CSI_VCENTER_HOST - value: "" - - name: X_CSI_VCENTER_USERNAME - valueFrom: - secretKeyRef: - key: username - name: vcenter-creds - optional: true - - name: X_CSI_VCENTER_PWD - valueFrom: - secretKeyRef: - key: password - name: vcenter-creds - optional: true - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: powermax-config-params - mountPath: -config-params - volumes: - - name: socket-dir - emptyDir: - - name: certs - secret: - secretName: -certs - optional: true - - name: powermax-config-params - configMap: - name: -config-params - - name: cert-dir - emptyDir: diff --git a/operatorconfig/driverconfig/powermax/v2.9.0/csidriver.yaml b/operatorconfig/driverconfig/powermax/v2.9.0/csidriver.yaml deleted file mode 100644 index d587761b5..000000000 --- a/operatorconfig/driverconfig/powermax/v2.9.0/csidriver.yaml +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-powermax.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: true - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent diff --git a/operatorconfig/driverconfig/powermax/v2.9.0/driver-config-params.yaml b/operatorconfig/driverconfig/powermax/v2.9.0/driver-config-params.yaml deleted file mode 100644 index 35610ec91..000000000 --- a/operatorconfig/driverconfig/powermax/v2.9.0/driver-config-params.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "TEXT" diff --git a/operatorconfig/driverconfig/powermax/v2.9.0/node.yaml b/operatorconfig/driverconfig/powermax/v2.9.0/node.yaml deleted file mode 100644 index 9e48f07c0..000000000 --- a/operatorconfig/driverconfig/powermax/v2.9.0/node.yaml +++ /dev/null @@ -1,259 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - spec: - serviceAccount: -node - #nodeSelector: - #tolerations: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - command: ["/csi-powermax.sh"] - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-powermax:v2.9.0 - imagePullPolicy: IfNotPresent - env: - - name: X_CSI_POWERMAX_DRIVER_NAME - value: csi-powermax.dellemc.com - - name: CSI_ENDPOINT - value: unix:///plugins/powermax.emc.dell.com/csi_sock - - name: X_CSI_MANAGED_ARRAYS - value: "" - - name: X_CSI_POWERMAX_ENDPOINT - value: "" - - name: X_CSI_K8S_CLUSTER_PREFIX - value: "" - - name: X_CSI_MODE - value: node - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/powermax.emc.dell.com/disks" - - name: X_CSI_POWERMAX_SKIP_CERTIFICATE_VALIDATION - value: true - - name: X_CSI_POWERMAX_USER - valueFrom: - secretKeyRef: - name: powermax-creds - key: username - - name: X_CSI_POWERMAX_PASSWORD - valueFrom: - secretKeyRef: - name: powermax-creds - key: password - - name: X_CSI_POWERMAX_NODENAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_POWERMAX_ISCSI_ENABLE_CHAP - value: "" - - name: X_CSI_POWERMAX_PROXY_SERVICE_NAME - value: "csipowermax-reverseproxy" - - name: X_CSI_ISCSI_CHROOT - value: noderoot - - name: X_CSI_GRPC_MAX_THREADS - value: "50" - - name: X_CSI_TRANSPORT_PROTOCOL - value: "" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_POWERMAX_CONFIG_PATH - value: /powermax-config-params/driver-config-params.yaml - - name: X_CSI_POWERMAX_TOPOLOGY_CONFIG_PATH - value: /node-topology-config/topologyConfig.yaml - - name: X_CSI_IG_NODENAME_TEMPLATE - value: "" - - name: X_CSI_IG_MODIFY_HOSTNAME - value: "" - - name: X_CSI_POWERMAX_PORTGROUPS - value: "" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: "" - - name: X_CSI_TOPOLOGY_CONTROL_ENABLED - value: "" - - name: X_CSI_VSPHERE_ENABLED - value: "" - - name: X_CSI_VSPHERE_PORTGROUP - value: "" - - name: X_CSI_VCENTER_HOST - value: "" - - name: X_CSI_VSPHERE_HOSTNAME - value: "" - - name: X_CSI_VCENTER_USERNAME - valueFrom: - secretKeyRef: - key: username - name: vcenter-creds - optional: true - - name: X_CSI_VCENTER_PWD - valueFrom: - secretKeyRef: - key: password - name: vcenter-creds - optional: true - volumeMounts: - - name: driver-path - mountPath: /plugins/powermax.emc.dell.com - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: sys - mountPath: /sys - - name: noderoot - mountPath: /noderoot - - name: dbus-socket - mountPath: /run/dbus/system_bus_socket - - name: certs - mountPath: /certs - readOnly: true - - name: powermax-config-params - mountPath: /powermax-config-params - - name: node-topology-config - mountPath: /node-topology-config - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/powermax.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/powermax.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: sys - hostPath: - path: /sys - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: dbus-socket - hostPath: - path: /run/dbus/system_bus_socket - type: Socket - - name: certs - secret: - secretName: -certs - optional: true - - name: powermax-config-params - configMap: - name: -config-params - - name: node-topology-config - configMap: - name: node-topology-config - optional: true diff --git a/operatorconfig/driverconfig/powermax/v2.9.0/upgrade-path.yaml b/operatorconfig/driverconfig/powermax/v2.9.0/upgrade-path.yaml deleted file mode 100644 index fab8efca9..000000000 --- a/operatorconfig/driverconfig/powermax/v2.9.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.7.0 diff --git a/operatorconfig/driverconfig/powerscale/v2.10.0/controller.yaml b/operatorconfig/driverconfig/powerscale/v2.10.0/controller.yaml deleted file mode 100644 index 11f3b5028..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.10.0/controller.yaml +++ /dev/null @@ -1,331 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status"] - verbs: ["update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 1 - template: - metadata: - labels: - app: -controller - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - serviceAccount: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--timeout=120s" - - "--v=5" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--timeout=180s" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--enable-node-watcher=false" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--http-endpoint=:8080" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=k8s" - - "--volume-name-uuid-length=10" - - "--worker-threads=5" - - "--timeout=120s" - - "--v=5" - - "--feature-gates=Topology=true" - - "--leader-election" - - "--extra-create-metadata" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--snapshot-name-prefix=snapshot" - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: csi-metadata-retriever - image: dellemc/csi-metadata-retriever:v1.7.2 - imagePullPolicy: Always - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - command: ["/csi-metadata-retriever"] - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: CSI_RETRIEVER_ENDPOINT - value: /var/run/csi/csi_retriever.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-isilon:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-isilon"] - args: - - "--driver-config-params=/csi-isilon-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: CSI_RETRIEVER_ENDPOINT - value: /var/run/csi/csi_retriever.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_ISI_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_ISI_AUTH_TYPE - value: "0" - - name: X_CSI_VERBOSE - value: "1" - - name: X_CSI_ISI_PORT - value: "8080" - - name: X_CSI_ISI_AUTOPROBE - value: "true" - - name: X_CSI_ISI_QUOTA_ENABLED - value: "true" - - name: X_CSI_ISI_ACCESS_ZONE - value: system - - name: X_CSI_CUSTOM_TOPOLOGY_ENABLED - value: "false" - - name: X_CSI_ISI_PATH - value: "/ifs/data/csi" - - name: X_CSI_ISI_VOLUME_PATH_PERMISSIONS - value: "0777" - - name: X_CSI_ISI_IGNORE_UNRESOLVABLE_HOSTS - value: "false" - - name: X_CSI_ISI_NO_PROBE_ON_START - value: "false" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "false" - - name: X_CSI_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_ISI_CONFIG_PATH - value: /isilon-configs/config - - name: X_CSI_MAX_PATH_LIMIT - value: "192" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: isilon-configs - mountPath: /isilon-configs - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params - volumes: - - name: socket-dir - emptyDir: - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: isilon-configs - secret: - secretName: -creds - - name: csi-isilon-config-params - configMap: - name: -config-params diff --git a/operatorconfig/driverconfig/powerscale/v2.10.0/csidriver.yaml b/operatorconfig/driverconfig/powerscale/v2.10.0/csidriver.yaml deleted file mode 100644 index 65a4a2756..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-isilon.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: true - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/operatorconfig/driverconfig/powerscale/v2.10.0/driver-config-params.yaml b/operatorconfig/driverconfig/powerscale/v2.10.0/driver-config-params.yaml deleted file mode 100644 index 5e0a6004f..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: | - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "TEXT" - PODMON_CONTROLLER_LOG_LEVEL: "debug" - PODMON_CONTROLLER_LOG_FORMAT: "TEXT" - PODMON_NODE_LOG_LEVEL: "debug" - PODMON_NODE_LOG_FORMAT: "TEXT" diff --git a/operatorconfig/driverconfig/powerscale/v2.10.0/node.yaml b/operatorconfig/driverconfig/powerscale/v2.10.0/node.yaml deleted file mode 100644 index 2effc692a..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.10.0/node.yaml +++ /dev/null @@ -1,217 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - serviceAccount: -node - #nodeSelector: - #tolerations: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - command: ["/csi-isilon"] - args: - - "--driver-config-params=/csi-isilon-config-params/driver-config-params.yaml" - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-isilon:v2.10.0 - imagePullPolicy: IfNotPresent - env: - - name: CSI_ENDPOINT - value: /plugins/csi-isilon/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_ISI_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_ISI_AUTH_TYPE - value: "0" - - name: X_CSI_ALLOWED_NETWORKS - value: "" - - name: X_CSI_VERBOSE - value: "1" - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/csi-isilon/disks" - - name: X_CSI_ISI_PORT - value: "8080" - - name: X_CSI_ISI_PATH - value: "/ifs/data/csi" - - name: X_CSI_ISI_NO_PROBE_ON_START - value: "false" - - name: X_CSI_ISI_AUTOPROBE - value: "true" - - name: X_CSI_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: X_CSI_NODE_IP - valueFrom: - fieldRef: - fieldPath: status.hostIP - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_ISI_QUOTA_ENABLED - value: "true" - - name: X_CSI_CUSTOM_TOPOLOGY_ENABLED - value: "false" - - name: X_CSI_ISI_CONFIG_PATH - value: /isilon-configs/config - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: "0" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "false" - - name: X_CSI_MAX_PATH_LIMIT - value: "192" - volumeMounts: - - name: driver-path - mountPath: /plugins/csi-isilon - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: certs - mountPath: /certs - readOnly: true - - name: isilon-configs - mountPath: /isilon-configs - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/csi-isilon/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: csi-path - hostPath: - path: /plugins/kubernetes.io/csi - - name: driver-path - hostPath: - path: /plugins/csi-isilon - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: isilon-configs - secret: - secretName: -creds - - name: csi-isilon-config-params - configMap: - name: -config-params diff --git a/operatorconfig/driverconfig/powerscale/v2.10.0/upgrade-path.yaml b/operatorconfig/driverconfig/powerscale/v2.10.0/upgrade-path.yaml deleted file mode 100644 index a902cb64c..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.8.0 diff --git a/operatorconfig/driverconfig/powerscale/v2.11.0/upgrade-path.yaml b/operatorconfig/driverconfig/powerscale/v2.11.0/upgrade-path.yaml index 529a9668d..9c02efc7d 100644 --- a/operatorconfig/driverconfig/powerscale/v2.11.0/upgrade-path.yaml +++ b/operatorconfig/driverconfig/powerscale/v2.11.0/upgrade-path.yaml @@ -1 +1 @@ -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.1 diff --git a/operatorconfig/driverconfig/powerscale/v2.9.0/controller.yaml b/operatorconfig/driverconfig/powerscale/v2.9.0/controller.yaml deleted file mode 100644 index f5f3ae957..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.9.0/controller.yaml +++ /dev/null @@ -1,333 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status"] - verbs: ["update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 1 - template: - metadata: - labels: - app: -controller - spec: - serviceAccount: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--timeout=120s" - - "--v=5" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--timeout=180s" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--enable-node-watcher=false" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--http-endpoint=:8080" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=k8s" - - "--volume-name-uuid-length=10" - - "--worker-threads=5" - - "--timeout=120s" - - "--v=5" - - "--feature-gates=Topology=true" - - "--leader-election" - - "--extra-create-metadata" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--snapshot-name-prefix=snapshot" - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: csi-metadata-retriever - image: dellemc/csi-metadata-retriever:v1.6.0 - imagePullPolicy: Always - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - command: ["/csi-metadata-retriever"] - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: CSI_RETRIEVER_ENDPOINT - value: /var/run/csi/csi_retriever.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-isilon:v2.9.0 - imagePullPolicy: IfNotPresent - command: ["/csi-isilon"] - args: - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - - "--driver-config-params=/csi-isilon-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: CSI_RETRIEVER_ENDPOINT - value: /var/run/csi/csi_retriever.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_ISI_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_ISI_AUTH_TYPE - value: "0" - - name: X_CSI_VERBOSE - value: "1" - - name: X_CSI_ISI_PORT - value: "8080" - - name: X_CSI_ISI_AUTOPROBE - value: "true" - - name: X_CSI_ISI_QUOTA_ENABLED - value: "true" - - name: X_CSI_ISI_ACCESS_ZONE - value: system - - name: X_CSI_CUSTOM_TOPOLOGY_ENABLED - value: "false" - - name: X_CSI_ISI_PATH - value: "/ifs/data/csi" - - name: X_CSI_ISI_VOLUME_PATH_PERMISSIONS - value: "0777" - - name: X_CSI_ISI_IGNORE_UNRESOLVABLE_HOSTS - value: "false" - - name: X_CSI_ISI_NO_PROBE_ON_START - value: "false" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "false" - - name: X_CSI_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_ISI_CONFIG_PATH - value: /isilon-configs/config - - name: X_CSI_MAX_PATH_LIMIT - value: "192" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: isilon-configs - mountPath: /isilon-configs - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params - volumes: - - name: socket-dir - emptyDir: - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: isilon-configs - secret: - secretName: -creds - - name: csi-isilon-config-params - configMap: - name: -config-params diff --git a/operatorconfig/driverconfig/powerscale/v2.9.0/csidriver.yaml b/operatorconfig/driverconfig/powerscale/v2.9.0/csidriver.yaml deleted file mode 100644 index 65a4a2756..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.9.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-isilon.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: true - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/operatorconfig/driverconfig/powerscale/v2.9.0/driver-config-params.yaml b/operatorconfig/driverconfig/powerscale/v2.9.0/driver-config-params.yaml deleted file mode 100644 index b00f10b02..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.9.0/driver-config-params.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: debug - CSI_LOG_FORMAT: "TEXT" - PODMON_CONTROLLER_LOG_LEVEL: "debug" - PODMON_CONTROLLER_LOG_FORMAT: "TEXT" - PODMON_NODE_LOG_LEVEL: "debug" - PODMON_NODE_LOG_FORMAT: "TEXT" diff --git a/operatorconfig/driverconfig/powerscale/v2.9.0/node.yaml b/operatorconfig/driverconfig/powerscale/v2.9.0/node.yaml deleted file mode 100644 index ad3172063..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.9.0/node.yaml +++ /dev/null @@ -1,215 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - spec: - serviceAccount: -node - #nodeSelector: - #tolerations: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - command: ["/csi-isilon"] - args: - - "--driver-config-params=/csi-isilon-config-params/driver-config-params.yaml" - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-isilon:v2.9.0 - imagePullPolicy: IfNotPresent - env: - - name: CSI_ENDPOINT - value: /plugins/csi-isilon/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_ISI_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_ISI_AUTH_TYPE - value: "0" - - name: X_CSI_ALLOWED_NETWORKS - value: "" - - name: X_CSI_VERBOSE - value: "1" - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/csi-isilon/disks" - - name: X_CSI_ISI_PORT - value: "8080" - - name: X_CSI_ISI_PATH - value: "/ifs/data/csi" - - name: X_CSI_ISI_NO_PROBE_ON_START - value: "false" - - name: X_CSI_ISI_AUTOPROBE - value: "true" - - name: X_CSI_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: X_CSI_NODE_IP - valueFrom: - fieldRef: - fieldPath: status.hostIP - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_ISI_QUOTA_ENABLED - value: "true" - - name: X_CSI_CUSTOM_TOPOLOGY_ENABLED - value: "false" - - name: X_CSI_ISI_CONFIG_PATH - value: /isilon-configs/config - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: "0" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "false" - - name: X_CSI_MAX_PATH_LIMIT - value: "192" - volumeMounts: - - name: driver-path - mountPath: /plugins/csi-isilon - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: certs - mountPath: /certs - readOnly: true - - name: isilon-configs - mountPath: /isilon-configs - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/csi-isilon/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: csi-path - hostPath: - path: /plugins/kubernetes.io/csi - - name: driver-path - hostPath: - path: /plugins/csi-isilon - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: isilon-configs - secret: - secretName: -creds - - name: csi-isilon-config-params - configMap: - name: -config-params diff --git a/operatorconfig/driverconfig/powerscale/v2.9.0/upgrade-path.yaml b/operatorconfig/driverconfig/powerscale/v2.9.0/upgrade-path.yaml deleted file mode 100644 index fab8efca9..000000000 --- a/operatorconfig/driverconfig/powerscale/v2.9.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.7.0 diff --git a/operatorconfig/driverconfig/powerstore/v2.10.0/controller.yaml b/operatorconfig/driverconfig/powerstore/v2.10.0/controller.yaml deleted file mode 100644 index a7f6c9cc2..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.10.0/controller.yaml +++ /dev/null @@ -1,272 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["volumegroup.storage.dell.com"] - resources: ["dellcsivolumegroupsnapshots", "dellcsivolumegroupsnapshots/status"] - verbs: ["create", "list", "watch", "delete", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots", "volumesnapshots/status"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - name: -controller - replicas: 2 - template: - metadata: - labels: - name: -controller - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - serviceAccountName: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: name - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--worker-threads=130" - - "--resync=10s" - - "--timeout=130s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=csivol" - - "--volume-name-uuid-length=10" - - "--v=5" - - "--leader-election" - - "--default-fstype=ext4" - - "--extra-create-metadata" - - "--feature-gates=Topology=true" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--snapshot-name-prefix=csisnap" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--http-endpoint=:8080" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-powerstore:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powerstore"] - args: - - "--array-config=/powerstore-config/config" - - "--driver-config-params=/powerstore-config-params/driver-config-params.yaml" - env: - - name: ENABLE_TRACING - value: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_DRIVER_NAME - value: "csi-powerstore.dellemc.com" - - name: X_CSI_POWERSTORE_EXTERNAL_ACCESS - value: - - name: X_CSI_NFS_ACLS - value: "" - - name: X_CSI_POWERSTORE_CONFIG_PATH - value: /powerstore-config/config - - name: X_CSI_POWERSTORE_CONFIG_PARAMS_PATH - value: /powerstore-config-params/driver-config-params.yaml - - name: GOPOWERSTORE_DEBUG - value: true - - name: CSI_AUTO_ROUND_OFF_FILESYSTEM_SIZE - value: false - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: powerstore-config - mountPath: /powerstore-config - - name: powerstore-config-params - mountPath: /powerstore-config-params - volumes: - - name: socket-dir - emptyDir: - - name: powerstore-config-params - configMap: - name: -config-params - - name: powerstore-config - secret: - secretName: -config diff --git a/operatorconfig/driverconfig/powerstore/v2.10.0/csidriver.yaml b/operatorconfig/driverconfig/powerstore/v2.10.0/csidriver.yaml deleted file mode 100644 index 0f1b9547f..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# - -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-powerstore.dellemc.com -spec: - storageCapacity: false - podInfoOnMount: true - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/operatorconfig/driverconfig/powerstore/v2.10.0/driver-config-params.yaml b/operatorconfig/driverconfig/powerstore/v2.10.0/driver-config-params.yaml deleted file mode 100644 index ebd0be5d0..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,29 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# - -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "JSON" - PODMON_CONTROLLER_LOG_LEVEL: "debug" - PODMON_CONTROLLER_LOG_FORMAT: "JSON" - PODMON_NODE_LOG_LEVEL: "debug" - PODMON_NODE_LOG_FORMAT: "JSON" diff --git a/operatorconfig/driverconfig/powerstore/v2.10.0/node.yaml b/operatorconfig/driverconfig/powerstore/v2.10.0/node.yaml deleted file mode 100644 index 5952d534f..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.10.0/node.yaml +++ /dev/null @@ -1,246 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - driver.dellemc.com: dell-storage - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - #nodeSelector: - #tolerations: - serviceAccount: -node - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - hostIPC: true - containers: - - name: driver - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-powerstore:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powerstore"] - args: - - "--array-config=/powerstore-config/config" - - "--driver-config-params=/powerstore-config-params/driver-config-params.yaml" - env: - - name: ENABLE_TRACING - value: - - name: CSI_ENDPOINT - value: unix:///plugins/csi-powerstore.dellemc.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_POWERSTORE_KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_POWERSTORE_NODE_NAME_PREFIX - value: - - name: X_CSI_POWERSTORE_NODE_ID_PATH - value: /node-id - - name: X_CSI_POWERSTORE_MAX_VOLUMES_PER_NODE - value: - - name: X_CSI_POWERSTORE_NODE_CHROOT_PATH - value: /noderoot - - name: X_CSI_POWERSTORE_TMP_DIR - value: /plugins/csi-powerstore.dellemc.com/tmp - - name: X_CSI_DRIVER_NAME - value: "csi-powerstore.dellemc.com" - - name: X_CSI_FC_PORTS_FILTER_FILE_PATH - value: - - name: X_CSI_POWERSTORE_ENABLE_CHAP - value: "" - - name: X_CSI_POWERSTORE_CONFIG_PATH - value: /powerstore-config/config - - name: X_CSI_POWERSTORE_CONFIG_PARAMS_PATH - value: /powerstore-config-params/driver-config-params.yaml - - name: GOPOWERSTORE_DEBUG - value: "true" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - volumeMounts: - - name: driver-path - mountPath: /plugins/csi-powerstore.dellemc.com - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: sys - mountPath: /sys - - name: run - mountPath: /run - - name: node-id - mountPath: /node-id - - name: etciscsi - mountPath: /etc/iscsi - - name: mpath - mountPath: /etc/multipath.conf - - name: noderoot - mountPath: /noderoot - - name: powerstore-config - mountPath: /powerstore-config - - name: powerstore-config-params - mountPath: /powerstore-config-params - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/csi-powerstore.dellemc.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/csi-powerstore.dellemc.com - type: DirectoryOrCreate - - name: csi-path - hostPath: - path: /plugins/kubernetes.io/csi - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: node-id - hostPath: - path: /etc/machine-id - type: File - - name: etciscsi - hostPath: - path: /etc/iscsi - type: DirectoryOrCreate - - name: mpath - hostPath: - path: /etc/multipath.conf - type: FileOrCreate - - name: noderoot - hostPath: - path: / - type: Directory - - name: sys - hostPath: - path: /sys - type: Directory - - name: run - hostPath: - path: /run - type: Directory - - name: powerstore-config-params - configMap: - name: -config-params - - name: powerstore-config - secret: - secretName: -config - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory diff --git a/operatorconfig/driverconfig/powerstore/v2.10.0/upgrade-path.yaml b/operatorconfig/driverconfig/powerstore/v2.10.0/upgrade-path.yaml deleted file mode 100644 index d41faddac..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -minUpgradePath: v2.8.0 diff --git a/operatorconfig/driverconfig/powerstore/v2.11.0/upgrade-path.yaml b/operatorconfig/driverconfig/powerstore/v2.11.0/upgrade-path.yaml index 529a9668d..9c02efc7d 100644 --- a/operatorconfig/driverconfig/powerstore/v2.11.0/upgrade-path.yaml +++ b/operatorconfig/driverconfig/powerstore/v2.11.0/upgrade-path.yaml @@ -1 +1 @@ -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.1 diff --git a/operatorconfig/driverconfig/powerstore/v2.9.0/controller.yaml b/operatorconfig/driverconfig/powerstore/v2.9.0/controller.yaml deleted file mode 100644 index 1f4cff48c..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.9.0/controller.yaml +++ /dev/null @@ -1,270 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["volumegroup.storage.dell.com"] - resources: ["dellcsivolumegroupsnapshots", "dellcsivolumegroupsnapshots/status"] - verbs: ["create", "list", "watch", "delete", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots", "volumesnapshots/status"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - name: -controller - replicas: 2 - template: - metadata: - labels: - name: -controller - spec: - serviceAccountName: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: name - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--worker-threads=130" - - "--resync=10s" - - "--timeout=130s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=csivol" - - "--volume-name-uuid-length=10" - - "--v=5" - - "--leader-election" - - "--default-fstype=ext4" - - "--extra-create-metadata" - - "--feature-gates=Topology=true" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--snapshot-name-prefix=csisnap" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.10.0 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--http-endpoint=:8080" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-powerstore:v2.9.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powerstore"] - args: - - "--array-config=/powerstore-config/config" - - "--driver-config-params=/powerstore-config-params/driver-config-params.yaml" - env: - - name: ENABLE_TRACING - value: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_DRIVER_NAME - value: "csi-powerstore.dellemc.com" - - name: X_CSI_POWERSTORE_EXTERNAL_ACCESS - value: - - name: X_CSI_NFS_ACLS - value: "" - - name: X_CSI_POWERSTORE_CONFIG_PATH - value: /powerstore-config/config - - name: X_CSI_POWERSTORE_CONFIG_PARAMS_PATH - value: /powerstore-config-params/driver-config-params.yaml - - name: GOPOWERSTORE_DEBUG - value: true - - name: CSI_AUTO_ROUND_OFF_FILESYSTEM_SIZE - value: false - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: powerstore-config - mountPath: /powerstore-config - - name: powerstore-config-params - mountPath: /powerstore-config-params - volumes: - - name: socket-dir - emptyDir: - - name: powerstore-config-params - configMap: - name: -config-params - - name: powerstore-config - secret: - secretName: -config diff --git a/operatorconfig/driverconfig/powerstore/v2.9.0/csidriver.yaml b/operatorconfig/driverconfig/powerstore/v2.9.0/csidriver.yaml deleted file mode 100644 index 0f1b9547f..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.9.0/csidriver.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# - -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-powerstore.dellemc.com -spec: - storageCapacity: false - podInfoOnMount: true - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/operatorconfig/driverconfig/powerstore/v2.9.0/driver-config-params.yaml b/operatorconfig/driverconfig/powerstore/v2.9.0/driver-config-params.yaml deleted file mode 100644 index ebd0be5d0..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.9.0/driver-config-params.yaml +++ /dev/null @@ -1,29 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# - -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "JSON" - PODMON_CONTROLLER_LOG_LEVEL: "debug" - PODMON_CONTROLLER_LOG_FORMAT: "JSON" - PODMON_NODE_LOG_LEVEL: "debug" - PODMON_NODE_LOG_FORMAT: "JSON" diff --git a/operatorconfig/driverconfig/powerstore/v2.9.0/node.yaml b/operatorconfig/driverconfig/powerstore/v2.9.0/node.yaml deleted file mode 100644 index 5bc1c7304..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.9.0/node.yaml +++ /dev/null @@ -1,244 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - driver.dellemc.com: dell-storage - spec: - #nodeSelector: - #tolerations: - serviceAccount: -node - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - hostIPC: true - containers: - - name: driver - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-powerstore:v2.9.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powerstore"] - args: - - "--array-config=/powerstore-config/config" - - "--driver-config-params=/powerstore-config-params/driver-config-params.yaml" - env: - - name: ENABLE_TRACING - value: - - name: CSI_ENDPOINT - value: unix:///plugins/csi-powerstore.dellemc.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_POWERSTORE_KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_POWERSTORE_NODE_NAME_PREFIX - value: - - name: X_CSI_POWERSTORE_NODE_ID_PATH - value: /node-id - - name: X_CSI_POWERSTORE_MAX_VOLUMES_PER_NODE - value: - - name: X_CSI_POWERSTORE_NODE_CHROOT_PATH - value: /noderoot - - name: X_CSI_POWERSTORE_TMP_DIR - value: /plugins/csi-powerstore.dellemc.com/tmp - - name: X_CSI_DRIVER_NAME - value: "csi-powerstore.dellemc.com" - - name: X_CSI_FC_PORTS_FILTER_FILE_PATH - value: - - name: X_CSI_POWERSTORE_ENABLE_CHAP - value: "" - - name: X_CSI_POWERSTORE_CONFIG_PATH - value: /powerstore-config/config - - name: X_CSI_POWERSTORE_CONFIG_PARAMS_PATH - value: /powerstore-config-params/driver-config-params.yaml - - name: GOPOWERSTORE_DEBUG - value: "true" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - volumeMounts: - - name: driver-path - mountPath: /plugins/csi-powerstore.dellemc.com - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: sys - mountPath: /sys - - name: run - mountPath: /run - - name: node-id - mountPath: /node-id - - name: etciscsi - mountPath: /etc/iscsi - - name: mpath - mountPath: /etc/multipath.conf - - name: noderoot - mountPath: /noderoot - - name: powerstore-config - mountPath: /powerstore-config - - name: powerstore-config-params - mountPath: /powerstore-config-params - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/csi-powerstore.dellemc.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/csi-powerstore.dellemc.com - type: DirectoryOrCreate - - name: csi-path - hostPath: - path: /plugins/kubernetes.io/csi - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: node-id - hostPath: - path: /etc/machine-id - type: File - - name: etciscsi - hostPath: - path: /etc/iscsi - type: DirectoryOrCreate - - name: mpath - hostPath: - path: /etc/multipath.conf - type: FileOrCreate - - name: noderoot - hostPath: - path: / - type: Directory - - name: sys - hostPath: - path: /sys - type: Directory - - name: run - hostPath: - path: /run - type: Directory - - name: powerstore-config-params - configMap: - name: -config-params - - name: powerstore-config - secret: - secretName: -config - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory diff --git a/operatorconfig/driverconfig/powerstore/v2.9.0/upgrade-path.yaml b/operatorconfig/driverconfig/powerstore/v2.9.0/upgrade-path.yaml deleted file mode 100644 index 6f4dba187..000000000 --- a/operatorconfig/driverconfig/powerstore/v2.9.0/upgrade-path.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -minUpgradePath: v2.7.0 diff --git a/operatorconfig/driverconfig/unity/v2.10.0/controller.yaml b/operatorconfig/driverconfig/unity/v2.10.0/controller.yaml deleted file mode 100644 index d1f77dcfc..000000000 --- a/operatorconfig/driverconfig/unity/v2.10.0/controller.yaml +++ /dev/null @@ -1,261 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "create", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status"] - verbs: ["update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - template: - metadata: - labels: - app: -controller - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - serviceAccountName: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: "kubernetes.io/hostname" - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=csivol" - - "--volume-name-uuid-length=10" - - "--timeout=180s" - - "--worker-threads=6" - - "--v=5" - - "--feature-gates=Topology=true" - - "--strict-topology=true" - - "--leader-election" - - "--leader-election-namespace=" - - "--default-fstype=ext4" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--snapshot-name-prefix=csi-snap" - - "--snapshot-name-uuid-length=10" - - "--timeout=360s" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--http-endpoint=:8080" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-unity:v2.10.0 - args: - - "--driver-name=csi-unity.dellemc.com" - - "--driver-config=/unity-config/driver-config-params.yaml" - - "--driver-secret=/unity-secret/config" - imagePullPolicy: IfNotPresent - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_UNITY_AUTOPROBE - value: "true" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_UNITY_SKIP_CERTIFICATE_VALIDATION - value: "true" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: unity-config - mountPath: /unity-config - - name: unity-secret - mountPath: /unity-secret - volumes: - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: socket-dir - emptyDir: - - name: unity-config - configMap: - name: -config-params - - name: unity-secret - secret: - secretName: -creds diff --git a/operatorconfig/driverconfig/unity/v2.10.0/driver-config-params.yaml b/operatorconfig/driverconfig/unity/v2.10.0/driver-config-params.yaml deleted file mode 100644 index 26d6e4a73..000000000 --- a/operatorconfig/driverconfig/unity/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "info" - CSI_LOG_FORMAT: "JSON" - ALLOW_RWO_MULTIPOD_ACCESS: "false" - MAX_UNITY_VOLUMES_PER_NODE: 0 - SYNC_NODE_INFO_TIME_INTERVAL: 15 - TENANT_NAME: "" diff --git a/operatorconfig/driverconfig/unity/v2.10.0/node.yaml b/operatorconfig/driverconfig/unity/v2.10.0/node.yaml deleted file mode 100644 index b6c5ad00b..000000000 --- a/operatorconfig/driverconfig/unity/v2.10.0/node.yaml +++ /dev/null @@ -1,191 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - updateStrategy: - type: RollingUpdate - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - annotations: - kubectl.kubernetes.io/default-container: driver - spec: - serviceAccountName: -node - hostIPC: true - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-unity:v2.10.0 - imagePullPolicy: IfNotPresent - args: - - "--driver-name=csi-unity.dellemc.com" - - "--driver-config=/unity-config/driver-config-params.yaml" - - "--driver-secret=/unity-secret/config" - env: - - name: CSI_ENDPOINT - value: unix:///var/lib/kubelet/plugins/unity.emc.dell.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_UNITY_AUTOPROBE - value: "true" - - name: X_CSI_UNITY_ALLOW_MULTI_POD_ACCESS - value: "false" - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/var/lib/kubelet/plugins/unity.emc.dell.com/disks" - - name: X_CSI_EPHEMERAL_STAGING_PATH - value: "/var/lib/kubelet/plugins/kubernetes.io/csi/pv/" - - name: X_CSI_ISCSI_CHROOT - value: "/noderoot" - - name: X_CSI_UNITY_NODENAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_UNITY_SYNC_NODEINFO_INTERVAL - value: "15" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_UNITY_SKIP_CERTIFICATE_VALIDATION - value: "true" - volumeMounts: - - name: driver-path - mountPath: /var/lib/kubelet/plugins/unity.emc.dell.com - - name: volumedevices-path - mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /var/lib/kubelet/pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: noderoot - mountPath: /noderoot - - name: certs - mountPath: /certs - readOnly: true - - name: unity-config - mountPath: /unity-config - - name: unity-secret - mountPath: /unity-secret - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/var/lib/kubelet/plugins/unity.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /var/lib/kubelet/plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /var/lib/kubelet/plugins/unity.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /var/lib/kubelet/plugins/kubernetes.io/csi - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: unity-config - configMap: - name: -config-params - - name: unity-secret - secret: - secretName: -creds diff --git a/operatorconfig/driverconfig/unity/v2.10.0/upgrade-path.yaml b/operatorconfig/driverconfig/unity/v2.10.0/upgrade-path.yaml deleted file mode 100644 index a902cb64c..000000000 --- a/operatorconfig/driverconfig/unity/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.8.0 diff --git a/operatorconfig/driverconfig/unity/v2.11.0/upgrade-path.yaml b/operatorconfig/driverconfig/unity/v2.11.0/upgrade-path.yaml index 529a9668d..9c02efc7d 100644 --- a/operatorconfig/driverconfig/unity/v2.11.0/upgrade-path.yaml +++ b/operatorconfig/driverconfig/unity/v2.11.0/upgrade-path.yaml @@ -1 +1 @@ -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.1 diff --git a/operatorconfig/driverconfig/unity/v2.9.0/controller.yaml b/operatorconfig/driverconfig/unity/v2.9.0/controller.yaml deleted file mode 100644 index 007e7d243..000000000 --- a/operatorconfig/driverconfig/unity/v2.9.0/controller.yaml +++ /dev/null @@ -1,260 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "create", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status"] - verbs: ["update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - template: - metadata: - labels: - app: -controller - spec: - serviceAccountName: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: "kubernetes.io/hostname" - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=csivol" - - "--volume-name-uuid-length=10" - - "--timeout=180s" - - "--worker-threads=6" - - "--v=5" - - "--feature-gates=Topology=true" - - "--strict-topology=true" - - "--leader-election" - - "--leader-election-namespace=" - - "--default-fstype=ext4" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--snapshot-name-prefix=csi-snap" - - "--snapshot-name-uuid-length=10" - - "--timeout=360s" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.10.0 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--http-endpoint=:8080" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-unity:v2.9.0 - args: - - "--driver-name=csi-unity.dellemc.com" - - "--driver-config=/unity-config/driver-config-params.yaml" - - "--driver-secret=/unity-secret/config" - - "--leader-election" - imagePullPolicy: IfNotPresent - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_UNITY_AUTOPROBE - value: "true" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_UNITY_SKIP_CERTIFICATE_VALIDATION - value: "true" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: unity-config - mountPath: /unity-config - - name: unity-secret - mountPath: /unity-secret - volumes: - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: socket-dir - emptyDir: - - name: unity-config - configMap: - name: -config-params - - name: unity-secret - secret: - secretName: -creds diff --git a/operatorconfig/driverconfig/unity/v2.9.0/csidriver.yaml b/operatorconfig/driverconfig/unity/v2.9.0/csidriver.yaml deleted file mode 100644 index dbc2496ab..000000000 --- a/operatorconfig/driverconfig/unity/v2.9.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-unity.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: true - volumeLifecycleModes: - - Persistent - - Ephemeral - fsGroupPolicy: ReadWriteOnceWithFSType diff --git a/operatorconfig/driverconfig/unity/v2.9.0/node.yaml b/operatorconfig/driverconfig/unity/v2.9.0/node.yaml deleted file mode 100644 index 145b2f971..000000000 --- a/operatorconfig/driverconfig/unity/v2.9.0/node.yaml +++ /dev/null @@ -1,189 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - updateStrategy: - type: RollingUpdate - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - spec: - serviceAccountName: -node - hostIPC: true - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-unity:v2.9.0 - imagePullPolicy: IfNotPresent - args: - - "--driver-name=csi-unity.dellemc.com" - - "--driver-config=/unity-config/driver-config-params.yaml" - - "--driver-secret=/unity-secret/config" - env: - - name: CSI_ENDPOINT - value: unix:///var/lib/kubelet/plugins/unity.emc.dell.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_UNITY_AUTOPROBE - value: "true" - - name: X_CSI_UNITY_ALLOW_MULTI_POD_ACCESS - value: "false" - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/var/lib/kubelet/plugins/unity.emc.dell.com/disks" - - name: X_CSI_EPHEMERAL_STAGING_PATH - value: "/var/lib/kubelet/plugins/kubernetes.io/csi/pv/" - - name: X_CSI_ISCSI_CHROOT - value: "/noderoot" - - name: X_CSI_UNITY_NODENAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_UNITY_SYNC_NODEINFO_INTERVAL - value: "15" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_UNITY_SKIP_CERTIFICATE_VALIDATION - value: "true" - volumeMounts: - - name: driver-path - mountPath: /var/lib/kubelet/plugins/unity.emc.dell.com - - name: volumedevices-path - mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /var/lib/kubelet/pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: noderoot - mountPath: /noderoot - - name: certs - mountPath: /certs - readOnly: true - - name: unity-config - mountPath: /unity-config - - name: unity-secret - mountPath: /unity-secret - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/var/lib/kubelet/plugins/unity.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /var/lib/kubelet/plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /var/lib/kubelet/plugins/unity.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /var/lib/kubelet/plugins/kubernetes.io/csi - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: unity-config - configMap: - name: -config-params - - name: unity-secret - secret: - secretName: -creds diff --git a/operatorconfig/driverconfig/unity/v2.9.0/upgrade-path.yaml b/operatorconfig/driverconfig/unity/v2.9.0/upgrade-path.yaml deleted file mode 100644 index fab8efca9..000000000 --- a/operatorconfig/driverconfig/unity/v2.9.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.7.0 diff --git a/operatorconfig/driverconfig/unity/v2.9.1/csidriver.yaml b/operatorconfig/driverconfig/unity/v2.9.1/csidriver.yaml deleted file mode 100644 index dbc2496ab..000000000 --- a/operatorconfig/driverconfig/unity/v2.9.1/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-unity.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: true - volumeLifecycleModes: - - Persistent - - Ephemeral - fsGroupPolicy: ReadWriteOnceWithFSType diff --git a/operatorconfig/driverconfig/unity/v2.9.1/driver-config-params.yaml b/operatorconfig/driverconfig/unity/v2.9.1/driver-config-params.yaml deleted file mode 100644 index e249d5138..000000000 --- a/operatorconfig/driverconfig/unity/v2.9.1/driver-config-params.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "info" - ALLOW_RWO_MULTIPOD_ACCESS: "false" - MAX_UNITY_VOLUMES_PER_NODE: 0 - SYNC_NODE_INFO_TIME_INTERVAL: 15 - TENANT_NAME: "" diff --git a/operatorconfig/driverconfig/unity/v2.9.1/upgrade-path.yaml b/operatorconfig/driverconfig/unity/v2.9.1/upgrade-path.yaml deleted file mode 100644 index fab8efca9..000000000 --- a/operatorconfig/driverconfig/unity/v2.9.1/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.7.0 diff --git a/operatorconfig/driverconfig/unity/v2.9.1/controller.yaml b/operatorconfig/driverconfig/unity/v2.9.2/controller.yaml similarity index 100% rename from operatorconfig/driverconfig/unity/v2.9.1/controller.yaml rename to operatorconfig/driverconfig/unity/v2.9.2/controller.yaml diff --git a/operatorconfig/driverconfig/unity/v2.10.0/csidriver.yaml b/operatorconfig/driverconfig/unity/v2.9.2/csidriver.yaml similarity index 100% rename from operatorconfig/driverconfig/unity/v2.10.0/csidriver.yaml rename to operatorconfig/driverconfig/unity/v2.9.2/csidriver.yaml diff --git a/operatorconfig/driverconfig/unity/v2.9.0/driver-config-params.yaml b/operatorconfig/driverconfig/unity/v2.9.2/driver-config-params.yaml similarity index 100% rename from operatorconfig/driverconfig/unity/v2.9.0/driver-config-params.yaml rename to operatorconfig/driverconfig/unity/v2.9.2/driver-config-params.yaml diff --git a/operatorconfig/driverconfig/unity/v2.9.1/node.yaml b/operatorconfig/driverconfig/unity/v2.9.2/node.yaml similarity index 100% rename from operatorconfig/driverconfig/unity/v2.9.1/node.yaml rename to operatorconfig/driverconfig/unity/v2.9.2/node.yaml diff --git a/operatorconfig/driverconfig/powerflex/v2.9.0/upgrade-path.yaml b/operatorconfig/driverconfig/unity/v2.9.2/upgrade-path.yaml similarity index 100% rename from operatorconfig/driverconfig/powerflex/v2.9.0/upgrade-path.yaml rename to operatorconfig/driverconfig/unity/v2.9.2/upgrade-path.yaml diff --git a/operatorconfig/moduleconfig/common/version-values.yaml b/operatorconfig/moduleconfig/common/version-values.yaml index 152041654..1c075970b 100644 --- a/operatorconfig/moduleconfig/common/version-values.yaml +++ b/operatorconfig/moduleconfig/common/version-values.yaml @@ -1,21 +1,11 @@ # Driver Type powerscale: # List of Driver versions and modules that supports the version - v2.9.0: - authorization: "v1.9.0" - replication: "v1.7.0" - observability: "v1.7.0" - resiliency: "v1.8.0" v2.9.1: authorization: "v1.9.1" replication: "v1.7.1" observability: "v1.7.0" resiliency: "v1.8.1" - v2.10.0: - authorization: "v1.10.0" - replication: "v1.8.0" - observability: "v1.8.0" - resiliency: "v1.9.0" v2.10.1: authorization: "v1.10.1" replication: "v1.8.1" @@ -28,26 +18,11 @@ powerscale: resiliency: "v1.10.0" powerflex: # List of Driver versions and modules that supports the version - v2.9.0: - authorization: "v1.9.0" - observability: "v1.7.0" - replication: "v1.7.0" - resiliency: "v1.8.0" - v2.9.1: - authorization: "v1.9.1" - observability: "v1.7.0" - replication: "v1.7.1" - resiliency: "v1.8.1" v2.9.2: authorization: "v1.9.1" observability: "v1.7.0" replication: "v1.7.1" resiliency: "v1.8.1" - v2.10.0: - authorization: "v1.10.0" - observability: "v1.8.0" - replication: "v1.8.0" - resiliency: "v1.9.0" v2.10.1: authorization: "v1.10.1" observability: "v1.8.1" @@ -60,30 +35,18 @@ powerflex: resiliency: "v1.10.0" powerstore: # List of Driver versions and modules that supports the version - v2.9.0: - resiliency: "v1.8.0" v2.9.1: resiliency: "v1.8.1" - v2.10.0: - resiliency: "v1.9.0" v2.10.1: resiliency: "v1.9.1" v2.11.0: resiliency: "v1.10.0" powermax: # List of Driver versions and modules that supports the version - v2.9.0: - csireverseproxy: "v2.8.0" - authorization: "v1.9.0" - replication: "v1.7.0" v2.9.1: csireverseproxy: "v2.8.1" authorization: "v1.9.1" replication: "v1.7.1" - v2.10.0: - csireverseproxy: "v2.9.0" - authorization: "v1.10.0" - replication: "v1.8.0" v2.10.1: csireverseproxy: "v2.9.1" authorization: "v1.10.1" diff --git a/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/container.yaml b/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/container.yaml deleted file mode 100644 index dbc208b00..000000000 --- a/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/container.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: reverseproxy -image: dellemc/csipowermax-reverseproxy:v2.8.0 -imagePullPolicy: IfNotPresent -env: - - name: X_CSI_REVPROXY_CONFIG_DIR - value: /etc/config/configmap - - name: X_CSI_REVPROXY_CONFIG_FILE_NAME - value: config.yaml - - name: X_CSI_REVRPOXY_IN_CLUSTER - value: "true" - - name: X_CSI_REVPROXY_TLS_CERT_DIR - value: /app/tls - - name: X_CSI_REVPROXY_WATCH_NAMESPACE - value: -volumeMounts: - - name: configmap-volume - mountPath: /etc/config/configmap - - name: tls-secret - mountPath: /app/tls - - name: cert-dir - mountPath: /app/certs diff --git a/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/controller.yaml b/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/controller.yaml deleted file mode 100644 index 040acab90..000000000 --- a/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/controller.yaml +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: csipowermax-reverseproxy - namespace: ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: csipowermax-reverseproxy - namespace: -rules: - - apiGroups: [""] - resources: ["secrets"] - verbs: ["list", "watch", "get"] ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: csipowermax-reverseproxy - namespace: -subjects: - - kind: ServiceAccount - name: csipowermax-reverseproxy - namespace: -roleRef: - kind: Role - name: csipowermax-reverseproxy - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: v1 -kind: Service -metadata: - name: csipowermax-reverseproxy - namespace: -spec: - ports: - - port: - protocol: TCP - targetPort: 2222 - selector: - name: csipowermax-reverseproxy - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csipowermax-reverseproxy - namespace: -spec: - replicas: 1 - selector: - matchLabels: - name: csipowermax-reverseproxy - template: - metadata: - labels: - name: csipowermax-reverseproxy - spec: - serviceAccountName: csipowermax-reverseproxy - containers: - - name: csipowermax-reverseproxy - # Replace this with the built image name - image: - imagePullPolicy: Always - env: - - name: X_CSI_REVPROXY_CONFIG_DIR - value: /etc/config/configmap - - name: X_CSI_REVPROXY_CONFIG_FILE_NAME - value: config.yaml - - name: X_CSI_REVRPOXY_IN_CLUSTER - value: "true" - - name: X_CSI_REVPROXY_TLS_CERT_DIR - value: /app/tls - - name: X_CSI_REVPROXY_WATCH_NAMESPACE - value: #Change this to the namespace where proxy will be installed - volumeMounts: - - name: configmap-volume - mountPath: /etc/config/configmap - - name: tls-secret - mountPath: /app/tls - - name: cert-dir - mountPath: /app/certs - volumes: - - name: configmap-volume - configMap: - name: - optional: true - - name: tls-secret - secret: - secretName: - - name: cert-dir - emptyDir: diff --git a/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/service.yaml b/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/service.yaml deleted file mode 100644 index 24e108a36..000000000 --- a/operatorconfig/moduleconfig/csireverseproxy/v2.8.0/service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: csipowermax-reverseproxy - namespace: -spec: - ports: - - port: - protocol: TCP - targetPort: 2222 - selector: - app: -controller - type: ClusterIP diff --git a/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/container.yaml b/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/container.yaml deleted file mode 100644 index 337cece1d..000000000 --- a/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/container.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: reverseproxy -image: dellemc/csipowermax-reverseproxy:v2.9.0 -imagePullPolicy: IfNotPresent -env: - - name: X_CSI_REVPROXY_CONFIG_DIR - value: /etc/config/configmap - - name: X_CSI_REVPROXY_CONFIG_FILE_NAME - value: config.yaml - - name: X_CSI_REVRPOXY_IN_CLUSTER - value: "true" - - name: X_CSI_REVPROXY_TLS_CERT_DIR - value: /app/tls - - name: X_CSI_REVPROXY_WATCH_NAMESPACE - value: -volumeMounts: - - name: configmap-volume - mountPath: /etc/config/configmap - - name: tls-secret - mountPath: /app/tls - - name: cert-dir - mountPath: /app/certs diff --git a/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/controller.yaml b/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/controller.yaml deleted file mode 100644 index 040acab90..000000000 --- a/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/controller.yaml +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: csipowermax-reverseproxy - namespace: ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: csipowermax-reverseproxy - namespace: -rules: - - apiGroups: [""] - resources: ["secrets"] - verbs: ["list", "watch", "get"] ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: csipowermax-reverseproxy - namespace: -subjects: - - kind: ServiceAccount - name: csipowermax-reverseproxy - namespace: -roleRef: - kind: Role - name: csipowermax-reverseproxy - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: v1 -kind: Service -metadata: - name: csipowermax-reverseproxy - namespace: -spec: - ports: - - port: - protocol: TCP - targetPort: 2222 - selector: - name: csipowermax-reverseproxy - type: ClusterIP ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: csipowermax-reverseproxy - namespace: -spec: - replicas: 1 - selector: - matchLabels: - name: csipowermax-reverseproxy - template: - metadata: - labels: - name: csipowermax-reverseproxy - spec: - serviceAccountName: csipowermax-reverseproxy - containers: - - name: csipowermax-reverseproxy - # Replace this with the built image name - image: - imagePullPolicy: Always - env: - - name: X_CSI_REVPROXY_CONFIG_DIR - value: /etc/config/configmap - - name: X_CSI_REVPROXY_CONFIG_FILE_NAME - value: config.yaml - - name: X_CSI_REVRPOXY_IN_CLUSTER - value: "true" - - name: X_CSI_REVPROXY_TLS_CERT_DIR - value: /app/tls - - name: X_CSI_REVPROXY_WATCH_NAMESPACE - value: #Change this to the namespace where proxy will be installed - volumeMounts: - - name: configmap-volume - mountPath: /etc/config/configmap - - name: tls-secret - mountPath: /app/tls - - name: cert-dir - mountPath: /app/certs - volumes: - - name: configmap-volume - configMap: - name: - optional: true - - name: tls-secret - secret: - secretName: - - name: cert-dir - emptyDir: diff --git a/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/service.yaml b/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/service.yaml deleted file mode 100644 index 24e108a36..000000000 --- a/operatorconfig/moduleconfig/csireverseproxy/v2.9.0/service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: csipowermax-reverseproxy - namespace: -spec: - ports: - - port: - protocol: TCP - targetPort: 2222 - selector: - app: -controller - type: ClusterIP diff --git a/operatorconfig/moduleconfig/observability/v1.8.0/custom-cert.yaml b/operatorconfig/moduleconfig/observability/v1.8.0/custom-cert.yaml deleted file mode 100644 index 59eea3922..000000000 --- a/operatorconfig/moduleconfig/observability/v1.8.0/custom-cert.yaml +++ /dev/null @@ -1,48 +0,0 @@ -apiVersion: v1 -kind: Secret -type: kubernetes.io/tls -metadata: - name: -secret - namespace: karavi -data: - # replace with actual base64-encoded certificate - tls.crt: - # replace with actual base64-encoded private key - tls.key: ---- -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: -issuer - namespace: karavi -spec: - ca: - secretName: -secret ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: - namespace: karavi -spec: - secretName: -tls - duration: 2160h # 90d - renewBefore: 360h # 15d - subject: - organizations: - - dell - isCA: false - privateKey: - algorithm: RSA - encoding: PKCS1 - size: 2048 - usages: - - server auth - - client auth - dnsNames: - - - - .karavi.svc.kubernetes.local - issuerRef: - name: -issuer - kind: Issuer - group: cert-manager.io diff --git a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powerflex.yaml b/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powerflex.yaml deleted file mode 100644 index f111f58b2..000000000 --- a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powerflex.yaml +++ /dev/null @@ -1,144 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: karavi-metrics-powerflex-controller - namespace: karavi ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: karavi-metrics-powerflex-controller -rules: - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes", "storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes", "nodes"] - verbs: ["list"] - - apiGroups: [""] - resources: ["endpoints"] - verbs: ["*"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: karavi-metrics-powerflex-controller -subjects: - - kind: ServiceAccount - name: karavi-metrics-powerflex-controller - namespace: karavi -roleRef: - kind: ClusterRole - name: karavi-metrics-powerflex-controller - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: karavi-metrics-powerflex - app.kubernetes.io/instance: karavi - name: karavi-metrics-powerflex - namespace: karavi -spec: - type: ClusterIP - ports: - - name: karavi-metrics-powerflex - port: 2222 - targetPort: 2222 - selector: - app.kubernetes.io/name: karavi-metrics-powerflex - app.kubernetes.io/instance: karavi ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: karavi-metrics-powerflex-configmap - namespace: karavi -data: - karavi-metrics-powerflex.yaml: | - COLLECTOR_ADDR: - PROVISIONER_NAMES: csi-vxflexos.dellemc.com - POWERFLEX_SDC_METRICS_ENABLED: - POWERFLEX_SDC_IO_POLL_FREQUENCY: - POWERFLEX_VOLUME_IO_POLL_FREQUENCY: - POWERFLEX_VOLUME_METRICS_ENABLED: - POWERFLEX_STORAGE_POOL_METRICS_ENABLED: - POWERFLEX_STORAGE_POOL_POLL_FREQUENCY: - POWERFLEX_MAX_CONCURRENT_QUERIES: - LOG_LEVEL: - LOG_FORMAT: ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: karavi -data: - driver-config-params.yaml: | - CSI_LOG_LEVEL: debug - CSI_LOG_FORMAT: TEXT ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: karavi-metrics-powerflex - namespace: karavi - labels: - app.kubernetes.io/name: karavi-metrics-powerflex - app.kubernetes.io/instance: karavi -spec: - selector: - matchLabels: - app.kubernetes.io/name: karavi-metrics-powerflex - app.kubernetes.io/instance: karavi - replicas: 1 - strategy: {} - template: - metadata: - labels: - app.kubernetes.io/name: karavi-metrics-powerflex - app.kubernetes.io/instance: karavi - csm: - csmNamespace: - spec: - serviceAccount: karavi-metrics-powerflex-controller - containers: - - name: karavi-metrics-powerflex - image: - resources: {} - env: - - name: POWERFLEX_METRICS_ENDPOINT - value: "karavi-metrics-powerflex" - - name: POWERFLEX_METRICS_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: TLS_ENABLED - value: "true" - volumeMounts: - - name: vxflexos-config - mountPath: /vxflexos-config - - name: tls-secret - mountPath: /etc/ssl/certs - readOnly: true - - name: karavi-metrics-powerflex-configmap - mountPath: /etc/config - volumes: - - name: vxflexos-config - secret: - secretName: -config - - name: tls-secret - secret: - secretName: otel-collector-tls - items: - - key: tls.crt - path: cert.crt - - name: karavi-metrics-powerflex-configmap - configMap: - name: karavi-metrics-powerflex-configmap - - name: vxflexos-config-params - configMap: - name: -config-params - restartPolicy: Always -status: {} diff --git a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powermax.yaml b/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powermax.yaml deleted file mode 100644 index 1da71378a..000000000 --- a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powermax.yaml +++ /dev/null @@ -1,151 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: karavi-metrics-powermax-controller - namespace: karavi ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: karavi-metrics-powermax-controller -rules: - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes", "storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes", "nodes"] - verbs: ["list"] - - apiGroups: [""] - resources: ["endpoints"] - verbs: ["*"] - - apiGroups: [""] - resources: ["secrets"] - verbs: ["list", "watch", "get"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: karavi-metrics-powermax-controller -subjects: - - kind: ServiceAccount - name: karavi-metrics-powermax-controller - namespace: karavi -roleRef: - kind: ClusterRole - name: karavi-metrics-powermax-controller - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: karavi-metrics-powermax - app.kubernetes.io/instance: karavi - name: karavi-metrics-powermax - namespace: karavi -spec: - type: ClusterIP - ports: - - name: karavi-metrics-powermax - port: 8081 - targetPort: 8081 - selector: - app.kubernetes.io/name: karavi-metrics-powermax - app.kubernetes.io/instance: karavi ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: karavi-metrics-powermax-configmap - namespace: karavi -data: - karavi-metrics-powermax.yaml: | - COLLECTOR_ADDR: - PROVISIONER_NAMES: csi-powermax.dellemc.com - POWERMAX_CAPACITY_METRICS_ENABLED: - POWERMAX_CAPACITY_POLL_FREQUENCY: - POWERMAX_PERFORMANCE_METRICS_ENABLED: - POWERMAX_PERFORMANCE_POLL_FREQUENCY: - POWERMAX_MAX_CONCURRENT_QUERIES: - LOG_LEVEL: - LOG_FORMAT: ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: karavi -data: - driver-config-params.yaml: | - CSI_LOG_LEVEL: debug - CSI_LOG_FORMAT: TEXT ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: karavi-metrics-powermax - namespace: karavi - labels: - app.kubernetes.io/name: karavi-metrics-powermax - app.kubernetes.io/instance: karavi -spec: - selector: - matchLabels: - app.kubernetes.io/name: karavi-metrics-powermax - app.kubernetes.io/instance: karavi - replicas: 1 - strategy: {} - template: - metadata: - labels: - app.kubernetes.io/name: karavi-metrics-powermax - app.kubernetes.io/instance: karavi - csm: - csmNamespace: - spec: - serviceAccountName: karavi-metrics-powermax-controller - containers: - - name: karavi-metrics-powermax - image: - resources: {} - env: - - name: POWERMAX_METRICS_ENDPOINT - value: "karavi-metrics-powermax" - - name: POWERMAX_METRICS_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: TLS_ENABLED - value: "true" - - name: SSL_CERT_DIR - value: /certs - volumeMounts: - - name: - mountPath: /etc/reverseproxy - - name: tls-secret - mountPath: /etc/ssl/certs - readOnly: true - - name: karavi-metrics-powermax-configmap - mountPath: /etc/config - - name: certs - mountPath: /certs - volumes: - - name: certs - emptyDir: {} - - name: - configMap: - name: - - name: tls-secret - secret: - secretName: otel-collector-tls - items: - - key: tls.crt - path: cert.crt - - name: karavi-metrics-powermax-configmap - configMap: - name: karavi-metrics-powermax-configmap - - name: powermax-config-params - configMap: - name: -config-params - restartPolicy: Always -status: {} diff --git a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powerscale.yaml b/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powerscale.yaml deleted file mode 100644 index 4edf37cef..000000000 --- a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-metrics-powerscale.yaml +++ /dev/null @@ -1,145 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: karavi-metrics-powerscale-controller - namespace: karavi ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: karavi-metrics-powerscale-controller -rules: - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes", "storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes", "nodes"] - verbs: ["list"] - - apiGroups: [""] - resources: ["endpoints"] - verbs: ["*"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: karavi-metrics-powerscale-controller -subjects: - - kind: ServiceAccount - name: karavi-metrics-powerscale-controller - namespace: karavi -roleRef: - kind: ClusterRole - name: karavi-metrics-powerscale-controller - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: karavi-metrics-powerscale - app.kubernetes.io/instance: karavi - name: karavi-metrics-powerscale - namespace: karavi -spec: - type: ClusterIP - ports: - - name: karavi-metrics-powerscale - port: 8080 - targetPort: 8080 - selector: - app.kubernetes.io/name: karavi-metrics-powerscale - app.kubernetes.io/instance: karavi ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: karavi-metrics-powerscale-configmap - namespace: karavi -data: - karavi-metrics-powerscale.yaml: | - COLLECTOR_ADDR: - PROVISIONER_NAMES: csi-isilon.dellemc.com - POWERSCALE_MAX_CONCURRENT_QUERIES: - POWERSCALE_CAPACITY_METRICS_ENABLED: - POWERSCALE_PERFORMANCE_METRICS_ENABLED: - POWERSCALE_CLUSTER_CAPACITY_POLL_FREQUENCY: - POWERSCALE_CLUSTER_PERFORMANCE_POLL_FREQUENCY: - POWERSCALE_QUOTA_CAPACITY_POLL_FREQUENCY: - POWERSCALE_ISICLIENT_INSECURE: - POWERSCALE_ISICLIENT_AUTH_TYPE: - POWERSCALE_ISICLIENT_VERBOSE: - LOG_LEVEL: - LOG_FORMAT: ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: karavi -data: - driver-config-params.yaml: | - CSI_LOG_LEVEL: debug ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: karavi-metrics-powerscale - namespace: karavi - labels: - app.kubernetes.io/name: karavi-metrics-powerscale - app.kubernetes.io/instance: karavi -spec: - selector: - matchLabels: - app.kubernetes.io/name: karavi-metrics-powerscale - app.kubernetes.io/instance: karavi - replicas: 1 - strategy: {} - template: - metadata: - labels: - app.kubernetes.io/name: karavi-metrics-powerscale - app.kubernetes.io/instance: karavi - csm: - csmNamespace: - spec: - serviceAccount: karavi-metrics-powerscale-controller - containers: - - name: karavi-metrics-powerscale - image: - resources: {} - env: - - name: POWERSCALE_METRICS_ENDPOINT - value: "karavi-metrics-powerscale" - - name: POWERSCALE_METRICS_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: TLS_ENABLED - value: "true" - volumeMounts: - - name: isilon-creds - mountPath: /isilon-creds - - name: tls-secret - mountPath: /etc/ssl/certs - readOnly: true - - name: karavi-metrics-powerscale-configmap - mountPath: /etc/config - volumes: - - name: isilon-creds - secret: - secretName: -creds - - name: tls-secret - secret: - secretName: otel-collector-tls - items: - - key: tls.crt - path: cert.crt - - name: karavi-metrics-powerscale-configmap - configMap: - name: karavi-metrics-powerscale-configmap - - name: csi-isilon-config-params - configMap: - name: -config-params - restartPolicy: Always -status: {} diff --git a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-otel-collector.yaml b/operatorconfig/moduleconfig/observability/v1.8.0/karavi-otel-collector.yaml deleted file mode 100644 index 066f858f7..000000000 --- a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-otel-collector.yaml +++ /dev/null @@ -1,148 +0,0 @@ -apiVersion: v1 -data: - otel-collector-config.yaml: |- - receivers: - otlp: - protocols: - grpc: - endpoint: 0.0.0.0:55680 - tls: - cert_file: /etc/ssl/certs/tls.crt - key_file: /etc/ssl/certs/tls.key - - exporters: - prometheus: - endpoint: 0.0.0.0:8889 - logging: - - extensions: - health_check: {} - - service: - extensions: [health_check] - pipelines: - metrics: - receivers: [otlp] - processors: [] - exporters: [logging,prometheus] -kind: ConfigMap -metadata: - name: otel-collector-config - namespace: karavi ---- -apiVersion: v1 -data: - nginx.conf: |- - worker_processes 1; - events { - worker_connections 1024; - } - - pid /tmp/nginx.pid; - - http { - include mime.types; - default_type application/octet-stream; - sendfile on; - keepalive_timeout 65; - server { - listen 8443 ssl; - server_name localhost; - ssl_certificate /etc/ssl/certs/tls.crt; - ssl_certificate_key /etc/ssl/certs/tls.key; - ssl_protocols TLSv1.2; - ssl_ciphers AESGCM:-aNULL:-DH:-kRSA:@STRENGTH; - ssl_prefer_server_ciphers on; - location / { - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; - proxy_pass http://127.0.0.1:8889/; - } - } - } -kind: ConfigMap -metadata: - name: nginx-config - namespace: karavi ---- -apiVersion: v1 -kind: Service -metadata: - name: otel-collector - namespace: karavi - labels: - app.kubernetes.io/name: otel-collector - app.kubernetes.io/instance: karavi-observability -spec: - type: ClusterIP - ports: - - port: 55680 - targetPort: 55680 - name: receiver - - port: 8443 - targetPort: 8443 - name: exporter-https - selector: - app.kubernetes.io/name: otel-collector - app.kubernetes.io/instance: karavi-observability ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: otel-collector - namespace: karavi - labels: - app.kubernetes.io/name: otel-collector - app.kubernetes.io/instance: karavi-observability -spec: - selector: - matchLabels: - app.kubernetes.io/name: otel-collector - app.kubernetes.io/instance: karavi-observability - replicas: 1 - strategy: {} - template: - metadata: - labels: - app.kubernetes.io/name: otel-collector - app.kubernetes.io/instance: karavi-observability - csm: - csmNamespace: - spec: - volumes: - - name: tls-secret - secret: - secretName: otel-collector-tls - items: - - key: tls.crt - path: tls.crt - - key: tls.key - path: tls.key - - name: nginx-config - configMap: - name: nginx-config - - name: otel-collector-config - configMap: - name: otel-collector-config - containers: - - name: nginx-proxy - image: - volumeMounts: - - name: tls-secret - mountPath: /etc/ssl/certs - - name: nginx-config - mountPath: /etc/nginx/nginx.conf - subPath: nginx.conf - - name: otel-collector - image: - args: - - --config=/etc/otel-collector-config.yaml - resources: {} - volumeMounts: - - name: otel-collector-config - mountPath: /etc/otel-collector-config.yaml - subPath: otel-collector-config.yaml - - name: tls-secret - mountPath: /etc/ssl/certs - restartPolicy: Always -status: {} diff --git a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-topology.yaml b/operatorconfig/moduleconfig/observability/v1.8.0/karavi-topology.yaml deleted file mode 100644 index 75b0e88d7..000000000 --- a/operatorconfig/moduleconfig/observability/v1.8.0/karavi-topology.yaml +++ /dev/null @@ -1,112 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: karavi-topology-configmap - namespace: karavi -data: - karavi-topology.yaml: | - PROVISIONER_NAMES: csi-isilon.dellemc.com,csi-vxflexos.dellemc.com, csi-powermax.dellemc.com - LOG_LEVEL: - LOG_FORMAT: text - ZIPKIN_URI: "" - ZIPKIN_SERVICE_NAME: karavi-topology - ZIPKIN_PROBABILITY: 0.0 ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: karavi-observability-topology-controller - namespace: karavi ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: karavi-observability-topology-controller -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["list"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: karavi-observability-topology-controller -subjects: - - kind: ServiceAccount - name: karavi-observability-topology-controller - namespace: karavi -roleRef: - kind: ClusterRole - name: karavi-observability-topology-controller - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: karavi-topology - app.kubernetes.io/instance: karavi-observability - name: karavi-topology - namespace: karavi -spec: - type: ClusterIP - ports: - - name: karavi-topology - port: 8443 - targetPort: 8443 - selector: - app.kubernetes.io/name: karavi-topology - app.kubernetes.io/instance: karavi-observability ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: karavi-topology - namespace: karavi - labels: - app.kubernetes.io/name: karavi-topology - app.kubernetes.io/instance: karavi-observability -spec: - selector: - matchLabels: - app.kubernetes.io/name: karavi-topology - app.kubernetes.io/instance: karavi-observability - replicas: 1 - strategy: {} - template: - metadata: - labels: - app.kubernetes.io/name: karavi-topology - app.kubernetes.io/instance: karavi-observability - csm: - csmNamespace: - spec: - volumes: - - name: karavi-topology-secret-volume - secret: - secretName: karavi-topology-tls - items: - - key: tls.crt - path: localhost.crt - - key: tls.key - path: localhost.key - - name: karavi-topology-configmap - configMap: - name: karavi-topology-configmap - serviceAccount: karavi-observability-topology-controller - containers: - - name: karavi-topology - image: - resources: {} - env: - - name: PORT - value: "8443" - - name: DEBUG - value: "false" - volumeMounts: - - name: karavi-topology-secret-volume - mountPath: "/certs" - - name: karavi-topology-configmap - mountPath: "/etc/config" - restartPolicy: Always -status: {} diff --git a/operatorconfig/moduleconfig/observability/v1.8.0/selfsigned-cert.yaml b/operatorconfig/moduleconfig/observability/v1.8.0/selfsigned-cert.yaml deleted file mode 100644 index f4cec8b33..000000000 --- a/operatorconfig/moduleconfig/observability/v1.8.0/selfsigned-cert.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Issuer -metadata: - name: selfsigned-issuer - namespace: karavi -spec: - selfSigned: {} ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: - namespace: karavi -spec: - secretName: -tls - duration: 2160h # 90d - renewBefore: 360h # 15d - subject: - organizations: - - dell - isCA: false - privateKey: - algorithm: RSA - encoding: PKCS1 - size: 2048 - usages: - - server auth - - client auth - dnsNames: - - - - .karavi.svc.kubernetes.local - issuerRef: - name: selfsigned-issuer - kind: Issuer - group: cert-manager.io diff --git a/operatorconfig/moduleconfig/replication/v1.7.0/container.yaml b/operatorconfig/moduleconfig/replication/v1.7.0/container.yaml deleted file mode 100644 index f642601dd..000000000 --- a/operatorconfig/moduleconfig/replication/v1.7.0/container.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: dell-csi-replicator -image: dellemc/dell-csi-replicator:v1.7.0 -imagePullPolicy: IfNotPresent -args: - - "--csi-address=$(ADDRESS)" - - "--leader-election=true" - - "--worker-threads=2" - - "--retry-interval-start=1s" - - "--retry-interval-max=300s" - - "--timeout=300s" - - "--context-prefix=" - - "--prefix=" -env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: X_CSI_REPLICATION_CONFIG_DIR - value: / - - name: X_CSI_REPLICATION_CONFIG_FILE_NAME - value: driver-config-params.yaml -volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: - mountPath: / diff --git a/operatorconfig/moduleconfig/replication/v1.7.0/controller.yaml b/operatorconfig/moduleconfig/replication/v1.7.0/controller.yaml deleted file mode 100644 index c45bb6d02..000000000 --- a/operatorconfig/moduleconfig/replication/v1.7.0/controller.yaml +++ /dev/null @@ -1,304 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: dell-replication-controller ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: dell-replication-controller-sa - namespace: dell-replication-controller -secrets: - - name: replication-secret ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - creationTimestamp: null - name: dell-replication-manager-role -rules: - - apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - list - - watch - - apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions/status - verbs: - - get - - list - - watch - - apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - update - - watch - - apiGroups: - - "" - resources: - - events - verbs: - - create - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - namespaces - verbs: - - create - - get - - list - - watch - - apiGroups: - - "" - resources: - - persistentvolumeclaims - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - persistentvolumeclaims/status - verbs: - - get - - patch - - update - - apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - pods - verbs: - - get - - list - - watch - - apiGroups: - - "" - resources: - - secrets - verbs: - - get - - list - - watch - - apiGroups: - - replication.storage.dell.com - resources: - - dellcsireplicationgroups - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - replication.storage.dell.com - resources: - - dellcsireplicationgroups/status - verbs: - - get - - patch - - update - - apiGroups: - - storage.k8s.io - resources: - - storageclasses - verbs: - - get - - list - - watch - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update", "create", "delete"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: dell-replication-metrics-reader -rules: - - nonResourceURLs: - - /metrics - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: dell-replication-proxy-role -rules: - - apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create - - apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create ---- -apiVersion: v1 -kind: Secret -metadata: - name: replication-secret - namespace: dell-replication-controller - annotations: - kubernetes.io/service-account.name: dell-replication-controller-sa - kubernetes.io/service-account.namespace: dell-replication-controller -type: kubernetes.io/service-account-token ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: dell-replication-manager-rolebinding -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: dell-replication-manager-role -subjects: - - kind: ServiceAccount - name: dell-replication-controller-sa - namespace: dell-replication-controller ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: dell-replication-proxy-rolebinding -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: dell-replication-proxy-role -subjects: - - kind: ServiceAccount - name: dell-replication-controller-sa - namespace: dell-replication-controller ---- -apiVersion: v1 -data: - config.yaml: | - clusterId: "" - targets: [] - CSI_LOG_LEVEL: "" -kind: ConfigMap -metadata: - name: dell-replication-controller-config - namespace: dell-replication-controller ---- -apiVersion: v1 -kind: Service -metadata: - labels: - control-plane: controller-manager - name: dell-replication-controller-manager-metrics-service - namespace: dell-replication-controller -spec: - ports: - - name: https - port: 8443 - targetPort: https - selector: - control-plane: controller-manager ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - control-plane: controller-manager - name: dell-replication-controller-manager - namespace: dell-replication-controller -spec: - replicas: - selector: - matchLabels: - control-plane: controller-manager - template: - metadata: - labels: - control-plane: controller-manager - spec: - serviceAccountName: dell-replication-controller-sa - containers: - - args: - - --enable-leader-election - - --prefix=replication.storage.dell.com - command: - - /dell-replication-controller - env: - - name: X_CSI_REPLICATION_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: X_CSI_REPLICATION_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: X_CSI_REPLICATION_IN_CLUSTER - value: "true" - - name: X_CSI_REPLICATION_WATCH_NAMESPACE - value: dell-replication-controller - - name: X_CSI_REPLICATION_CONFIG_DIR - value: /app/config - - name: X_CSI_REPLICATION_CERT_DIR - value: /app/certs - - name: X_CSI_REPLICATION_CONFIG_FILE_NAME - value: config - image: - imagePullPolicy: Always - name: manager - resources: - requests: - cpu: 100m - memory: 100Mi - volumeMounts: - - mountPath: /app/config - name: configmap-volume - - mountPath: /app/certs - name: cert-dir - terminationGracePeriodSeconds: 10 - volumes: - - emptyDir: null - name: cert-dir - - configMap: - name: dell-replication-controller-config - optional: true - name: configmap-volume diff --git a/operatorconfig/moduleconfig/replication/v1.7.0/replicationcrds.all.yaml b/operatorconfig/moduleconfig/replication/v1.7.0/replicationcrds.all.yaml deleted file mode 100644 index e3e6bc07e..000000000 --- a/operatorconfig/moduleconfig/replication/v1.7.0/replicationcrds.all.yaml +++ /dev/null @@ -1,240 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null - name: dellcsimigrationgroups.replication.storage.dell.com -spec: - group: replication.storage.dell.com - names: - kind: DellCSIMigrationGroup - listKind: DellCSIMigrationGroupList - plural: dellcsimigrationgroups - shortNames: - - mg - singular: dellcsimigrationgroup - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - - description: State of the CR - jsonPath: .status.state - name: State - type: string - - description: Source ID - jsonPath: .spec.sourceID - name: Source ID - type: string - - description: Target ID - jsonPath: .spec.targetID - name: Target ID - type: string - name: v1 - schema: - openAPIV3Schema: - 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: DellCSIMigrationGroupSpec defines the desired state of DellCSIMigrationGroup - properties: - driverName: - type: string - migrationGroupAttributes: - additionalProperties: - type: string - type: object - sourceID: - type: string - targetID: - type: string - required: - - driverName - - migrationGroupAttributes - - sourceID - - targetID - type: object - status: - description: DellCSIMigrationGroupStatus defines the observed state of DellCSIMigrationGroup - properties: - lastAction: - type: string - state: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null - name: dellcsireplicationgroups.replication.storage.dell.com -spec: - group: replication.storage.dell.com - names: - kind: DellCSIReplicationGroup - listKind: DellCSIReplicationGroupList - plural: dellcsireplicationgroups - shortNames: - - rg - singular: dellcsireplicationgroup - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - - description: State of the CR - jsonPath: .status.state - name: State - type: string - - description: Protection Group ID - jsonPath: .spec.protectionGroupId - name: PG ID - type: string - - description: Replication Link State - jsonPath: .status.replicationLinkState.state - name: Link State - type: string - - description: Replication Link State - jsonPath: .status.replicationLinkState.lastSuccessfulUpdate - name: Last LinkState Update - type: string - name: v1 - schema: - openAPIV3Schema: - description: DellCSIReplicationGroup is the Schema for the dellcsireplicationgroups 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: DellCSIReplicationGroupSpec defines the desired state of DellCSIReplicationGroup - properties: - action: - type: string - driverName: - type: string - protectionGroupAttributes: - additionalProperties: - type: string - type: object - protectionGroupId: - type: string - remoteClusterId: - type: string - remoteProtectionGroupAttributes: - additionalProperties: - type: string - type: object - remoteProtectionGroupId: - type: string - requestParametersClass: - type: string - required: - - action - - driverName - - protectionGroupId - - remoteClusterId - - remoteProtectionGroupId - type: object - status: - description: DellCSIReplicationGroupStatus defines the observed state of DellCSIReplicationGroup - properties: - conditions: - items: - description: LastAction - Stores the last updated action - properties: - condition: - description: Condition is the last known condition of the Custom Resource - type: string - errorMessage: - description: ErrorMessage is the last error message associated with the condition - type: string - firstFailure: - description: FirstFailure is the first time this action failed - format: date-time - type: string - time: - description: Time is the time stamp for the last action update - format: date-time - type: string - actionAttributes: - description: ActionAttributes content unique on response to an action - additionalProperties: - type: string - type: object - type: object - type: array - lastAction: - description: LastAction - Stores the last updated action - properties: - condition: - description: Condition is the last known condition of the Custom Resource - type: string - errorMessage: - description: ErrorMessage is the last error message associated with the condition - type: string - firstFailure: - description: FirstFailure is the first time this action failed - format: date-time - type: string - time: - description: Time is the time stamp for the last action update - format: date-time - type: string - actionAttributes: - description: ActionAttributes content unique on response to an action - additionalProperties: - type: string - type: object - type: object - remoteState: - type: string - replicationLinkState: - description: ReplicationLinkState - Stores the Replication Link State - properties: - errorMessage: - description: ErrorMessage is the last error message associated with the link state - type: string - isSource: - description: IsSource indicates if this site is primary - type: boolean - lastSuccessfulUpdate: - description: LastSuccessfulUpdate is the time stamp for the last state update - format: date-time - type: string - state: - description: State is the last reported state of the Replication Link - type: string - required: - - isSource - type: object - state: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} diff --git a/operatorconfig/moduleconfig/replication/v1.7.0/rules.yaml b/operatorconfig/moduleconfig/replication/v1.7.0/rules.yaml deleted file mode 100644 index 790f60de3..000000000 --- a/operatorconfig/moduleconfig/replication/v1.7.0/rules.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- apiGroups: ["replication.storage.dell.com"] - resources: ["dellcsireplicationgroups"] - verbs: ["create", "delete", "get", "list", "patch", "update", "watch"] -- apiGroups: ["replication.storage.dell.com"] - resources: ["dellcsireplicationgroups/status"] - verbs: ["get", "patch", "update"] -- apiGroups: [""] - resources: ["configmaps"] - verbs: ["create", "delete", "get", "list", "watch", "update", "patch"] diff --git a/operatorconfig/moduleconfig/replication/v1.8.0/container.yaml b/operatorconfig/moduleconfig/replication/v1.8.0/container.yaml deleted file mode 100644 index f8deb0454..000000000 --- a/operatorconfig/moduleconfig/replication/v1.8.0/container.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: dell-csi-replicator -image: dellemc/dell-csi-replicator:v1.8.0 -imagePullPolicy: IfNotPresent -args: - - "--csi-address=$(ADDRESS)" - - "--leader-election=true" - - "--worker-threads=2" - - "--retry-interval-start=1s" - - "--retry-interval-max=300s" - - "--timeout=300s" - - "--context-prefix=" - - "--prefix=" -env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: X_CSI_REPLICATION_CONFIG_DIR - value: / - - name: X_CSI_REPLICATION_CONFIG_FILE_NAME - value: driver-config-params.yaml -volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: - mountPath: / diff --git a/operatorconfig/moduleconfig/replication/v1.8.0/controller.yaml b/operatorconfig/moduleconfig/replication/v1.8.0/controller.yaml deleted file mode 100644 index c45bb6d02..000000000 --- a/operatorconfig/moduleconfig/replication/v1.8.0/controller.yaml +++ /dev/null @@ -1,304 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: dell-replication-controller ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: dell-replication-controller-sa - namespace: dell-replication-controller -secrets: - - name: replication-secret ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - creationTimestamp: null - name: dell-replication-manager-role -rules: - - apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - list - - watch - - apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions/status - verbs: - - get - - list - - watch - - apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - create - - delete - - get - - list - - update - - watch - - apiGroups: - - "" - resources: - - events - verbs: - - create - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - namespaces - verbs: - - create - - get - - list - - watch - - apiGroups: - - "" - resources: - - persistentvolumeclaims - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - persistentvolumeclaims/status - verbs: - - get - - patch - - update - - apiGroups: - - "" - resources: - - persistentvolumes - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - "" - resources: - - pods - verbs: - - get - - list - - watch - - apiGroups: - - "" - resources: - - secrets - verbs: - - get - - list - - watch - - apiGroups: - - replication.storage.dell.com - resources: - - dellcsireplicationgroups - verbs: - - create - - delete - - get - - list - - patch - - update - - watch - - apiGroups: - - replication.storage.dell.com - resources: - - dellcsireplicationgroups/status - verbs: - - get - - patch - - update - - apiGroups: - - storage.k8s.io - resources: - - storageclasses - verbs: - - get - - list - - watch - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update", "create", "delete"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: dell-replication-metrics-reader -rules: - - nonResourceURLs: - - /metrics - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: dell-replication-proxy-role -rules: - - apiGroups: - - authentication.k8s.io - resources: - - tokenreviews - verbs: - - create - - apiGroups: - - authorization.k8s.io - resources: - - subjectaccessreviews - verbs: - - create ---- -apiVersion: v1 -kind: Secret -metadata: - name: replication-secret - namespace: dell-replication-controller - annotations: - kubernetes.io/service-account.name: dell-replication-controller-sa - kubernetes.io/service-account.namespace: dell-replication-controller -type: kubernetes.io/service-account-token ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: dell-replication-manager-rolebinding -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: dell-replication-manager-role -subjects: - - kind: ServiceAccount - name: dell-replication-controller-sa - namespace: dell-replication-controller ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: dell-replication-proxy-rolebinding -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: dell-replication-proxy-role -subjects: - - kind: ServiceAccount - name: dell-replication-controller-sa - namespace: dell-replication-controller ---- -apiVersion: v1 -data: - config.yaml: | - clusterId: "" - targets: [] - CSI_LOG_LEVEL: "" -kind: ConfigMap -metadata: - name: dell-replication-controller-config - namespace: dell-replication-controller ---- -apiVersion: v1 -kind: Service -metadata: - labels: - control-plane: controller-manager - name: dell-replication-controller-manager-metrics-service - namespace: dell-replication-controller -spec: - ports: - - name: https - port: 8443 - targetPort: https - selector: - control-plane: controller-manager ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - control-plane: controller-manager - name: dell-replication-controller-manager - namespace: dell-replication-controller -spec: - replicas: - selector: - matchLabels: - control-plane: controller-manager - template: - metadata: - labels: - control-plane: controller-manager - spec: - serviceAccountName: dell-replication-controller-sa - containers: - - args: - - --enable-leader-election - - --prefix=replication.storage.dell.com - command: - - /dell-replication-controller - env: - - name: X_CSI_REPLICATION_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: X_CSI_REPLICATION_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: X_CSI_REPLICATION_IN_CLUSTER - value: "true" - - name: X_CSI_REPLICATION_WATCH_NAMESPACE - value: dell-replication-controller - - name: X_CSI_REPLICATION_CONFIG_DIR - value: /app/config - - name: X_CSI_REPLICATION_CERT_DIR - value: /app/certs - - name: X_CSI_REPLICATION_CONFIG_FILE_NAME - value: config - image: - imagePullPolicy: Always - name: manager - resources: - requests: - cpu: 100m - memory: 100Mi - volumeMounts: - - mountPath: /app/config - name: configmap-volume - - mountPath: /app/certs - name: cert-dir - terminationGracePeriodSeconds: 10 - volumes: - - emptyDir: null - name: cert-dir - - configMap: - name: dell-replication-controller-config - optional: true - name: configmap-volume diff --git a/operatorconfig/moduleconfig/replication/v1.8.0/replicationcrds.all.yaml b/operatorconfig/moduleconfig/replication/v1.8.0/replicationcrds.all.yaml deleted file mode 100644 index e3e6bc07e..000000000 --- a/operatorconfig/moduleconfig/replication/v1.8.0/replicationcrds.all.yaml +++ /dev/null @@ -1,240 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null - name: dellcsimigrationgroups.replication.storage.dell.com -spec: - group: replication.storage.dell.com - names: - kind: DellCSIMigrationGroup - listKind: DellCSIMigrationGroupList - plural: dellcsimigrationgroups - shortNames: - - mg - singular: dellcsimigrationgroup - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - - description: State of the CR - jsonPath: .status.state - name: State - type: string - - description: Source ID - jsonPath: .spec.sourceID - name: Source ID - type: string - - description: Target ID - jsonPath: .spec.targetID - name: Target ID - type: string - name: v1 - schema: - openAPIV3Schema: - 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: DellCSIMigrationGroupSpec defines the desired state of DellCSIMigrationGroup - properties: - driverName: - type: string - migrationGroupAttributes: - additionalProperties: - type: string - type: object - sourceID: - type: string - targetID: - type: string - required: - - driverName - - migrationGroupAttributes - - sourceID - - targetID - type: object - status: - description: DellCSIMigrationGroupStatus defines the observed state of DellCSIMigrationGroup - properties: - lastAction: - type: string - state: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.9.2 - creationTimestamp: null - name: dellcsireplicationgroups.replication.storage.dell.com -spec: - group: replication.storage.dell.com - names: - kind: DellCSIReplicationGroup - listKind: DellCSIReplicationGroupList - plural: dellcsireplicationgroups - shortNames: - - rg - singular: dellcsireplicationgroup - scope: Cluster - versions: - - additionalPrinterColumns: - - jsonPath: .metadata.creationTimestamp - name: AGE - type: date - - description: State of the CR - jsonPath: .status.state - name: State - type: string - - description: Protection Group ID - jsonPath: .spec.protectionGroupId - name: PG ID - type: string - - description: Replication Link State - jsonPath: .status.replicationLinkState.state - name: Link State - type: string - - description: Replication Link State - jsonPath: .status.replicationLinkState.lastSuccessfulUpdate - name: Last LinkState Update - type: string - name: v1 - schema: - openAPIV3Schema: - description: DellCSIReplicationGroup is the Schema for the dellcsireplicationgroups 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: DellCSIReplicationGroupSpec defines the desired state of DellCSIReplicationGroup - properties: - action: - type: string - driverName: - type: string - protectionGroupAttributes: - additionalProperties: - type: string - type: object - protectionGroupId: - type: string - remoteClusterId: - type: string - remoteProtectionGroupAttributes: - additionalProperties: - type: string - type: object - remoteProtectionGroupId: - type: string - requestParametersClass: - type: string - required: - - action - - driverName - - protectionGroupId - - remoteClusterId - - remoteProtectionGroupId - type: object - status: - description: DellCSIReplicationGroupStatus defines the observed state of DellCSIReplicationGroup - properties: - conditions: - items: - description: LastAction - Stores the last updated action - properties: - condition: - description: Condition is the last known condition of the Custom Resource - type: string - errorMessage: - description: ErrorMessage is the last error message associated with the condition - type: string - firstFailure: - description: FirstFailure is the first time this action failed - format: date-time - type: string - time: - description: Time is the time stamp for the last action update - format: date-time - type: string - actionAttributes: - description: ActionAttributes content unique on response to an action - additionalProperties: - type: string - type: object - type: object - type: array - lastAction: - description: LastAction - Stores the last updated action - properties: - condition: - description: Condition is the last known condition of the Custom Resource - type: string - errorMessage: - description: ErrorMessage is the last error message associated with the condition - type: string - firstFailure: - description: FirstFailure is the first time this action failed - format: date-time - type: string - time: - description: Time is the time stamp for the last action update - format: date-time - type: string - actionAttributes: - description: ActionAttributes content unique on response to an action - additionalProperties: - type: string - type: object - type: object - remoteState: - type: string - replicationLinkState: - description: ReplicationLinkState - Stores the Replication Link State - properties: - errorMessage: - description: ErrorMessage is the last error message associated with the link state - type: string - isSource: - description: IsSource indicates if this site is primary - type: boolean - lastSuccessfulUpdate: - description: LastSuccessfulUpdate is the time stamp for the last state update - format: date-time - type: string - state: - description: State is the last reported state of the Replication Link - type: string - required: - - isSource - type: object - state: - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} diff --git a/operatorconfig/moduleconfig/replication/v1.8.0/rules.yaml b/operatorconfig/moduleconfig/replication/v1.8.0/rules.yaml deleted file mode 100644 index 790f60de3..000000000 --- a/operatorconfig/moduleconfig/replication/v1.8.0/rules.yaml +++ /dev/null @@ -1,9 +0,0 @@ -- apiGroups: ["replication.storage.dell.com"] - resources: ["dellcsireplicationgroups"] - verbs: ["create", "delete", "get", "list", "patch", "update", "watch"] -- apiGroups: ["replication.storage.dell.com"] - resources: ["dellcsireplicationgroups/status"] - verbs: ["get", "patch", "update"] -- apiGroups: [""] - resources: ["configmaps"] - verbs: ["create", "delete", "get", "list", "watch", "update", "patch"] diff --git a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerflex-controller.yaml b/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerflex-controller.yaml deleted file mode 100644 index 563989420..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerflex-controller.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.8.0 -imagePullPolicy: IfNotPresent -env: - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: vxflexos-config-params - mountPath: /vxflexos-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerflex-node.yaml b/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerflex-node.yaml deleted file mode 100644 index d700dc9e1..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerflex-node.yaml +++ /dev/null @@ -1,58 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.8.0 -imagePullPolicy: IfNotPresent -securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true -env: - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_PRIVATE_MOUNT_DIR - value: /var/lib/kubelet - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: kubelet-pods - mountPath: /pods - mountPropagation: "Bidirectional" - - name: driver-path - mountPath: /plugins/vxflexos.emc.dell.com - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: usr-bin - mountPath: /usr-bin - - name: var-run - mountPath: /var/run - - name: vxflexos-config-params - mountPath: /vxflexos-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerscale-controller.yaml b/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerscale-controller.yaml deleted file mode 100644 index 6d91c7b4b..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerscale-controller.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.8.0 -imagePullPolicy: IfNotPresent -env: - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerscale-node.yaml b/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerscale-node.yaml deleted file mode 100644 index d63cde6aa..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerscale-node.yaml +++ /dev/null @@ -1,61 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.8.0 -imagePullPolicy: IfNotPresent -securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true -env: - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_PRIVATE_MOUNT_DIR - value: /var/lib/kubelet - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: kubelet-pods - mountPath: /pods - mountPropagation: "Bidirectional" - - name: driver-path - mountPath: /plugins/csi-isilon - mountPropagation: "Bidirectional" - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: usr-bin - mountPath: /usr-bin - - name: var-run - mountPath: /var/run - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerstore-controller.yaml b/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerstore-controller.yaml deleted file mode 100644 index dbd4753a3..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerstore-controller.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.8.0 -imagePullPolicy: IfNotPresent -env: - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: powerstore-config-params - mountPath: /powerstore-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerstore-node.yaml b/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerstore-node.yaml deleted file mode 100644 index d2d1129ab..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.8.0/container-powerstore-node.yaml +++ /dev/null @@ -1,61 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true -image: dellemc/podmon:v1.8.0 -imagePullPolicy: IfNotPresent -env: - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_PRIVATE_MOUNT_DIR - value: /var/lib/kubelet - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: kubelet-pods - mountPath: /pods - mountPropagation: "Bidirectional" - - name: driver-path - mountPath: /plugins/csi-powerstore.dellemc.com - mountPropagation: "Bidirectional" - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: usr-bin - mountPath: /usr-bin - - name: var-run - mountPath: /var/run - - name: powerstore-config-params - mountPath: /powerstore-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.8.0/controller-roles.yaml b/operatorconfig/moduleconfig/resiliency/v1.8.0/controller-roles.yaml deleted file mode 100644 index 10abf39ec..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.8.0/controller-roles.yaml +++ /dev/null @@ -1,24 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -- apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "patch"] -- apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch", "delete"] -- apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] diff --git a/operatorconfig/moduleconfig/resiliency/v1.8.0/node-roles.yaml b/operatorconfig/moduleconfig/resiliency/v1.8.0/node-roles.yaml deleted file mode 100644 index f5f8cbbc0..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.8.0/node-roles.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -- apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] -- apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] diff --git a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerflex-controller.yaml b/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerflex-controller.yaml deleted file mode 100644 index 52f35af1a..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerflex-controller.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.9.0 -imagePullPolicy: IfNotPresent -env: - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: vxflexos-config-params - mountPath: /vxflexos-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerflex-node.yaml b/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerflex-node.yaml deleted file mode 100644 index ba1797a67..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerflex-node.yaml +++ /dev/null @@ -1,58 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.9.0 -imagePullPolicy: IfNotPresent -securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true -env: - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_PRIVATE_MOUNT_DIR - value: /var/lib/kubelet - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: kubelet-pods - mountPath: /pods - mountPropagation: "Bidirectional" - - name: driver-path - mountPath: /plugins/vxflexos.emc.dell.com - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: usr-bin - mountPath: /usr-bin - - name: var-run - mountPath: /var/run - - name: vxflexos-config-params - mountPath: /vxflexos-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerscale-controller.yaml b/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerscale-controller.yaml deleted file mode 100644 index fbb4343fa..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerscale-controller.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.9.0 -imagePullPolicy: IfNotPresent -env: - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerscale-node.yaml b/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerscale-node.yaml deleted file mode 100644 index eba8ae213..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerscale-node.yaml +++ /dev/null @@ -1,61 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.9.0 -imagePullPolicy: IfNotPresent -securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true -env: - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_PRIVATE_MOUNT_DIR - value: /var/lib/kubelet - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: kubelet-pods - mountPath: /pods - mountPropagation: "Bidirectional" - - name: driver-path - mountPath: /plugins/csi-isilon - mountPropagation: "Bidirectional" - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: usr-bin - mountPath: /usr-bin - - name: var-run - mountPath: /var/run - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerstore-controller.yaml b/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerstore-controller.yaml deleted file mode 100644 index cd12cccca..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerstore-controller.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -image: dellemc/podmon:v1.9.0 -imagePullPolicy: IfNotPresent -env: - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: powerstore-config-params - mountPath: /powerstore-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerstore-node.yaml b/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerstore-node.yaml deleted file mode 100644 index fb8753e75..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.9.0/container-powerstore-node.yaml +++ /dev/null @@ -1,61 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -name: podmon -securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true -image: dellemc/podmon:v1.9.0 -imagePullPolicy: IfNotPresent -env: - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_PRIVATE_MOUNT_DIR - value: /var/lib/kubelet - - name: MY_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace -volumeMounts: - - name: kubelet-pods - mountPath: /pods - mountPropagation: "Bidirectional" - - name: driver-path - mountPath: /plugins/csi-powerstore.dellemc.com - mountPropagation: "Bidirectional" - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: usr-bin - mountPath: /usr-bin - - name: var-run - mountPath: /var/run - - name: powerstore-config-params - mountPath: /powerstore-config-params diff --git a/operatorconfig/moduleconfig/resiliency/v1.9.0/controller-roles.yaml b/operatorconfig/moduleconfig/resiliency/v1.9.0/controller-roles.yaml deleted file mode 100644 index 10abf39ec..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.9.0/controller-roles.yaml +++ /dev/null @@ -1,24 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -- apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "patch"] -- apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch", "delete"] -- apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] diff --git a/operatorconfig/moduleconfig/resiliency/v1.9.0/node-roles.yaml b/operatorconfig/moduleconfig/resiliency/v1.9.0/node-roles.yaml deleted file mode 100644 index f5f8cbbc0..000000000 --- a/operatorconfig/moduleconfig/resiliency/v1.9.0/node-roles.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -- apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] -- apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] diff --git a/pkg/modules/application_mobility.go b/pkg/modules/application_mobility.go index 6eed5854c..40ce6b337 100644 --- a/pkg/modules/application_mobility.go +++ b/pkg/modules/application_mobility.go @@ -560,7 +560,7 @@ func AppMobilityVelero(ctx context.Context, isDeleting bool, op utils.OperatorCo return err } - volumeSnapshotLoc, err := utils.GetVolumeSnapshotLocation(ctx, vsName, cr.Namespace, ctrlClient) + volumeSnapshotLoc, _ := utils.GetVolumeSnapshotLocation(ctx, vsName, cr.Namespace, ctrlClient) if volumeSnapshotLoc != nil { log.Infow("\n Volume Snapshot location Name : ", volumeSnapshotLoc.Name, " already exists and being re-used") } @@ -571,7 +571,7 @@ func AppMobilityVelero(ctx context.Context, isDeleting bool, op utils.OperatorCo } for _, ctrlObj := range ctrlObjects { - if isDeleting == false { + if !isDeleting { if err := utils.ApplyObject(ctx, ctrlObj, ctrlClient); err != nil { return err } @@ -794,7 +794,7 @@ func UseBackupStorageLoc(ctx context.Context, isDeleting bool, op utils.Operator return err } - backupStorageLoc, err := utils.GetBackupStorageLocation(ctx, bslName, cr.Namespace, ctrlClient) + backupStorageLoc, _ := utils.GetBackupStorageLocation(ctx, bslName, cr.Namespace, ctrlClient) if backupStorageLoc != nil { log.Infow("\n Backup Storage Name : ", backupStorageLoc.Name, "already exists and being re-used") } @@ -805,7 +805,7 @@ func UseBackupStorageLoc(ctx context.Context, isDeleting bool, op utils.Operator } for _, ctrlObj := range ctrlObjects { - if isDeleting == false { + if !isDeleting { if err := utils.ApplyObject(ctx, ctrlObj, ctrlClient); err != nil { return err } diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index 9429557f8..5b014b78a 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -220,7 +220,6 @@ func ReplaceAllContainerImageApply(img K8sImagesConfig, c *acorev1.ContainerAppl case string(csmv1.Resiliency): *c.Image = img.Images.Podmon } - return } // UpdateinitContainerApply - diff --git a/tests/config/driverconfig/badDriver/v2.10.0/bad.yaml b/tests/config/driverconfig/badDriver/v2.10.0/bad.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.10.0/bad.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.10.0/controller.yaml b/tests/config/driverconfig/badDriver/v2.10.0/controller.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.10.0/controller.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.10.0/csidriver.yaml b/tests/config/driverconfig/badDriver/v2.10.0/csidriver.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.10.0/driver-config-params.yaml b/tests/config/driverconfig/badDriver/v2.10.0/driver-config-params.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.10.0/upgrade-path.yaml b/tests/config/driverconfig/badDriver/v2.10.0/upgrade-path.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.9.0/bad.yaml b/tests/config/driverconfig/badDriver/v2.9.0/bad.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.9.0/bad.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.9.0/controller.yaml b/tests/config/driverconfig/badDriver/v2.9.0/controller.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.9.0/controller.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.9.0/csidriver.yaml b/tests/config/driverconfig/badDriver/v2.9.0/csidriver.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.9.0/csidriver.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.9.0/driver-config-params.yaml b/tests/config/driverconfig/badDriver/v2.9.0/driver-config-params.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.9.0/driver-config-params.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/badDriver/v2.9.0/upgrade-path.yaml b/tests/config/driverconfig/badDriver/v2.9.0/upgrade-path.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/badDriver/v2.9.0/upgrade-path.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/powerflex/v2.10.0/bad.yaml b/tests/config/driverconfig/powerflex/v2.10.0/bad.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/powerflex/v2.10.0/bad.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/powerflex/v2.10.0/controller.yaml b/tests/config/driverconfig/powerflex/v2.10.0/controller.yaml deleted file mode 100644 index 12aeddcb3..000000000 --- a/tests/config/driverconfig/powerflex/v2.10.0/controller.yaml +++ /dev/null @@ -1,258 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "patch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch", "delete"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update", "create", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status", "volumesnapshotcontents/status"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete", "update"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: - annotations: - com.dell.karavi-authorization-proxy: "true" -spec: - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - name: -controller - replicas: 2 - template: - metadata: - labels: - name: -controller - spec: - affinity: - nodeSelector: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: name - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - serviceAccountName: -controller - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--feature-gates=Topology=true" - - "--volume-name-prefix=k8s" - - "--volume-name-uuid-length=10" - - "--leader-election=true" - - "--timeout=120s" - - "--v=5" - - "--default-fstype=ext4" - - "--extra-create-metadata" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: csi-external-health-monitor-controller - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - - "--enable-node-watcher=true" - - "--http-endpoint=:8080" - - "--monitor-interval=60s" - - "--timeout=180s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election=true" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-vxflexos:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-vxflexos.sh"] - args: - - "--array-config=/vxflexos-config/config" - - "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_VXFLEXOS_ENABLESNAPSHOTCGDELETE - value: false - - name: X_CSI_VXFLEXOS_ENABLELISTVOLUMESNAPSHOT - value: false - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_QUOTA_ENABLED - value: - - name: X_CSI_POWERFLEX_EXTERNAL_ACCESS - value: - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: vxflexos-config - mountPath: /vxflexos-config - - name: vxflexos-config-params - mountPath: /vxflexos-config-params - - name: certs - mountPath: /certs - readOnly: true - volumes: - - name: socket-dir - emptyDir: - - name: vxflexos-config - secret: - secretName: -config - - name: vxflexos-config-params - configMap: - name: -config-params - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 diff --git a/tests/config/driverconfig/powerflex/v2.10.0/csidriver.yaml b/tests/config/driverconfig/powerflex/v2.10.0/csidriver.yaml deleted file mode 100644 index b030dbdf2..000000000 --- a/tests/config/driverconfig/powerflex/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-vxflexos.dellemc.com -spec: - fsGroupPolicy: ReadWriteOnceWithFSType - attachRequired: true - podInfoOnMount: true - storageCapacity: false - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/tests/config/driverconfig/powerflex/v2.10.0/driver-config-params.yaml b/tests/config/driverconfig/powerflex/v2.10.0/driver-config-params.yaml deleted file mode 100644 index b5a7060aa..000000000 --- a/tests/config/driverconfig/powerflex/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: debug - CSI_LOG_FORMAT: TEXT diff --git a/tests/config/driverconfig/powerflex/v2.10.0/node.yaml b/tests/config/driverconfig/powerflex/v2.10.0/node.yaml deleted file mode 100644 index 6cd9ab702..000000000 --- a/tests/config/driverconfig/powerflex/v2.10.0/node.yaml +++ /dev/null @@ -1,279 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch", "update", "delete"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: - annotations: - com.dell.karavi-authorization-proxy: "true" -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - driver.dellemc.com: dell-storage - spec: - serviceAccount: -node - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - hostPID: false - containers: - - name: driver - securityContext: - privileged: true - allowPrivilegeEscalation: true - capabilities: - add: ["SYS_ADMIN"] - image: dellemc/csi-vxflexos:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-vxflexos.sh"] - args: - - "--array-config=/vxflexos-config/config" - - "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: unix:///plugins/vxflexos.emc.dell.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/vxflexos.emc.dell.com/disks" - - name: X_CSI_ALLOW_RWO_MULTI_POD_ACCESS - value: false - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_APPROVE_SDC_ENABLED - value: - - name: X_CSI_RENAME_SDC_ENABLED - value: - - name: X_CSI_RENAME_SDC_PREFIX - value: - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: - - name: X_CSI_POWERFLEX_KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: driver-path - mountPath: /plugins/vxflexos.emc.dell.com - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: noderoot - mountPath: /noderoot - - name: dev - mountPath: /dev - - name: vxflexos-config - mountPath: /vxflexos-config - - name: vxflexos-config-params - mountPath: /vxflexos-config-params - - name: certs - mountPath: /certs - readOnly: true - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/vxflexos.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - - name: sdc-monitor - securityContext: - privileged: true - image: dellemc/sdc:4.5.1 - imagePullPolicy: IfNotPresent - env: - - name: HOST_PID - value: "1" - - name: HOST_NET - value: "1" - - name: NODENAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MODE - value: "monitoring" - volumeMounts: - - name: dev - mountPath: /dev - - name: os-release - mountPath: /host-os-release - - name: sdc-storage - mountPath: /storage - - name: udev-d - mountPath: /rules.d - initContainers: - - name: sdc - securityContext: - privileged: true - image: dellemc/sdc:4.5.1 - imagePullPolicy: IfNotPresent - env: - - name: NODENAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: MODE - value: "config" - - name: MDM - valueFrom: - secretKeyRef: - name: -config - key: MDM - - name: HOST_DRV_CFG_PATH - value: /opt/emc/scaleio/sdc/bin - volumeMounts: - - name: dev - mountPath: /dev - - name: os-release - mountPath: /host-os-release - - name: sdc-storage - mountPath: /storage - - name: udev-d - mountPath: /rules.d - - name: scaleio-path-opt - mountPath: /host_drv_cfg_path - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/vxflexos.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: scaleio-path-opt - hostPath: - path: /opt/emc/scaleio/sdc/bin - type: DirectoryOrCreate - - name: sdc-storage - hostPath: - path: /var/emc-scaleio - type: DirectoryOrCreate - - name: udev-d - hostPath: - path: /etc/udev/rules.d - type: Directory - - name: os-release - hostPath: - path: /etc/os-release - type: File - - name: vxflexos-config - secret: - secretName: -config - - name: vxflexos-config-params - configMap: - name: -config-params - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 diff --git a/tests/config/driverconfig/powerflex/v2.10.0/upgrade-path.yaml b/tests/config/driverconfig/powerflex/v2.10.0/upgrade-path.yaml deleted file mode 100644 index a902cb64c..000000000 --- a/tests/config/driverconfig/powerflex/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.8.0 diff --git a/tests/config/driverconfig/powermax/v2.10.0/bad.yaml b/tests/config/driverconfig/powermax/v2.10.0/bad.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/powermax/v2.10.0/bad.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/powermax/v2.10.0/controller.yaml b/tests/config/driverconfig/powermax/v2.10.0/controller.yaml deleted file mode 100644 index e1ec6d9fe..000000000 --- a/tests/config/driverconfig/powermax/v2.10.0/controller.yaml +++ /dev/null @@ -1,325 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots", "volumesnapshots/status"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 1 - template: - metadata: - labels: - app: -controller - spec: - serviceAccount: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--timeout=180s" - - "--v=5" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--timeout=180s" - - "--worker-threads=6" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--http-endpoint=:8080" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=pmax" - - "--volume-name-uuid-length=10" - - "--worker-threads=6" - - "--timeout=120s" - - "--v=5" - - "--feature-gates=Topology=true" - - "--leader-election" - - "--extra-create-metadata" - - "--default-fstype=ext4" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=180s" - - "--v=5" - - "--snapshot-name-prefix=pmsn" - - "--leader-election" - - "--snapshot-name-uuid-length=10" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-powermax:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powermax.sh"] - env: - - name: X_CSI_POWERMAX_DRIVER_NAME - value: csi-powermax.dellemc.com - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MANAGED_ARRAYS - value: "" - - name: X_CSI_POWERMAX_ENDPOINT - value: "" - - name: X_CSI_K8S_CLUSTER_PREFIX - value: "" - - name: X_CSI_MODE - value: controller - - name: X_CSI_POWERMAX_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_POWERMAX_USER - valueFrom: - secretKeyRef: - key: username - name: powermax-creds - - name: X_CSI_POWERMAX_PASSWORD - valueFrom: - secretKeyRef: - key: password - name: powermax-creds - - name: X_CSI_POWERMAX_DEBUG - value: "" - - name: X_CSI_POWERMAX_PORTGROUPS - value: "" - - name: X_CSI_GRPC_MAX_THREADS - value: "50" - - name: X_CSI_ENABLE_BLOCK - value: "true" - - name: X_CSI_TRANSPORT_PROTOCOL - value: "" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_IG_NODENAME_TEMPLATE - value: "" - - name: X_CSI_IG_MODIFY_HOSTNAME - value: "" - - name: X_CSI_REPLICATION_CONTEXT_PREFIX - value: powermax/ - - name: X_CSI_REPLICATION_PREFIX - value: replication.storage.dell.com/ - - name: X_CSI_UNISPHERE_TIMEOUT - value: 5m - - name: X_CSI_POWERMAX_CONFIG_PATH - value: /powermax-config-params/driver-config-params.yaml - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_VSPHERE_ENABLED - value: "" - - name: X_CSI_VSPHERE_PORTGROUP - value: "" - - name: X_CSI_VSPHERE_HOSTNAME - value: "" - - name: X_CSI_VCENTER_HOST - value: "" - - name: X_CSI_VCENTER_USERNAME - valueFrom: - secretKeyRef: - key: username - name: vcenter-creds - optional: true - - name: X_CSI_VCENTER_PWD - valueFrom: - secretKeyRef: - key: password - name: vcenter-creds - optional: true - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: powermax-config-params - mountPath: /csi-powermax-config-params - volumes: - - name: socket-dir - emptyDir: - - name: certs - secret: - secretName: -certs - optional: true - - name: powermax-config-params - configMap: - name: -config-params - - name: cert-dir - emptyDir: diff --git a/tests/config/driverconfig/powermax/v2.10.0/csidriver.yaml b/tests/config/driverconfig/powermax/v2.10.0/csidriver.yaml deleted file mode 100644 index 57491cb93..000000000 --- a/tests/config/driverconfig/powermax/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-powermax.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - fsGroupPolicy: ReadWriteOnceWithFSType - storageCapacity: false - volumeLifecycleModes: - - Persistent diff --git a/tests/config/driverconfig/powermax/v2.10.0/driver-config-params.yaml b/tests/config/driverconfig/powermax/v2.10.0/driver-config-params.yaml deleted file mode 100644 index ca7749c09..000000000 --- a/tests/config/driverconfig/powermax/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "JSON" diff --git a/tests/config/driverconfig/powermax/v2.10.0/node.yaml b/tests/config/driverconfig/powermax/v2.10.0/node.yaml deleted file mode 100644 index 5c4b3e19e..000000000 --- a/tests/config/driverconfig/powermax/v2.10.0/node.yaml +++ /dev/null @@ -1,254 +0,0 @@ -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - spec: - serviceAccount: -node - #nodeSelector: - #tolerations: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - command: ["/csi-powermax.sh"] - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-powermax:v2.10.0 - imagePullPolicy: IfNotPresent - env: - - name: X_CSI_POWERMAX_DRIVER_NAME - value: csi-powermax.dellemc.com - - name: CSI_ENDPOINT - value: unix:///plugins/powermax.emc.dell.com/csi_sock - - name: X_CSI_MANAGED_ARRAYS - value: "" - - name: X_CSI_POWERMAX_ENDPOINT - value: "" - - name: X_CSI_K8S_CLUSTER_PREFIX - value: "" - - name: X_CSI_MODE - value: node - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/powermax.emc.dell.com/disks" - - name: X_CSI_POWERMAX_SKIP_CERTIFICATE_VALIDATION - value: true - - name: X_CSI_POWERMAX_USER - valueFrom: - secretKeyRef: - name: powermax-creds - key: username - - name: X_CSI_POWERMAX_PASSWORD - valueFrom: - secretKeyRef: - name: powermax-creds - key: password - - name: X_CSI_POWERMAX_NODENAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_POWERMAX_ISCSI_ENABLE_CHAP - value: "" - - name: X_CSI_POWERMAX_PROXY_SERVICE_NAME - value: "csipowermax-reverseproxy" - - name: X_CSI_ISCSI_CHROOT - value: noderoot - - name: X_CSI_GRPC_MAX_THREADS - value: "50" - - name: X_CSI_TRANSPORT_PROTOCOL - value: "" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_POWERMAX_CONFIG_PATH - value: /powermax-config-params/driver-config-params.yaml - - name: X_CSI_POWERMAX_TOPOLOGY_CONFIG_PATH - value: /node-topology-config/topologyConfig.yaml - - name: X_CSI_IG_NODENAME_TEMPLATE - value: "" - - name: X_CSI_IG_MODIFY_HOSTNAME - value: "" - - name: X_CSI_POWERMAX_PORTGROUPS - value: "" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_TOPOLOGY_CONTROL_ENABLED - value: "" - - name: X_CSI_VSPHERE_ENABLED - value: "" - - name: X_CSI_VSPHERE_PORTGROUP - value: "" - - name: X_CSI_VCENTER_HOST - value: "" - - name: X_CSI_VCENTER_USERNAME - valueFrom: - secretKeyRef: - key: username - name: vcenter-creds - optional: true - - name: X_CSI_VCENTER_PWD - valueFrom: - secretKeyRef: - key: password - name: vcenter-creds - optional: true - volumeMounts: - - name: driver-path - mountPath: /plugins/powermax.emc.dell.com - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: sys - mountPath: /sys - - name: noderoot - mountPath: /noderoot - - name: dbus-socket - mountPath: /run/dbus/system_bus_socket - - name: certs - mountPath: /certs - readOnly: true - - name: powermax-config-params - mountPath: /powermax-config-params - - name: node-topology-config - mountPath: /node-topology-config - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/powermax.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/powermax.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: sys - hostPath: - path: /sys - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: dbus-socket - hostPath: - path: /run/dbus/system_bus_socket - type: Socket - - name: certs - secret: - secretName: -certs - optional: true - - name: powermax-config-params - configMap: - name: -config-params - - name: node-topology-config - configMap: - name: node-topology-config - optional: true diff --git a/tests/config/driverconfig/powermax/v2.10.0/upgrade-path.yaml b/tests/config/driverconfig/powermax/v2.10.0/upgrade-path.yaml deleted file mode 100644 index a902cb64c..000000000 --- a/tests/config/driverconfig/powermax/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.8.0 diff --git a/tests/config/driverconfig/powermax/v2.11.0/upgrade-path.yaml b/tests/config/driverconfig/powermax/v2.11.0/upgrade-path.yaml index 529a9668d..9c02efc7d 100644 --- a/tests/config/driverconfig/powermax/v2.11.0/upgrade-path.yaml +++ b/tests/config/driverconfig/powermax/v2.11.0/upgrade-path.yaml @@ -1 +1 @@ -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.1 diff --git a/tests/config/driverconfig/powerscale/v2.10.0/bad.yaml b/tests/config/driverconfig/powerscale/v2.10.0/bad.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/powerscale/v2.10.0/bad.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/powerscale/v2.10.0/controller.yaml b/tests/config/driverconfig/powerscale/v2.10.0/controller.yaml deleted file mode 100644 index 03d52448c..000000000 --- a/tests/config/driverconfig/powerscale/v2.10.0/controller.yaml +++ /dev/null @@ -1,311 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status"] - verbs: ["update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 1 - template: - metadata: - labels: - app: -controller - spec: - serviceAccount: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--timeout=120s" - - "--v=5" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--timeout=180s" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--enable-node-watcher=false" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--http-endpoint=:8080" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=k8s" - - "--volume-name-uuid-length=10" - - "--worker-threads=5" - - "--timeout=120s" - - "--v=5" - - "--feature-gates=Topology=true" - - "--leader-election" - - "--extra-create-metadata" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - - "--enable-capacity=false" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--snapshot-name-prefix=snapshot" - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-isilon:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-isilon"] - args: - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - - "--driver-config-params=/csi-isilon-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_ISI_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_ISI_AUTH_TYPE - value: "0" - - name: X_CSI_VERBOSE - value: "1" - - name: X_CSI_ISI_PORT - value: "8080" - - name: X_CSI_ISI_AUTOPROBE - value: "true" - - name: X_CSI_ISI_QUOTA_ENABLED - value: "true" - - name: X_CSI_ISI_ACCESS_ZONE - value: system - - name: X_CSI_CUSTOM_TOPOLOGY_ENABLED - value: "false" - - name: X_CSI_ISI_PATH - value: "/ifs/data/csi" - - name: X_CSI_ISI_VOLUME_PATH_PERMISSIONS - value: "0777" - - name: X_CSI_ISI_IGNORE_UNRESOLVABLE_HOSTS - value: "false" - - name: X_CSI_ISI_NO_PROBE_ON_START - value: "false" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "false" - - name: X_CSI_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_ISI_CONFIG_PATH - value: /isilon-configs/config - - name: X_CSI_MAX_PATH_LIMIT - value: "false" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: isilon-configs - mountPath: /isilon-configs - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params - volumes: - - name: socket-dir - emptyDir: - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: isilon-configs - secret: - secretName: -creds - - name: csi-isilon-config-params - configMap: - name: -config-params diff --git a/tests/config/driverconfig/powerscale/v2.10.0/csidriver.yaml b/tests/config/driverconfig/powerscale/v2.10.0/csidriver.yaml deleted file mode 100644 index d5bbcf27b..000000000 --- a/tests/config/driverconfig/powerscale/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-isilon.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: false - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/tests/config/driverconfig/powerscale/v2.10.0/driver-config-params.yaml b/tests/config/driverconfig/powerscale/v2.10.0/driver-config-params.yaml deleted file mode 100644 index da4dddd64..000000000 --- a/tests/config/driverconfig/powerscale/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: debug diff --git a/tests/config/driverconfig/powerscale/v2.10.0/node.yaml b/tests/config/driverconfig/powerscale/v2.10.0/node.yaml deleted file mode 100644 index 17334c578..000000000 --- a/tests/config/driverconfig/powerscale/v2.10.0/node.yaml +++ /dev/null @@ -1,196 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - spec: - serviceAccount: -node - #nodeSelector: - #tolerations: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - command: ["/csi-isilon"] - args: - - "--driver-config-params=/csi-isilon-config-params/driver-config-params.yaml" - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-isilon:v2.10.0 - imagePullPolicy: IfNotPresent - env: - - name: CSI_ENDPOINT - value: /plugins/csi-isilon/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_ISI_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_ALLOWED_NETWORKS - value: "" - - name: X_CSI_VERBOSE - value: "1" - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/csi-isilon/disks" - - name: X_CSI_ISI_PORT - value: "8080" - - name: X_CSI_ISI_PATH - value: "/ifs/data/csi" - - name: X_CSI_ISI_NO_PROBE_ON_START - value: "false" - - name: X_CSI_ISI_AUTOPROBE - value: "true" - - name: X_CSI_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: X_CSI_NODE_IP - valueFrom: - fieldRef: - fieldPath: status.hostIP - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_ISI_QUOTA_ENABLED - value: "true" - - name: X_CSI_CUSTOM_TOPOLOGY_ENABLED - value: "false" - - name: X_CSI_ISI_CONFIG_PATH - value: /isilon-configs/config - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: "0" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "false" - - name: X_CSI_MAX_PATH_LIMIT - value: "false" - volumeMounts: - - name: driver-path - mountPath: /plugins/csi-isilon - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: certs - mountPath: /certs - readOnly: true - - name: isilon-configs - mountPath: /isilon-configs - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/csi-isilon/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/csi-isilon - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: isilon-configs - secret: - secretName: -creds - - name: csi-isilon-config-params - configMap: - name: -config-params diff --git a/tests/config/driverconfig/powerscale/v2.10.0/upgrade-path.yaml b/tests/config/driverconfig/powerscale/v2.10.0/upgrade-path.yaml deleted file mode 100644 index a902cb64c..000000000 --- a/tests/config/driverconfig/powerscale/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.8.0 diff --git a/tests/config/driverconfig/powerscale/v2.11.0/upgrade-path.yaml b/tests/config/driverconfig/powerscale/v2.11.0/upgrade-path.yaml index 529a9668d..9c02efc7d 100644 --- a/tests/config/driverconfig/powerscale/v2.11.0/upgrade-path.yaml +++ b/tests/config/driverconfig/powerscale/v2.11.0/upgrade-path.yaml @@ -1 +1 @@ -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.1 diff --git a/tests/config/driverconfig/powerscale/v2.9.0/bad.yaml b/tests/config/driverconfig/powerscale/v2.9.0/bad.yaml deleted file mode 100644 index 596805cdc..000000000 --- a/tests/config/driverconfig/powerscale/v2.9.0/bad.yaml +++ /dev/null @@ -1,3 +0,0 @@ -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/powerscale/v2.9.0/controller.yaml b/tests/config/driverconfig/powerscale/v2.9.0/controller.yaml deleted file mode 100644 index 7924f6d23..000000000 --- a/tests/config/driverconfig/powerscale/v2.9.0/controller.yaml +++ /dev/null @@ -1,311 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status"] - verbs: ["update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 1 - template: - metadata: - labels: - app: -controller - spec: - serviceAccount: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--timeout=120s" - - "--v=5" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--timeout=180s" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--enable-node-watcher=false" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--http-endpoint=:8080" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=k8s" - - "--volume-name-uuid-length=10" - - "--worker-threads=5" - - "--timeout=120s" - - "--v=5" - - "--feature-gates=Topology=true" - - "--leader-election" - - "--extra-create-metadata" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - - "--enable-capacity=false" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--timeout=120s" - - "--v=5" - - "--snapshot-name-prefix=snapshot" - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-isilon:v2.8.0 - imagePullPolicy: IfNotPresent - command: ["/csi-isilon"] - args: - - "--leader-election" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - - "--driver-config-params=/csi-isilon-config-params/driver-config-params.yaml" - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_ISI_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_ISI_AUTH_TYPE - value: "0" - - name: X_CSI_VERBOSE - value: "1" - - name: X_CSI_ISI_PORT - value: "8080" - - name: X_CSI_ISI_AUTOPROBE - value: "true" - - name: X_CSI_ISI_QUOTA_ENABLED - value: "true" - - name: X_CSI_ISI_ACCESS_ZONE - value: system - - name: X_CSI_CUSTOM_TOPOLOGY_ENABLED - value: "false" - - name: X_CSI_ISI_PATH - value: "/ifs/data/csi" - - name: X_CSI_ISI_VOLUME_PATH_PERMISSIONS - value: "0777" - - name: X_CSI_ISI_IGNORE_UNRESOLVABLE_HOSTS - value: "false" - - name: X_CSI_ISI_NO_PROBE_ON_START - value: "false" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "false" - - name: X_CSI_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_ISI_CONFIG_PATH - value: /isilon-configs/config - - name: X_CSI_MAX_PATH_LIMIT - value: "false" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: isilon-configs - mountPath: /isilon-configs - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params - volumes: - - name: socket-dir - emptyDir: - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: isilon-configs - secret: - secretName: -creds - - name: csi-isilon-config-params - configMap: - name: -config-params diff --git a/tests/config/driverconfig/powerscale/v2.9.0/csidriver.yaml b/tests/config/driverconfig/powerscale/v2.9.0/csidriver.yaml deleted file mode 100644 index d5bbcf27b..000000000 --- a/tests/config/driverconfig/powerscale/v2.9.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-isilon.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: false - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/tests/config/driverconfig/powerscale/v2.9.0/driver-config-params.yaml b/tests/config/driverconfig/powerscale/v2.9.0/driver-config-params.yaml deleted file mode 100644 index da4dddd64..000000000 --- a/tests/config/driverconfig/powerscale/v2.9.0/driver-config-params.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: debug diff --git a/tests/config/driverconfig/powerscale/v2.9.0/node.yaml b/tests/config/driverconfig/powerscale/v2.9.0/node.yaml deleted file mode 100644 index 7b4f005c3..000000000 --- a/tests/config/driverconfig/powerscale/v2.9.0/node.yaml +++ /dev/null @@ -1,196 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - spec: - serviceAccount: -node - #nodeSelector: - #tolerations: - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - command: ["/csi-isilon"] - args: - - "--driver-config-params=/csi-isilon-config-params/driver-config-params.yaml" - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-isilon:v2.9.0 - imagePullPolicy: IfNotPresent - env: - - name: CSI_ENDPOINT - value: /plugins/csi-isilon/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_ISI_SKIP_CERTIFICATE_VALIDATION - value: "true" - - name: X_CSI_ALLOWED_NETWORKS - value: "" - - name: X_CSI_VERBOSE - value: "1" - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/plugins/csi-isilon/disks" - - name: X_CSI_ISI_PORT - value: "8080" - - name: X_CSI_ISI_PATH - value: "/ifs/data/csi" - - name: X_CSI_ISI_NO_PROBE_ON_START - value: "false" - - name: X_CSI_ISI_AUTOPROBE - value: "true" - - name: X_CSI_NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - - name: X_CSI_NODE_IP - valueFrom: - fieldRef: - fieldPath: status.hostIP - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_ISI_QUOTA_ENABLED - value: "true" - - name: X_CSI_CUSTOM_TOPOLOGY_ENABLED - value: "false" - - name: X_CSI_ISI_CONFIG_PATH - value: /isilon-configs/config - - name: X_CSI_MAX_VOLUMES_PER_NODE - value: "0" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "false" - - name: X_CSI_MAX_PATH_LIMIT - value: "false" - volumeMounts: - - name: driver-path - mountPath: /plugins/csi-isilon - - name: volumedevices-path - mountPath: /plugins/kubernetes.io/csi/volumeDevices - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: certs - mountPath: /certs - readOnly: true - - name: isilon-configs - mountPath: /isilon-configs - - name: csi-isilon-config-params - mountPath: /csi-isilon-config-params - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/csi-isilon/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/csi-isilon - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /plugins/kubernetes.io/csi/volumeDevices - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: isilon-configs - secret: - secretName: -creds - - name: csi-isilon-config-params - configMap: - name: -config-params diff --git a/tests/config/driverconfig/powerscale/v2.9.0/upgrade-path.yaml b/tests/config/driverconfig/powerscale/v2.9.0/upgrade-path.yaml deleted file mode 100644 index fab8efca9..000000000 --- a/tests/config/driverconfig/powerscale/v2.9.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.7.0 diff --git a/tests/config/driverconfig/powerstore/v2.10.0/bad.yaml b/tests/config/driverconfig/powerstore/v2.10.0/bad.yaml deleted file mode 100644 index 2d0b5fe92..000000000 --- a/tests/config/driverconfig/powerstore/v2.10.0/bad.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/powerstore/v2.10.0/config.json b/tests/config/driverconfig/powerstore/v2.10.0/config.json deleted file mode 100644 index b90989ebe..000000000 --- a/tests/config/driverconfig/powerstore/v2.10.0/config.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "username": "admin", - "password": "password", - "globalID": "unique" , - "blockProtocol": "auto", - "endpoint": "https://10.0.0.1/api/rest", - "skipCertificateValidation": true, - "nasName": "nas-server" , - "nfsAcls": "0777" - } -] \ No newline at end of file diff --git a/tests/config/driverconfig/powerstore/v2.10.0/controller.yaml b/tests/config/driverconfig/powerstore/v2.10.0/controller.yaml deleted file mode 100644 index 2cadfed06..000000000 --- a/tests/config/driverconfig/powerstore/v2.10.0/controller.yaml +++ /dev/null @@ -1,270 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["volumegroup.storage.dell.com"] - resources: ["dellcsivolumegroupsnapshots", "dellcsivolumegroupsnapshots/status"] - verbs: ["create", "list", "watch", "delete", "update"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots", "volumesnapshots/status"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - name: -controller - replicas: 2 - template: - metadata: - labels: - name: -controller - spec: - serviceAccountName: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: name - operator: In - values: - - -controller - topologyKey: kubernetes.io/hostname - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--worker-threads=130" - - "--resync=10s" - - "--timeout=130s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=csivol" - - "--volume-name-uuid-length=10" - - "--v=5" - - "--leader-election" - - "--default-fstype=ext4" - - "--extra-create-metadata" - - "--feature-gates=Topology=true" - - "--enable-capacity=false" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - - "--snapshot-name-prefix=csisnap" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--http-endpoint=:8080" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - - "--leader-election-renew-deadline=10s" - - "--leader-election-lease-duration=15s" - - "--leader-election-retry-period=5s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-powerstore:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powerstore"] - args: - - "--array-config=/powerstore-config/config" - - "--driver-config-params=/powerstore-config-params/driver-config-params.yaml" - env: - - name: ENABLE_TRACING - value: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_DRIVER_NAME - value: "csi-powerstore.dellemc.com" - - name: X_CSI_POWERSTORE_EXTERNAL_ACCESS - value: - - name: X_CSI_NFS_ACLS - value: "" - - name: X_CSI_POWERSTORE_CONFIG_PATH - value: /powerstore-config/config - - name: X_CSI_POWERSTORE_CONFIG_PARAMS_PATH - value: /powerstore-config-params/driver-config-params.yaml - - name: GOPOWERSTORE_DEBUG - value: true - - name: CSI_AUTO_ROUND_OFF_FILESYSTEM_SIZE - value: false - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: powerstore-config - mountPath: /powerstore-config - - name: powerstore-config-params - mountPath: /powerstore-config-params - volumes: - - name: socket-dir - emptyDir: - - name: powerstore-config-params - configMap: - name: -config-params - - name: powerstore-config - secret: - secretName: -config diff --git a/tests/config/driverconfig/powerstore/v2.10.0/csidriver.yaml b/tests/config/driverconfig/powerstore/v2.10.0/csidriver.yaml deleted file mode 100644 index 0f1b9547f..000000000 --- a/tests/config/driverconfig/powerstore/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# - -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-powerstore.dellemc.com -spec: - storageCapacity: false - podInfoOnMount: true - fsGroupPolicy: ReadWriteOnceWithFSType - volumeLifecycleModes: - - Persistent - - Ephemeral diff --git a/tests/config/driverconfig/powerstore/v2.10.0/driver-config-params.yaml b/tests/config/driverconfig/powerstore/v2.10.0/driver-config-params.yaml deleted file mode 100644 index eb6b5d18e..000000000 --- a/tests/config/driverconfig/powerstore/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# - -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "debug" - CSI_LOG_FORMAT: "JSON" diff --git a/tests/config/driverconfig/powerstore/v2.10.0/node.yaml b/tests/config/driverconfig/powerstore/v2.10.0/node.yaml deleted file mode 100644 index 24e8abeff..000000000 --- a/tests/config/driverconfig/powerstore/v2.10.0/node.yaml +++ /dev/null @@ -1,244 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - driver.dellemc.com: dell-storage - spec: - #nodeSelector: - #tolerations: - serviceAccount: -node - dnsPolicy: ClusterFirstWithHostNet - hostNetwork: true - hostIPC: true - containers: - - name: driver - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-powerstore:v2.10.0 - imagePullPolicy: IfNotPresent - command: ["/csi-powerstore"] - args: - - "--array-config=/powerstore-config/config" - - "--driver-config-params=/powerstore-config-params/driver-config-params.yaml" - env: - - name: ENABLE_TRACING - value: - - name: CSI_ENDPOINT - value: unix:///plugins/csi-powerstore.dellemc.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_POWERSTORE_KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: X_CSI_POWERSTORE_NODE_NAME_PREFIX - value: - - name: X_CSI_POWERSTORE_NODE_ID_PATH - value: /node-id - - name: X_CSI_POWERSTORE_MAX_VOLUMES_PER_NODE - value: - - name: X_CSI_POWERSTORE_NODE_CHROOT_PATH - value: /noderoot - - name: X_CSI_POWERSTORE_TMP_DIR - value: /plugins/csi-powerstore.dellemc.com/tmp - - name: X_CSI_DRIVER_NAME - value: "csi-powerstore.dellemc.com" - - name: X_CSI_FC_PORTS_FILTER_FILE_PATH - value: - - name: X_CSI_POWERSTORE_ENABLE_CHAP - value: "" - - name: X_CSI_POWERSTORE_CONFIG_PATH - value: /powerstore-config/config - - name: X_CSI_POWERSTORE_CONFIG_PARAMS_PATH - value: /powerstore-config-params/driver-config-params.yaml - - name: GOPOWERSTORE_DEBUG - value: "true" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - volumeMounts: - - name: driver-path - mountPath: /plugins/csi-powerstore.dellemc.com - - name: csi-path - mountPath: /plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: sys - mountPath: /sys - - name: run - mountPath: /run - - name: node-id - mountPath: /node-id - - name: etciscsi - mountPath: /etc/iscsi - - name: mpath - mountPath: /etc/multipath.conf - - name: noderoot - mountPath: /noderoot - - name: powerstore-config - mountPath: /powerstore-config - - name: powerstore-config-params - mountPath: /powerstore-config-params - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/plugins/csi-powerstore.dellemc.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /plugins/csi-powerstore.dellemc.com - type: DirectoryOrCreate - - name: csi-path - hostPath: - path: /plugins/kubernetes.io/csi - - name: pods-path - hostPath: - path: /pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: node-id - hostPath: - path: /etc/machine-id - type: File - - name: etciscsi - hostPath: - path: /etc/iscsi - type: DirectoryOrCreate - - name: mpath - hostPath: - path: /etc/multipath.conf - type: FileOrCreate - - name: noderoot - hostPath: - path: / - type: Directory - - name: sys - hostPath: - path: /sys - type: Directory - - name: run - hostPath: - path: /run - type: Directory - - name: powerstore-config-params - configMap: - name: -config-params - - name: powerstore-config - secret: - secretName: -config - - name: usr-bin - hostPath: - path: /usr/bin - type: Directory - - name: kubelet-pods - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: var-run - hostPath: - path: /var/run - type: Directory diff --git a/tests/config/driverconfig/powerstore/v2.10.0/upgrade-path.yaml b/tests/config/driverconfig/powerstore/v2.10.0/upgrade-path.yaml deleted file mode 100644 index d41faddac..000000000 --- a/tests/config/driverconfig/powerstore/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -minUpgradePath: v2.8.0 diff --git a/tests/config/driverconfig/powerstore/v2.11.0/upgrade-path.yaml b/tests/config/driverconfig/powerstore/v2.11.0/upgrade-path.yaml index fd1516286..18b6b4b70 100644 --- a/tests/config/driverconfig/powerstore/v2.11.0/upgrade-path.yaml +++ b/tests/config/driverconfig/powerstore/v2.11.0/upgrade-path.yaml @@ -13,4 +13,4 @@ # limitations under the License. # # -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.1 diff --git a/tests/config/driverconfig/unity/v2.10.0/bad.yaml b/tests/config/driverconfig/unity/v2.10.0/bad.yaml deleted file mode 100644 index 2d0b5fe92..000000000 --- a/tests/config/driverconfig/unity/v2.10.0/bad.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# -# -# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -|- - this snfoiasga is - 843*&(*(% invalid YAml diff --git a/tests/config/driverconfig/unity/v2.10.0/config.json b/tests/config/driverconfig/unity/v2.10.0/config.json deleted file mode 100644 index 77550649a..000000000 --- a/tests/config/driverconfig/unity/v2.10.0/config.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "arrayId": "AB1234567890" , - "username": "admin", - "password": "password", - "endpoint": "https://10.0.0.1/", - "skipCertificateValidation": true, - "isDefault": true - } -] - - diff --git a/tests/config/driverconfig/unity/v2.10.0/controller.yaml b/tests/config/driverconfig/unity/v2.10.0/controller.yaml deleted file mode 100644 index 5e48f3013..000000000 --- a/tests/config/driverconfig/unity/v2.10.0/controller.yaml +++ /dev/null @@ -1,259 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -controller - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "watch", "list", "delete", "update", "create"] - - apiGroups: [""] - resources: ["events"] - verbs: ["list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["get", "list", "watch", "create", "delete", "update", "patch"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "create", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["csinodes"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["csi.storage.k8s.io"] - resources: ["csinodeinfos"] - verbs: ["get", "list", "watch"] - - apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] - # below for snapshotter - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "list"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents"] - verbs: ["create", "get", "list", "watch", "update", "delete", "patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots/status"] - verbs: ["update"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments/status"] - verbs: ["patch"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshots"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create", "list", "watch", "delete"] - - apiGroups: ["snapshot.storage.k8s.io"] - resources: ["volumesnapshotcontents/status"] - verbs: ["update", "patch"] - # below for resizer - - apiGroups: [""] - resources: ["persistentvolumeclaims/status"] - verbs: ["update", "patch"] - # Permissions for CSIStorageCapacity - - apiGroups: ["storage.k8s.io"] - resources: ["csistoragecapacities"] - verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] - - apiGroups: ["apps"] - resources: ["replicasets"] - verbs: ["get"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -controller -subjects: - - kind: ServiceAccount - name: -controller - namespace: -roleRef: - kind: ClusterRole - name: -controller - apiGroup: rbac.authorization.k8s.io ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: -controller - namespace: -spec: - selector: - matchLabels: - app: -controller - replicas: 2 - template: - metadata: - labels: - app: -controller - spec: - serviceAccountName: -controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - -controller - topologyKey: "kubernetes.io/hostname" - containers: - - name: attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--volume-name-prefix=csivol" - - "--volume-name-uuid-length=10" - - "--timeout=180s" - - "--worker-threads=6" - - "--v=5" - - "--feature-gates=Topology=true" - - "--strict-topology=true" - - "--leader-election" - - "--leader-election-namespace=" - - "--default-fstype=ext4" - - "--enable-capacity=true" - - "--capacity-ownerref-level=2" - - "--capacity-poll-interval=5m" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--snapshot-name-prefix=csi-snap" - - "--snapshot-name-uuid-length=10" - - "--timeout=360s" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0 - imagePullPolicy: IfNotPresent - args: - - "--csi-address=$(ADDRESS)" - - "--v=5" - - "--leader-election" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: external-health-monitor - image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.11.0 - imagePullPolicy: IfNotPresent - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - "--leader-election" - - "--http-endpoint=:8080" - - "--enable-node-watcher=true" - - "--monitor-interval=60s" - - "--timeout=180s" - env: - - name: ADDRESS - value: /var/run/csi/csi.sock - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: driver - image: dellemc/csi-unity:v2.10.0 - args: - - "--driver-name=csi-unity.dellemc.com" - - "--driver-config=/unity-config/driver-config-params.yaml" - - "--driver-secret=/unity-secret/config" - imagePullPolicy: IfNotPresent - env: - - name: CSI_ENDPOINT - value: /var/run/csi/csi.sock - - name: X_CSI_MODE - value: controller - - name: X_CSI_UNITY_AUTOPROBE - value: "true" - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_UNITY_SKIP_CERTIFICATE_VALIDATION - value: "true" - volumeMounts: - - name: socket-dir - mountPath: /var/run/csi - - name: certs - mountPath: /certs - readOnly: true - - name: unity-config - mountPath: /unity-config - - name: unity-secret - mountPath: /unity-secret - volumes: - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: socket-dir - emptyDir: - - name: unity-config - configMap: - name: -config-params - - name: unity-secret - secret: - secretName: -creds diff --git a/tests/config/driverconfig/unity/v2.10.0/csidriver.yaml b/tests/config/driverconfig/unity/v2.10.0/csidriver.yaml deleted file mode 100644 index dbc2496ab..000000000 --- a/tests/config/driverconfig/unity/v2.10.0/csidriver.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: storage.k8s.io/v1 -kind: CSIDriver -metadata: - name: csi-unity.dellemc.com -spec: - attachRequired: true - podInfoOnMount: true - storageCapacity: true - volumeLifecycleModes: - - Persistent - - Ephemeral - fsGroupPolicy: ReadWriteOnceWithFSType diff --git a/tests/config/driverconfig/unity/v2.10.0/driver-config-params.yaml b/tests/config/driverconfig/unity/v2.10.0/driver-config-params.yaml deleted file mode 100644 index e249d5138..000000000 --- a/tests/config/driverconfig/unity/v2.10.0/driver-config-params.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: -config-params - namespace: -data: - driver-config-params.yaml: |- - CSI_LOG_LEVEL: "info" - ALLOW_RWO_MULTIPOD_ACCESS: "false" - MAX_UNITY_VOLUMES_PER_NODE: 0 - SYNC_NODE_INFO_TIME_INTERVAL: 15 - TENANT_NAME: "" diff --git a/tests/config/driverconfig/unity/v2.10.0/node.yaml b/tests/config/driverconfig/unity/v2.10.0/node.yaml deleted file mode 100644 index 69466603f..000000000 --- a/tests/config/driverconfig/unity/v2.10.0/node.yaml +++ /dev/null @@ -1,189 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: -node - namespace: ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -rules: - - apiGroups: [""] - resources: ["persistentvolumes"] - verbs: ["create", "delete", "get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: [""] - resources: ["events"] - verbs: ["get", "list", "watch", "create", "update", "patch"] - - apiGroups: [""] - resources: ["nodes"] - verbs: ["get", "list", "watch", "update", "patch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["storage.k8s.io"] - resources: ["storageclasses"] - verbs: ["get", "list", "watch"] - - apiGroups: ["storage.k8s.io"] - resources: ["volumeattachments"] - verbs: ["get", "list", "watch", "update"] - - apiGroups: ["security.openshift.io"] - resourceNames: ["privileged"] - resources: ["securitycontextconstraints"] - verbs: ["use"] ---- -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: -node -subjects: - - kind: ServiceAccount - name: -node - namespace: -roleRef: - kind: ClusterRole - name: -node - apiGroup: rbac.authorization.k8s.io ---- -kind: DaemonSet -apiVersion: apps/v1 -metadata: - name: -node - namespace: -spec: - updateStrategy: - type: RollingUpdate - selector: - matchLabels: - app: -node - template: - metadata: - labels: - app: -node - spec: - serviceAccountName: -node - hostIPC: true - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: driver - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true - image: dellemc/csi-unity:nightly - imagePullPolicy: IfNotPresent - args: - - "--driver-name=csi-unity.dellemc.com" - - "--driver-config=/unity-config/driver-config-params.yaml" - - "--driver-secret=/unity-secret/config" - env: - - name: CSI_ENDPOINT - value: unix:///var/lib/kubelet/plugins/unity.emc.dell.com/csi_sock - - name: X_CSI_MODE - value: node - - name: X_CSI_UNITY_AUTOPROBE - value: "true" - - name: X_CSI_UNITY_ALLOW_MULTI_POD_ACCESS - value: "false" - - name: X_CSI_PRIVATE_MOUNT_DIR - value: "/var/lib/kubelet/plugins/unity.emc.dell.com/disks" - - name: X_CSI_EPHEMERAL_STAGING_PATH - value: "/var/lib/kubelet/plugins/kubernetes.io/csi/pv/" - - name: X_CSI_ISCSI_CHROOT - value: "/noderoot" - - name: X_CSI_UNITY_NODENAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - - name: SSL_CERT_DIR - value: /certs - - name: X_CSI_UNITY_SYNC_NODEINFO_INTERVAL - value: "15" - - name: X_CSI_HEALTH_MONITOR_ENABLED - value: "" - - name: X_CSI_UNITY_SKIP_CERTIFICATE_VALIDATION - value: "true" - volumeMounts: - - name: driver-path - mountPath: /var/lib/kubelet/plugins/unity.emc.dell.com - - name: volumedevices-path - mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi - mountPropagation: "Bidirectional" - - name: pods-path - mountPath: /var/lib/kubelet/pods - mountPropagation: "Bidirectional" - - name: dev - mountPath: /dev - - name: noderoot - mountPath: /noderoot - - name: certs - mountPath: /certs - readOnly: true - - name: unity-config - mountPath: /unity-config - - name: unity-secret - mountPath: /unity-secret - - name: registrar - image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 - args: - - "--v=5" - - "--csi-address=$(ADDRESS)" - - --kubelet-registration-path=/var/lib/kubelet/plugins/unity.emc.dell.com/csi_sock - env: - - name: ADDRESS - value: /csi/csi_sock - - name: KUBE_NODE_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: spec.nodeName - volumeMounts: - - name: registration-dir - mountPath: /registration - - name: driver-path - mountPath: /csi - volumes: - - name: registration-dir - hostPath: - path: /var/lib/kubelet/plugins_registry/ - type: DirectoryOrCreate - - name: driver-path - hostPath: - path: /var/lib/kubelet/plugins/unity.emc.dell.com - type: DirectoryOrCreate - - name: volumedevices-path - hostPath: - path: /var/lib/kubelet/plugins/kubernetes.io/csi - type: DirectoryOrCreate - - name: pods-path - hostPath: - path: /var/lib/kubelet/pods - type: Directory - - name: dev - hostPath: - path: /dev - type: Directory - - name: noderoot - hostPath: - path: / - type: Directory - - name: certs - projected: - sources: - - secret: - name: -certs-0 - items: - - key: cert-0 - path: cert-0 - - name: unity-config - configMap: - name: -config-params - - name: unity-secret - secret: - secretName: -creds diff --git a/tests/config/driverconfig/unity/v2.10.0/upgrade-path.yaml b/tests/config/driverconfig/unity/v2.10.0/upgrade-path.yaml deleted file mode 100644 index a902cb64c..000000000 --- a/tests/config/driverconfig/unity/v2.10.0/upgrade-path.yaml +++ /dev/null @@ -1 +0,0 @@ -minUpgradePath: v2.8.0 diff --git a/tests/config/driverconfig/unity/v2.11.0/upgrade-path.yaml b/tests/config/driverconfig/unity/v2.11.0/upgrade-path.yaml index 529a9668d..9c02efc7d 100644 --- a/tests/config/driverconfig/unity/v2.11.0/upgrade-path.yaml +++ b/tests/config/driverconfig/unity/v2.11.0/upgrade-path.yaml @@ -1 +1 @@ -minUpgradePath: v2.9.0 +minUpgradePath: v2.9.1 diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index ef9c5fcd3..ed1b46a1a 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -117,7 +117,6 @@ var _ = BeforeSuite(func() { }) var _ = Describe("[run-e2e-test] E2E Testing", func() { - It("Running all test Given Test Scenarios", func() { if testApex { for _, test := range testResources { @@ -137,7 +136,6 @@ var _ = Describe("[run-e2e-test] E2E Testing", func() { By(fmt.Sprintf("Ending: %s\n", test.Scenario.Scenario)) time.Sleep(5 * time.Second) } - } else { for _, test := range testResources { By(fmt.Sprintf("Starting: %s ", test.Scenario.Scenario)) diff --git a/tests/e2e/steps/step_common.go b/tests/e2e/steps/step_common.go index 5c9829082..13278e8c1 100644 --- a/tests/e2e/steps/step_common.go +++ b/tests/e2e/steps/step_common.go @@ -93,7 +93,7 @@ func checkAllRunningPods(ctx context.Context, namespace string, k8sClient kubern } if !allReady { - return fmt.Errorf(notReadyMessage) + return fmt.Errorf("%s", notReadyMessage) } return nil } @@ -153,7 +153,7 @@ func checkObservabilityRunningPods(ctx context.Context, namespace string, k8sCli } if !allReady { - return fmt.Errorf(notReadyMessage) + return fmt.Errorf("%s", notReadyMessage) } return nil } @@ -337,7 +337,7 @@ func checkAuthorizationProxyServerPods(ctx context.Context, namespace string, k8 } if !allReady { - return fmt.Errorf(notReadyMessage) + return fmt.Errorf("%s", notReadyMessage) } return nil } diff --git a/tests/e2e/steps/steps_def.go b/tests/e2e/steps/steps_def.go index f453c66b5..5bf0e1321 100644 --- a/tests/e2e/steps/steps_def.go +++ b/tests/e2e/steps/steps_def.go @@ -1025,7 +1025,7 @@ func (step *Step) validateTestEnvironment(_ Resource) error { } if !allReady { - return fmt.Errorf(notReadyMessage) + return fmt.Errorf("%s", notReadyMessage) } return nil @@ -1668,7 +1668,7 @@ func (step *Step) validateClientTestEnvironment(_ Resource) error { } if !allReady { - return fmt.Errorf(notReadyMessage) + return fmt.Errorf("%s", notReadyMessage) } return nil @@ -1780,7 +1780,6 @@ func (step *Step) uninstallConnectivityClient(res Resource, crNumStr string) err } func (step *Step) uninstallConnectivityClientSecret(res Resource, secret string) error { - crBuff, err := os.ReadFile(secret) if err != nil { return fmt.Errorf("failed to read secret testdata: %v", err) diff --git a/tests/e2e/testfiles/storage_csm_powerflex_downgrade.yaml b/tests/e2e/testfiles/storage_csm_powerflex_downgrade.yaml index 050b3c013..359d5565b 100644 --- a/tests/e2e/testfiles/storage_csm_powerflex_downgrade.yaml +++ b/tests/e2e/testfiles/storage_csm_powerflex_downgrade.yaml @@ -16,13 +16,13 @@ spec: # true: enable storage capacity tracking # false: disable storage capacity tracking storageCapacity: true - configVersion: v2.9.0 + configVersion: v2.9.2 replicas: 1 dnsPolicy: ClusterFirstWithHostNet forceUpdate: false forceRemoveDriver: true common: - image: "dellemc/csi-vxflexos:v2.9.0" + image: "dellemc/csi-vxflexos:v2.9.2" imagePullPolicy: IfNotPresent envs: - name: X_CSI_VXFLEXOS_ENABLELISTVOLUMESNAPSHOT diff --git a/tests/shared/clientgoclient/fakeDaemonset.go b/tests/shared/clientgoclient/fakeDaemonset.go index 88454c941..12964ea68 100644 --- a/tests/shared/clientgoclient/fakeDaemonset.go +++ b/tests/shared/clientgoclient/fakeDaemonset.go @@ -40,7 +40,7 @@ func (c *FakeDaemonSets) Apply(ctx context.Context, daemonSet *applyconfiguratio return result, err } - err = json.Unmarshal(data, result) + _ = json.Unmarshal(data, result) _, err = c.Get(ctx, *daemonSet.Name, v1.GetOptions{}) if errors.IsNotFound(err) { diff --git a/tests/shared/clientgoclient/fakeDeployment.go b/tests/shared/clientgoclient/fakeDeployment.go index 372e320cb..4c6807156 100644 --- a/tests/shared/clientgoclient/fakeDeployment.go +++ b/tests/shared/clientgoclient/fakeDeployment.go @@ -43,7 +43,7 @@ func (c *FakeDeployments) Apply(ctx context.Context, deployment *applyconfigurat return result, err } - err = json.Unmarshal(data, result) + _ = json.Unmarshal(data, result) _, err = c.Get(ctx, *deployment.Name, v1.GetOptions{}) if errors.IsNotFound(err) { diff --git a/tests/shared/clientgoclient/fakeStatefulset.go b/tests/shared/clientgoclient/fakeStatefulset.go index 3fe93c49f..c92f9d500 100644 --- a/tests/shared/clientgoclient/fakeStatefulset.go +++ b/tests/shared/clientgoclient/fakeStatefulset.go @@ -43,7 +43,7 @@ func (c *FakeStatefulsets) Apply(ctx context.Context, statefulset *applyconfigur return result, err } - err = json.Unmarshal(data, result) + _ = json.Unmarshal(data, result) _, err = c.Get(ctx, *statefulset.Name, v1.GetOptions{}) if errors.IsNotFound(err) { diff --git a/tests/shared/common.go b/tests/shared/common.go index 2142efd89..d388242f8 100644 --- a/tests/shared/common.go +++ b/tests/shared/common.go @@ -30,9 +30,9 @@ const ( PFlexConfigVersion string = "v2.11.0" DowngradeConfigVersion string = "v2.10.1" ConfigVersion string = "v2.10.1" - UpgradeConfigVersion string = "v2.9.0" + UpgradeConfigVersion string = "v2.9.1" JumpUpgradeConfigVersion string = "v2.11.0" - JumpDowngradeConfigVersion string = "v2.10.0" + JumpDowngradeConfigVersion string = "v2.10.1" OldConfigVersion string = "v2.2.0" BadConfigVersion string = "v0" PStoreConfigVersion string = "v2.11.0"