fix(storage): add longhorn-wffc SC + pin portainer/forgejo-runner to az-a — fixes PVC attach

This commit is contained in:
Story Crater Bot
2026-08-18 15:08:02 -07:00
parent cda75eeb7b
commit 384548b424
5 changed files with 51 additions and 5 deletions
@@ -19,6 +19,10 @@ spec:
spec:
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
- name: register
@@ -30,13 +30,18 @@ dind:
persistence:
reg:
storageClass: longhorn
storageClass: longhorn-wffc
size: 1Gi # .runner registration file + config — survives pod restarts
dind:
storageClass: longhorn
storageClass: longhorn-wffc
size: 30Gi # docker layer cache — keeps rebuilds fast across restarts
tolerations:
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
# Pin to az-a (talos-cp-1) — sole Longhorn node; RWO PVCs (reg/dind cache) only
# attach there.
nodeSelector:
topology.kubernetes.io/zone: az-a