-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E2E for CSI-PowerMax driver with minimal CR (#749)
* feature/pmax-minimal-sample-e2e * indentation fix * yamllint fixes * quay.io updates and some cleanup * yamllint fixes * add replica count * add csipowermax-reverseproxy * yamllint fixes * added replication scenarios for powermax --------- Co-authored-by: Harish P <[email protected]>
- Loading branch information
1 parent
37d9dd4
commit a1b2008
Showing
7 changed files
with
447 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
tests/e2e/testfiles/minimal-testfiles/storage_csm_powermax.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
apiVersion: storage.dell.com/v1 | ||
kind: ContainerStorageModule | ||
metadata: | ||
name: powermax | ||
namespace: powermax | ||
spec: | ||
driver: | ||
csiDriverType: "powermax" | ||
configVersion: v2.12.0 | ||
replicas: 1 | ||
common: | ||
image: "quay.io/dell/container-storage-modules/csi-powermax:nightly" | ||
forceRemoveDriver: true | ||
modules: | ||
- name: authorization | ||
enabled: false | ||
configVersion: v1.11.0 | ||
components: | ||
- name: karavi-authorization-proxy | ||
image: quay.io/dell/container-storage-modules/csm-authorization-sidecar:nightly | ||
envs: | ||
- name: "PROXY_HOST" | ||
value: "authorization-ingress-nginx-controller.authorization.svc.cluster.local" | ||
- name: "SKIP_CERTIFICATE_VALIDATION" | ||
value: "true" | ||
- name: resiliency | ||
enabled: false | ||
components: | ||
- name: podmon-controller | ||
image: quay.io/dell/container-storage-modules/podmon:nightly | ||
- name: podmon-node | ||
image: quay.io/dell/container-storage-modules/podmon:nightly | ||
- name: replication | ||
enabled: false | ||
components: | ||
- name: dell-csi-replicator | ||
image: quay.io/dell/container-storage-modules/dell-csi-replicator:nightly | ||
- name: dell-replication-controller-manager | ||
image: quay.io/dell/container-storage-modules/dell-replication-controller:nightly | ||
- name: dell-replication-controller-init | ||
image: dellemc/dell-replication-init:v1.0.0 | ||
- name: observability | ||
enabled: false | ||
components: | ||
- name: topology | ||
enabled: true | ||
image: quay.io/dell/container-storage-modules/csm-topology:nightly | ||
- name: otel-collector | ||
enabled: true | ||
image: otel/opentelemetry-collector:0.42.0 | ||
- name: cert-manager | ||
enabled: false | ||
- name: metrics-powermax | ||
enabled: true | ||
image: quay.io/dell/container-storage-modules/csm-metrics-powermax:nightly | ||
- name: csireverseproxy | ||
enabled: true | ||
forceRemoveModule: true | ||
configVersion: v2.11.0 | ||
components: | ||
- name: csipowermax-reverseproxy | ||
image: quay.io/dell/container-storage-modules/csipowermax-reverseproxy:nightly | ||
envs: | ||
- name: X_CSI_REVPROXY_TLS_SECRET | ||
value: "csirevproxy-tls-secret" | ||
- name: X_CSI_REVPROXY_PORT | ||
value: "2222" | ||
- name: X_CSI_CONFIG_MAP_NAME | ||
value: "powermax-reverseproxy-config" |
38 changes: 38 additions & 0 deletions
38
tests/e2e/testfiles/minimal-testfiles/storage_csm_powermax_authorization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
apiVersion: storage.dell.com/v1 | ||
kind: ContainerStorageModule | ||
metadata: | ||
name: powermax | ||
namespace: powermax | ||
spec: | ||
driver: | ||
csiDriverType: "powermax" | ||
configVersion: v2.12.0 | ||
common: | ||
image: "quay.io/dell/container-storage-modules/csi-powermax:nightly" | ||
forceRemoveDriver: true | ||
modules: | ||
- name: authorization | ||
enabled: true | ||
configVersion: v1.11.0 | ||
components: | ||
- name: karavi-authorization-proxy | ||
image: quay.io/dell/container-storage-modules/csm-authorization-sidecar:nightly | ||
envs: | ||
- name: "PROXY_HOST" | ||
value: "authorization-ingress-nginx-controller.authorization.svc.cluster.local" | ||
- name: "SKIP_CERTIFICATE_VALIDATION" | ||
value: "true" | ||
- name: csireverseproxy | ||
enabled: true | ||
forceRemoveModule: true | ||
configVersion: v2.11.0 | ||
components: | ||
- name: csipowermax-reverseproxy | ||
image: quay.io/dell/container-storage-modules/csipowermax-reverseproxy:nightly | ||
envs: | ||
- name: X_CSI_REVPROXY_TLS_SECRET | ||
value: "csirevproxy-tls-secret" | ||
- name: X_CSI_REVPROXY_PORT | ||
value: "2222" | ||
- name: X_CSI_CONFIG_MAP_NAME | ||
value: "powermax-reverseproxy-config" |
41 changes: 41 additions & 0 deletions
41
tests/e2e/testfiles/minimal-testfiles/storage_csm_powermax_observability.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
apiVersion: storage.dell.com/v1 | ||
kind: ContainerStorageModule | ||
metadata: | ||
name: powermax | ||
namespace: powermax | ||
spec: | ||
driver: | ||
csiDriverType: "powermax" | ||
configVersion: v2.12.0 | ||
common: | ||
image: "quay.io/dell/container-storage-modules/csi-powermax:nightly" | ||
forceRemoveDriver: true | ||
modules: | ||
- name: observability | ||
enabled: true | ||
components: | ||
- name: topology | ||
enabled: true | ||
image: quay.io/dell/container-storage-modules/csm-topology:nightly | ||
- name: otel-collector | ||
enabled: true | ||
image: otel/opentelemetry-collector:0.42.0 | ||
- name: cert-manager | ||
enabled: false | ||
- name: metrics-powermax | ||
enabled: true | ||
image: quay.io/dell/container-storage-modules/csm-metrics-powermax:nightly | ||
- name: csireverseproxy | ||
enabled: true | ||
forceRemoveModule: true | ||
configVersion: v2.11.0 | ||
components: | ||
- name: csipowermax-reverseproxy | ||
image: quay.io/dell/container-storage-modules/csipowermax-reverseproxy:nightly | ||
envs: | ||
- name: X_CSI_REVPROXY_TLS_SECRET | ||
value: "csirevproxy-tls-secret" | ||
- name: X_CSI_REVPROXY_PORT | ||
value: "2222" | ||
- name: X_CSI_CONFIG_MAP_NAME | ||
value: "powermax-reverseproxy-config" |
26 changes: 26 additions & 0 deletions
26
tests/e2e/testfiles/minimal-testfiles/storage_csm_powermax_replica.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: storage.dell.com/v1 | ||
kind: ContainerStorageModule | ||
metadata: | ||
name: powermax | ||
namespace: powermax | ||
spec: | ||
driver: | ||
csiDriverType: "powermax" | ||
configVersion: v2.12.0 | ||
# common: | ||
# image: "quay.io/dell/container-storage-modules/csi-powermax:nightly" | ||
forceRemoveDriver: true | ||
modules: | ||
- name: replication | ||
enabled: true | ||
# configVersion: v1.10.0 | ||
# components: | ||
# - name: dell-csi-replicator | ||
# image: quay.io/dell/container-storage-modules/dell-csi-replicator:nightly | ||
# - name: dell-replication-controller-manager | ||
# image: quay.io/dell/container-storage-modules/dell-replication-controller:nightly | ||
# envs: | ||
# - name: "TARGET_CLUSTERS_IDS" | ||
# value: "self" | ||
# - name: dell-replication-controller-init | ||
# image: dellemc/dell-replication-init:v1.0.0 |
Oops, something went wrong.