diff --git a/el9/templates/deployment.yaml b/el9/templates/deployment.yaml
index 03bf0425d83d9fae2734e852291b5688c500561d..047ed5672133c8e148b1bb832459314f598b71b1 100644
--- a/el9/templates/deployment.yaml
+++ b/el9/templates/deployment.yaml
@@ -68,6 +68,7 @@ spec:
       {{- if .Values.securityContext }}
       securityContext: {{- .Values.securityContext | toYaml | nindent 8 }}
       {{- end }}
+      {{- end }}
       nodeSelector: {{- .Values.nodeSelector | toYaml | nindent 8 }}
       {{- end }}
       {{- if .Values.tolerations }}
diff --git a/el9/values.yaml b/el9/values.yaml
index b5878b4cb03b9264299673686b772eada907fb1e..bc886627049a658b60ff5cd8d62ce9f37056f019 100644
--- a/el9/values.yaml
+++ b/el9/values.yaml
@@ -251,4 +251,4 @@ podLabels: {}
 extraVolumes: []
 extraVolumeMounts: []
 
-securityContext: {}
\ No newline at end of file
+securityContext: {}