diff --git a/automateKrsHealth.sh b/automateKrsHealth.sh index 15c1285..fd431b2 100644 --- a/automateKrsHealth.sh +++ b/automateKrsHealth.sh @@ -1,12 +1,12 @@ #!/bin/bash # Store the container ID in a variable and execute the 'krs health' command -containerID=$(docker ps -q --filter ancestor=kubetoolsca/krs-docker-extension:0.0.1 | head -n 1) +containerID=$(docker ps -q --filter ancestor=kubetoolsca/krs-docker-extension:0.0.3 | head -n 1) if [ -n "$containerID" ]; then while true; do docker exec -it $containerID krs health echo "ttyd is running, visit http://localhost:57681/ to interact with krs health." done else - echo "No running container found for kubetoolsca/krs-docker-extension:0.0.1" + echo "No running container found for kubetoolsca/krs-docker-extension:0.0.3" fi \ No newline at end of file diff --git a/client/src/helper/krs-helpers.tsx b/client/src/helper/krs-helpers.tsx index 4f6873f..fbcf5db 100644 --- a/client/src/helper/krs-helpers.tsx +++ b/client/src/helper/krs-helpers.tsx @@ -96,7 +96,7 @@ export const startKrsContainer = async (ddClient: v1.DockerDesktopClient) => { `${ contextConfigPath == '' ? '~/.minikube' : contextConfigPath }:/root/.minikube`, - 'kubetoolsca/krs-docker-extension:0.0.1', // Docker image to run + 'kubetoolsca/krs-docker-extension:0.0.3', // Docker image to run 'sleep', 'infinity', ]); @@ -111,7 +111,7 @@ export const startKrsContainer = async (ddClient: v1.DockerDesktopClient) => { `${ contextConfigPath == '' ? '~/.aws' : contextConfigPath }:/root/.aws`, - 'kubetoolsca/krs-docker-extension:0.0.1', // Docker image to run + 'kubetoolsca/krs-docker-extension:0.0.3', // Docker image to run 'sleep', 'infinity', ]); @@ -123,7 +123,7 @@ export const startKrsContainer = async (ddClient: v1.DockerDesktopClient) => { 'host', // Add the --network host option '-v', // Volume flag `${kubeConfigPath}:/root/.kube/config`, // Mount the local ~/.kube/config to the container's /root/.kube/config - 'kubetoolsca/krs-docker-extension:0.0.1', // Docker image to run + 'kubetoolsca/krs-docker-extension:0.0.3', // Docker image to run 'sleep', 'infinity', ]); diff --git a/docker-compose.yml b/docker-compose.yml index 8049830..6f3dfc8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: krs-extension: - image: kubetoolsca/krs-docker-extension:0.0.2 + image: kubetoolsca/krs-docker-extension:0.0.3 hostname: krs-extension ports: - 4999:3986