From 518fd38a0b57c2d2b5815684dbb9411a318e5d76 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Wed, 1 Nov 2023 19:57:28 -0400 Subject: [PATCH] Fix syntax --- node-red/node-red-deployment.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/node-red/node-red-deployment.yaml b/node-red/node-red-deployment.yaml index 3f983df..aca8b0f 100644 --- a/node-red/node-red-deployment.yaml +++ b/node-red/node-red-deployment.yaml @@ -5,6 +5,8 @@ metadata: namespace: node-red-ns spec: replicas: 1 + securityContext: + fsGroup: 1000 selector: matchLabels: app: node-red @@ -12,19 +14,17 @@ spec: metadata: labels: app: node-red - securityContext: - fsGroup: 1000 - spec: - containers: - - name: freshrss - image: nodered/node-red - ports: - - containerPort: 1880 - volumeMounts: - - name: node-red-data - mountPath: /data - volumes: - - name: node-red-data - persistentVolumeClaim: - claimName: node-red-pvc + spec: + containers: + - name: freshrss + image: nodered/node-red + ports: + - containerPort: 1880 + volumeMounts: + - name: node-red-data + mountPath: /data + volumes: + - name: node-red-data + persistentVolumeClaim: + claimName: node-red-pvc