diff --git a/build/bashrc b/build/bashrc index f192381..8edc346 100644 --- a/build/bashrc +++ b/build/bashrc @@ -8,9 +8,14 @@ alias ls="ls --color" alias ll="ls -l" find /home/project -name .profile -exec source {} \; 2>/dev/null -export DOCKER_HOST=tcp://localhost:2376 -export DOCKER_TLS_VERIFY=1 -export DOCKER_CERT_PATH=/home/project/.tls/client +# Defaults to the TLS-secured dind sidecar on :2376. Deployments using a +# different docker/podman endpoint (e.g. a plain unix socket) can set +# WEBSHELL_DOCKER_HOST to override it. +export DOCKER_HOST="${WEBSHELL_DOCKER_HOST:-tcp://localhost:2376}" +if [ -z "$WEBSHELL_DOCKER_HOST" ]; then + export DOCKER_TLS_VERIFY=1 + export DOCKER_CERT_PATH=/home/project/.tls/client +fi alias k=kubectl complete -o default -F __start_kubectl k diff --git a/deploy/charts/webshell/Chart.yaml b/deploy/charts/webshell/Chart.yaml index 6aca801..676d5d9 100644 --- a/deploy/charts/webshell/Chart.yaml +++ b/deploy/charts/webshell/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: webshell description: A Helm chart to deploy a webshell environment type: application -version: 0.5.30 -appVersion: "0.5.30" +version: 0.5.31 +appVersion: "0.5.31"