We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97c8d51 commit b703b78Copy full SHA for b703b78
tests/e2e-openshift/export-to-cluster-logging-lokistack/chainsaw-test.yaml
@@ -20,6 +20,16 @@ spec:
20
file: install-minio-assert.yaml
21
- name: Create the LokiStack instance
22
try:
23
+ - command:
24
+ entrypoint: oc
25
+ args:
26
+ - get
27
+ - storageclass
28
+ - -o
29
+ - jsonpath={.items[0].metadata.name}
30
+ outputs:
31
+ - name: STORAGE_CLASS_NAME
32
+ value: ($stdout)
33
- apply:
34
file: install-loki.yaml
35
- assert:
tests/e2e-openshift/export-to-cluster-logging-lokistack/install-loki.yaml
@@ -12,6 +12,6 @@ spec:
12
secret:
13
name: logging-loki-s3
14
type: s3
15
- storageClassName: gp2-csi
+ storageClassName: ($STORAGE_CLASS_NAME)
16
tenants:
17
mode: openshift-logging
0 commit comments