From 622b8a36f4458c4f4bdf5617a2d37b4ff9285834 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Thu, 20 Mar 2025 11:27:32 +0000 Subject: [PATCH] Move to the storage node when wanted Signed-off-by: Martyn Ranyard --- everything-app/samba-fast.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/everything-app/samba-fast.yaml b/everything-app/samba-fast.yaml index ecd4c7e..85c7e4b 100644 --- a/everything-app/samba-fast.yaml +++ b/everything-app/samba-fast.yaml @@ -19,7 +19,21 @@ spec: value: local-path-fast - name: persistance.pvc.size value: 3Ti - values: "samba:\n users: \n - username: martyn\n password: \"564628\"" + valuesObject: + samba: + users: + - username: martyn + password: "564628" + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 1 + preference: + matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - talos-llu-kx3 path: apps-helm/samba4 repoURL: https://git.martyn.berlin/martyn/infra4talos.git targetRevision: HEAD