From bc025e78648706ad1f16367ee137f9d3bb770885 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Wed, 1 Nov 2023 20:02:01 -0400 Subject: [PATCH] Move permissions to template --- node-red/node-red-deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-red/node-red-deployment.yaml b/node-red/node-red-deployment.yaml index aca8b0f..07153fc 100644 --- a/node-red/node-red-deployment.yaml +++ b/node-red/node-red-deployment.yaml @@ -5,8 +5,6 @@ metadata: namespace: node-red-ns spec: replicas: 1 - securityContext: - fsGroup: 1000 selector: matchLabels: app: node-red @@ -15,6 +13,8 @@ spec: labels: app: node-red spec: + securityContext: + fsGroup: 1000 containers: - name: freshrss image: nodered/node-red