2 Commits 68ed32da31 ... b87935ffda

Autor SHA1 Mensaje Fecha
  Oleg Pykhalov b87935ffda apps: base: workstation: daemonset: Delete restartPolicy. hace 3 semanas
  Oleg Pykhalov 61a1c2f4ec run-guix-workstation: Do not delete pod. hace 3 semanas
Se han modificado 2 ficheros con 0 adiciones y 27 borrados
  1. 0 1
      apps/base/workstation/daemonset.yaml
  2. 0 26
      run-guix-workstation.sh

+ 0 - 1
apps/base/workstation/daemonset.yaml

@@ -13,7 +13,6 @@ spec:
         app.kubernetes.io/name: workstation
         app.kubernetes.io/part-of: workstation
     spec:
-      restartPolicy: Never
       automountServiceAccountToken: false
       terminationGracePeriodSeconds: 600
       initContainers:

+ 0 - 26
run-guix-workstation.sh

@@ -2,32 +2,6 @@
 
 set -o nounset -o errexit -o pipefail
 
-if kubectl -n workstation delete --wait=false pod/workstation
-then
-    :
-fi
-
-check()
-{
-    if ssh 192.168.0.192 sudo nerdctl -n k8s.io ps | grep --quiet workstation
-    then
-        return 1
-    else
-        if kubectl -n workstation delete --force pod/workstation
-        then
-            :
-        fi
-    fi
-}
-
-until check
-do
-    sleep 2
-done
-
-cd /home/oleg/.local/share/chezmoi/apps/cluster1/workstation || exit 1
-flux reconcile kustomization workstation
-
 ssh 192.168.0.192 <<'EOF'
 PATH="/home/oleg/.guix-profile/bin:/gnu/store/3q2x34wg1fff833wwzxnagnv7vbfxb0w-jc-1.25.2/bin:$PATH"
 export PATH