From 7a84c8a92044b344ed8d8f9441c07b9334d8e78c Mon Sep 17 00:00:00 2001
From: Maksim Paskal <paskal.maksim@gmail.com>
Date: Tue, 10 Sep 2024 08:02:10 +0100
Subject: [PATCH] fix statefullset yaml

Signed-off-by: Maksim Paskal <paskal.maksim@gmail.com>
---
 scripts/chart/templates/nfs-server.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/chart/templates/nfs-server.yaml b/scripts/chart/templates/nfs-server.yaml
index 474aba9..abcec0a 100644
--- a/scripts/chart/templates/nfs-server.yaml
+++ b/scripts/chart/templates/nfs-server.yaml
@@ -35,7 +35,6 @@ spec:
         app: nfs-server
     spec:
       priorityClassName: system-cluster-critical
-      containers:
 {{ if .Values.deployments.nfs.server.affinity }}
       affinity:
 {{ toYaml .Values.deployments.nfs.server.affinity | indent 8 }}
@@ -48,6 +47,7 @@ spec:
       tolerations:
 {{ toYaml .Values.deployments.nfs.server.tolerations | indent 6 }}
 {{ end }}
+      containers:
       - name: nfs-server
         # git clone git@github.com:sjiveson/nfs-server-alpine.git
         # cd nfs-server-alpine