The operator auto detect the storage class using this jsonpath {.items[?(@.metadata.annotations.storageclass\.kubernetes\.io\/is-default-class)].metadata.name}
but this could bring to unpredictable result when more than one storage class is available and patches have been applied to update the default ones.
The operator auto detect the storage class using this jsonpath
{.items[?(@.metadata.annotations.storageclass\.kubernetes\.io\/is-default-class)].metadata.name}
but this could bring to unpredictable result when more than one storage class is available and patches have been applied to update the default ones.
The above jsonpath should be updated to
{.items[?(@.metadata.annotations.storageclass\.kubernetes\.io\/is-default-class=='true')].metadata.name}