From d76caf2b5a9763081f1bbe4f3a7491068be76025 Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Wed, 22 Jul 2026 12:02:44 -0700 Subject: [PATCH] fix(longhorn): add spec.name field to talos-cp-2/cp-3 Node CRDs Root cause: Longhorn refuses to schedule replicas on nodes without spec.name field. talos-cp-1 was auto-discovered (has spec.name), but cp-2/cp-3 were manually created CRDs without it. Error: 'no node name provided to check node down or deleted' Fix: Add spec.name matching metadata.name for both nodes. --- k8s/infrastructure/longhorn/longhorn-nodes.yaml | 2 ++ k8s/security/ci-cd/forgejo-values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/k8s/infrastructure/longhorn/longhorn-nodes.yaml b/k8s/infrastructure/longhorn/longhorn-nodes.yaml index 187f730..5d6e5b2 100644 --- a/k8s/infrastructure/longhorn/longhorn-nodes.yaml +++ b/k8s/infrastructure/longhorn/longhorn-nodes.yaml @@ -8,6 +8,7 @@ metadata: name: talos-cp-2 namespace: longhorn-system spec: + name: talos-cp-2 allowScheduling: true disks: default-disk: @@ -23,6 +24,7 @@ metadata: name: talos-cp-3 namespace: longhorn-system spec: + name: talos-cp-3 allowScheduling: true disks: default-disk: diff --git a/k8s/security/ci-cd/forgejo-values.yaml b/k8s/security/ci-cd/forgejo-values.yaml index 4b7bfcd..63ebb13 100644 --- a/k8s/security/ci-cd/forgejo-values.yaml +++ b/k8s/security/ci-cd/forgejo-values.yaml @@ -38,6 +38,8 @@ gitea: USER: app repository: ROOT: /data/git + ENABLE_PUSH_CREATE_USER: true + ENABLE_PUSH_CREATE_ORG: true actions: ENABLED: true packages: