Skip to content

Commit

Permalink
remove trim
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Oct 29, 2024
1 parent b78d6c6 commit 551de18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions charts/testkube-cloud-api/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ Define podSecurityContext
*/}}
{{- define "testkube-cloud-api.podSecurityContext" -}}
{{- if .Values.global.podSecurityContext }}
{{ toYaml .Values.global.podSecurityContext | trim }}
{{ toYaml .Values.global.podSecurityContext }}
{{- else }}
{{ toYaml .Values.podSecurityContext | trim }}
{{ toYaml .Values.podSecurityContext }}
{{- end }}
{{- end }}

Expand All @@ -174,8 +174,8 @@ Define containerSecurityContext
*/}}
{{- define "testkube-cloud-api.containerSecurityContext" -}}
{{- if .Values.global.securityContext }}
{{- toYaml .Values.global.securityContext | trim }}
{{- toYaml .Values.global.securityContext}}
{{- else }}
{{- toYaml .Values.securityContext | trim }}
{{- toYaml .Values.securityContext }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions charts/testkube-cloud-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ serviceAccount:
name: ""
podAnnotations: {}
# -- Pod Security Context
podSecurityContext:
fsGroup: 2000
podSecurityContext: {}
# fsGroup: 2000

# -- Security Context for app container
securityContext:
Expand Down

0 comments on commit 551de18

Please sign in to comment.