Skip to content

Commit

Permalink
Update export-to-cluster-logging-lokistack to detect storageclass (op…
Browse files Browse the repository at this point in the history
  • Loading branch information
IshwarKanse authored Oct 16, 2024
1 parent 97c8d51 commit b703b78
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ spec:
file: install-minio-assert.yaml
- name: Create the LokiStack instance
try:
- command:
entrypoint: oc
args:
- get
- storageclass
- -o
- jsonpath={.items[0].metadata.name}
outputs:
- name: STORAGE_CLASS_NAME
value: ($stdout)
- apply:
file: install-loki.yaml
- assert:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ spec:
secret:
name: logging-loki-s3
type: s3
storageClassName: gp2-csi
storageClassName: ($STORAGE_CLASS_NAME)
tenants:
mode: openshift-logging

0 comments on commit b703b78

Please sign in to comment.