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 c25216e commit b8bb883Copy full SHA for b8bb883
Dockerfile
@@ -2,4 +2,4 @@ FROM dtzar/helm-kubectl:3.2.0
2
3
COPY run.sh .
4
5
-ENTRYPOINT [ "/run.sh" ]
+ENTRYPOINT [ "sh", "-c","./run.sh" ]
run.sh
@@ -1,5 +1,7 @@
1
#!/bin/sh -eu
+: "${KUBE_CONFIG_DATA?Must be specified}"
+
# Extract the base64 encoded config data and write this to the KUBECONFIG
6
echo "$KUBE_CONFIG_DATA" | base64 --decode > /tmp/config
7
0 commit comments