forked from rook/rook
Currently if we run external-script and user already exit, it fails to create/run same user again if the caps are upgraded, so we need to check first if user is already present. And for upgrading user we can do upgrade after this PR: https://github.com/rook/rook/pull/9609 will get merged. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2048458 Signed-off-by: parth-gr <paarora@redhat.com>