[FLINK-36545] Fix uid/gid mixup when generating the OLM bundle
The docker container was being run with the uid/gid arguments switched about.
diff --git a/tools/olm/generate-olm-bundle.sh b/tools/olm/generate-olm-bundle.sh
index e632804..3ed2562 100755
--- a/tools/olm/generate-olm-bundle.sh
+++ b/tools/olm/generate-olm-bundle.sh
@@ -39,8 +39,8 @@
# Generate bundle in a docker container
generate_olm_bundle() {
- uid="$(id -g ${USER})"
- gid="$(id -u ${USER})"
+ uid="$(id -u ${USER})"
+ gid="$(id -g ${USER})"
cp -r ../../helm ./
docker build -t "${OLMTOOL_IMG}" -f utils.Dockerfile ${BASEDIR}
docker run --user="${uid}:${gid}" -v ${BASEDIR}:/olm "${OLMTOOL_IMG}"