diff --git a/createHelmYaml.sh b/createHelmYaml.sh index 0761cf6..634e09f 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -73,6 +73,7 @@ echo "# Action: $action" if [[ -n "$KUBECONFIG_DATA" ]]; then mkdir -p /root/.kube echo "$KUBECONFIG_DATA" > /root/.kube/config + chmod 600 /root/.kube/config fi # Check if the action environment variable is set to 'print'