File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,10 @@ The following tables lists the configurable parameters of the load tester chart
69
69
| ` istio.tls.enabled ` | Enable TLS in gateway ( TLS secrets should be in namespace ) | ` false ` |
70
70
| ` istio.tls.httpsRedirect ` | Redirect traffic to TLS port | ` false ` |
71
71
| ` podPriorityClassName ` | PriorityClass name for pod priority configuration | "" |
72
- | ` securityContext.enabled ` | Add securityContext to container | "" |
73
- | ` securityContext.context ` | securityContext to add | "" |
72
+ | ` securityContext.enabled ` | Add securityContext to container | ` false ` |
73
+ | ` SecurityContext.context ` | securityContext to add | "" |
74
+ | ` podSecurityContext.enabled ` | Add securityContext to pod | ` false ` |
75
+ | ` podSecurityContext.context ` | securityContext to add | "" |
74
76
| ` podDisruptionBudget.enabled ` | A PodDisruptionBudget will be created if ` true ` | ` false ` |
75
77
| ` podDisruptionBudget.minAvailable ` | The minimal number of available replicas that will be set in the PodDisruptionBudget | ` 1 ` |
76
78
Original file line number Diff line number Diff line change 24
24
appmesh.k8s.aws/ports : " 444"
25
25
openservicemesh.io/inbound-port-exclusion-list : " 80, 8080"
26
26
{{- if .Values.podAnnotations }}
27
- {{ toYaml .Values.podAnnotations | indent 8 }}
27
+ {{- toYaml .Values.podAnnotations | nindent 8 }}
28
28
{{- end }}
29
29
spec :
30
30
{{- if .Values.serviceAccountName }}
39
39
- name : {{ .Chart.Name }}
40
40
{{- if .Values.securityContext.enabled }}
41
41
securityContext :
42
- {{ toYaml .Values.securityContext.context | indent 12 }}
42
+ {{- toYaml .Values.securityContext.context | nindent 12 }}
43
43
{{- end }}
44
44
image : " {{ .Values.image.repository }}:{{ .Values.image.tag }}"
45
45
imagePullPolicy : {{ .Values.image.pullPolicy }}
@@ -102,3 +102,7 @@ spec:
102
102
tolerations :
103
103
{{- toYaml . | nindent 8 }}
104
104
{{- end }}
105
+ {{- if .Values.podSecurityContext.enabled }}
106
+ securityContext :
107
+ {{- toYaml .Values.podSecurityContext.context | nindent 12 }}
108
+ {{- end }}
Original file line number Diff line number Diff line change @@ -91,6 +91,12 @@ securityContext:
91
91
runAsUser : 100
92
92
runAsGroup : 101
93
93
94
+ podSecurityContext :
95
+ enabled : false
96
+ context :
97
+ fsGroup : 101
98
+ fsGroupChangePolicy : " OnRootMismatch"
99
+
94
100
podDisruptionBudget :
95
101
enabled : false
96
102
minAvailable : 1
You can’t perform that action at this time.
0 commit comments