devzone 0.34.2 → 0.34.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,8 +111,9 @@ agent_lancer() {
111
111
  offset="$(wc -c <"$journal")"
112
112
  local agent_kube="$etat/kubeconfig"
113
113
  if [ -f "$HOME/.kube/config" ]; then
114
- cp "$HOME/.kube/config" "$agent_kube"
115
- KUBECONFIG="$agent_kube" kubectl config use-context devzone >/dev/null 2>&1 || true
114
+ (umask 077; KUBECONFIG="$HOME/.kube/config" kubectl config view --minify --flatten --context devzone >"$agent_kube") 2>/dev/null || : >"$agent_kube"
115
+ chmod 600 "$agent_kube"
116
+ [ -s "$agent_kube" ] || echo "=== kubernetes : aucun contexte devzone, session sans accès" >>"$journal"
116
117
  else
117
118
  : >"$agent_kube"
118
119
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devzone",
3
- "version": "0.34.2",
3
+ "version": "0.34.3",
4
4
  "description": "Ton poste de développement Linux, prêt en une commande, identique sur Mac, Windows et Linux.",
5
5
  "license": "GPL-3.0-only",
6
6
  "repository": {