Skip to content

Commit cd60868

Browse files
committed
improve error message
1 parent 37ebe2f commit cd60868

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/jobs.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,11 @@ spec:
542542
543543
function __handle_error__(){
544544
cat <<- 'FAIL'
545-
ERROR: The volumes defined in st2.packs.volumes must use ReadWriteMany (RWX) access mode
545+
ERROR: One or more volumes in st2.packs.volumes (from helm values) does not meet
546+
StackStorm's shared volumes requirements!
547+
see: https://github.com/StackStorm/stackstorm-k8s#method-2-shared-volumes
548+
549+
HINT: The volumes defined in st2.packs.volumes must use ReadWriteMany (RWX) access mode
546550
so StackStorm can dynamically install packs from any of the st2actionrunner pods
547551
and have those file changes available in all of the other StackStorm pods.
548552
see: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes

0 commit comments

Comments
 (0)