We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d63ca commit 8dad496Copy full SHA for 8dad496
common/cluster_services/kubectl_apply.sh
@@ -2,7 +2,11 @@
2
3
set -e
4
5
-echo "${KUBECONFIG_DATA}" | base64 -d > $KUBECONFIG
+if [ "$(uname -s)" == "Darwin" ]; then
6
+ echo "${KUBECONFIG_DATA}" | base64 -D > $KUBECONFIG
7
+elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
8
+ echo "${KUBECONFIG_DATA}" | base64 -d > $KUBECONFIG
9
+fi
10
11
if [ -s $1 ]
12
then
0 commit comments