From 7a42fce3a5df7718424f79f5964ea1f4123ab11e Mon Sep 17 00:00:00 2001 From: Carlos Ravelo Date: Tue, 5 Sep 2023 21:50:54 -0400 Subject: [PATCH] Update deployment.yaml --- .../kubernetes/chart/forecastle/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/kubernetes/chart/forecastle/templates/deployment.yaml b/deployments/kubernetes/chart/forecastle/templates/deployment.yaml index b27c28df..e65709e8 100644 --- a/deployments/kubernetes/chart/forecastle/templates/deployment.yaml +++ b/deployments/kubernetes/chart/forecastle/templates/deployment.yaml @@ -73,7 +73,7 @@ spec: {{ toYaml .Values.forecastle.openshiftOauthProxy.resources | indent 10 }} {{- end }} {{- end }} - {{- with .Values.forecastle.deployment.securityContext }} + {{- if .Values.forecastle.deployment.securityContext }} securityContext: {{- toYaml . | nindent 10 }} {{- end }}