Merge pull request #6343 from leseb/fix-6329

ceph: only support one external cluster secret
This commit is contained in:
Travis Nielsen authored and GitHub committed 2020-09-29 08:23:26 -06:00
commit e2cf76a15e
1 file changed
+4
@@ -65,6 +65,10 @@ function checkEnvVars() {
exit 1
fi
fi
if [[ "$ROOK_EXTERNAL_ADMIN_SECRET" != "admin-secret" ]] && [ -n "$ROOK_EXTERNAL_USER_SECRET" ] ; then
echo "Providing both ROOK_EXTERNAL_ADMIN_SECRET and ROOK_EXTERNAL_USER_SECRET is not supported, choose one only."
exit 1
fi
}
function importSecret() {