Merge pull request #6343 from leseb/fix-6329
ceph: only support one external cluster secret
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user