From 852faf9c405a31238e0a5e9562b6245cff627844 Mon Sep 17 00:00:00 2001 From: Jesse Goodier <31039225+jessegoodier@users.noreply.github.com> Date: Fri, 3 Nov 2023 15:17:26 -0400 Subject: [PATCH] root user compatibility defaults (#2730) * root user compatibility defaults * spacing --- cost-analyzer/templates/cost-analyzer-deployment-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cost-analyzer/templates/cost-analyzer-deployment-template.yaml b/cost-analyzer/templates/cost-analyzer-deployment-template.yaml index 49451fed8..9f83f5b10 100644 --- a/cost-analyzer/templates/cost-analyzer-deployment-template.yaml +++ b/cost-analyzer/templates/cost-analyzer-deployment-template.yaml @@ -1147,7 +1147,7 @@ spec: {{- if .Values.kubecostFrontend.securityContext }} securityContext: {{- toYaml .Values.kubecostFrontend.securityContext | nindent 12 }} - {{- else if .Values.global.containerSecurityContext }} + {{- else if and .Values.global.containerSecurityContext (gt $nginxPort 1025) }} securityContext: {{- toYaml .Values.global.containerSecurityContext | nindent 12 }} {{- end }}