diff --git a/.github/workflows/scripts/istio_deploy.sh b/.github/workflows/scripts/istio_deploy.sh index 116774a..dd08306 100644 --- a/.github/workflows/scripts/istio_deploy.sh +++ b/.github/workflows/scripts/istio_deploy.sh @@ -9,6 +9,8 @@ export SERVICE_MESH='ISTIO' # Check if mesheryctl is present, else install it if ! [ -x "$(command -v mesheryctl)" ]; then + kubectl config view --minify --flatten > ~/minified_config + mv ~/minified_config ~/.kube/config echo 'mesheryctl is not installed. Installing mesheryctl client... Standby... (Starting Meshery as well...)' >&2 curl -L https://meshery.io/install | ADAPTERS=istio PLATFORM=kubernetes bash - fi diff --git a/.github/workflows/scripts/linkerd_deploy.sh b/.github/workflows/scripts/linkerd_deploy.sh index f8ecd89..47a8a3a 100644 --- a/.github/workflows/scripts/linkerd_deploy.sh +++ b/.github/workflows/scripts/linkerd_deploy.sh @@ -10,6 +10,8 @@ export SERVICE_MESH='LINKERD' # Check if mesheryctl is present, else install it if ! [ -x "$(command -v mesheryctl)" ]; then + kubectl config view --minify --flatten > ~/minified_config + mv ~/minified_config ~/.kube/config echo 'mesheryctl is not installed. Installing mesheryctl client... Standby... (Starting Meshery as well...)' >&2 curl -L https://meshery.io/install | ADAPTERS=linkerd PLATFORM=kubernetes bash - fi diff --git a/.github/workflows/scripts/osm_deploy.sh b/.github/workflows/scripts/osm_deploy.sh index 5ee8d21..e9e0bcf 100755 --- a/.github/workflows/scripts/osm_deploy.sh +++ b/.github/workflows/scripts/osm_deploy.sh @@ -10,6 +10,8 @@ export SERVICE_MESH='OPEN_SERVICE_MESH' # Check if mesheryctl is present, else install it if ! [ -x "$(command -v mesheryctl)" ]; then + kubectl config view --minify --flatten > ~/minified_config + mv ~/minified_config ~/.kube/config echo 'mesheryctl is not installed. Installing mesheryctl client... Standby... (Starting Meshery as well...)' >&2 curl -L https://meshery.io/install | ADAPTERS=osm PLATFORM=kubernetes bash - fi