[backport-1.3]: External secret error when running `apply.sh` on management cluster

Issue #1724 (closed) needs to be backported to 1.3.x