Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 11s
All checks were successful
Build docker container / Build image (push) Successful in 11s
This commit is contained in:
parent
8088809370
commit
9593baa152
@ -48,14 +48,13 @@ if [[ -z "$KUBECONFIG_DATA" ]]; then
|
|||||||
# echo "# Installing ~/.kube/config"
|
# echo "# Installing ~/.kube/config"
|
||||||
mkdir -p /home/notroot/.kube
|
mkdir -p /home/notroot/.kube
|
||||||
echo "$KUBECONFIG_DATA" > /home/notroot/.kube/config
|
echo "$KUBECONFIG_DATA" > /home/notroot/.kube/config
|
||||||
ls "/home/notroot/.kube"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if the action environment variable is set to 'print'
|
# Check if the action environment variable is set to 'print'
|
||||||
if [[ "$action" == "print" ]]; then
|
if [[ "$action" == "print" ]]; then
|
||||||
createHelmYaml
|
createHelmYaml
|
||||||
elif [[ -z "$KUBECONFIG_DATA" ]]; then
|
elif [[ -z "$KUBECONFIG_DATA" ]]; then
|
||||||
wc -l ~/.kube/config
|
wc -l /home/notroot/.kube/config
|
||||||
kubectl version --client=true
|
kubectl version --client=true
|
||||||
else
|
else
|
||||||
kubectl version --client=true
|
kubectl version --client=true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user