Files
kubectl/entrypoint.sh
T

10 lines
200 B
Bash
Executable File

#!/bin/sh
set -e
# Extract the base64 encoded config data and write this to the KUBECONFIG
echo "$KUBE_CONFIG_DATA" | base64 --decode > /tmp/config
export KUBECONFIG=/tmp/config
sh -c "kubectl $*"