From 97a9c6b0141e05d9d705b0ed9113ffa71106081d Mon Sep 17 00:00:00 2001 From: cgruver Date: Fri, 20 Sep 2024 16:24:38 +0000 Subject: [PATCH] fix uid/gid for helm and kustomize --- modules/openshift-tools/helm.sh | 1 + modules/openshift-tools/kustomize.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/openshift-tools/helm.sh b/modules/openshift-tools/helm.sh index 6debe37..c123edc 100644 --- a/modules/openshift-tools/helm.sh +++ b/modules/openshift-tools/helm.sh @@ -4,5 +4,6 @@ arch=linux-amd64 curl -sLO "https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/helm/${version}/helm-${arch}.tar.gz" tar xzf ./helm-${arch}.tar.gz mv ./helm-${arch} /usr/bin/helm +chown root:root /usr/bin/helm helm version echo "😎😎😎😎😎" \ No newline at end of file diff --git a/modules/openshift-tools/kustomize.sh b/modules/openshift-tools/kustomize.sh index d0287cb..6446010 100644 --- a/modules/openshift-tools/kustomize.sh +++ b/modules/openshift-tools/kustomize.sh @@ -4,5 +4,6 @@ arch=linux_amd64 curl -sLO "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${version}/kustomize_${version}_${arch}.tar.gz" tar xzf ./kustomize_${version}_${arch}.tar.gz mv ./kustomize /usr/bin/ +chown root:root /usr/bin/kustomize kustomize version echo "😎😎😎😎😎" \ No newline at end of file