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"
|
||||
mkdir -p /home/notroot/.kube
|
||||
echo "$KUBECONFIG_DATA" > /home/notroot/.kube/config
|
||||
ls "/home/notroot/.kube"
|
||||
fi
|
||||
|
||||
# Check if the action environment variable is set to 'print'
|
||||
if [[ "$action" == "print" ]]; then
|
||||
createHelmYaml
|
||||
elif [[ -z "$KUBECONFIG_DATA" ]]; then
|
||||
wc -l ~/.kube/config
|
||||
wc -l /home/notroot/.kube/config
|
||||
kubectl version --client=true
|
||||
else
|
||||
kubectl version --client=true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user