File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: library
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.1.4
18
+ version : 0.1.5
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 1
- { {- define " lmutil.custom -pod-sec-context-nonroot" } }
1
+ { {- define " lmutil.default -pod-sec-context-nonroot" } }
2
2
{ { if eq (include " lmutil.is-openshift" .) " true" } }
3
3
runAsUser: 1000670001
4
4
fsGroup: 1000670001
5
5
runAsGroup: 1000670001
6
- runAsNonRoot: true
6
+ { {- else } }
7
+ runAsUser: 2000
8
+ fsGroup: 2000
9
+ runAsGroup: 2000
7
10
{ {- end } }
11
+ runAsNonRoot: true
8
12
{ {- end } }
9
13
10
14
11
- { {- define " lmutil.custom -container-sec-context-nonroot" } }
15
+ { {- define " lmutil.default -container-sec-context-nonroot" } }
12
16
{ { if eq (include " lmutil.is-openshift" .) " true" } }
13
17
allowPrivilegeEscalation: false
14
18
capabilities:
Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ This takes an array of three values:
132
132
{ {- toYaml (merge $overrides $tpl ) -} }
133
133
{ {- end -} }
134
134
135
- { {- define " lmutil.default -pod-sec-context-nonroot" } }
135
+ { {- define " lmutil.custom -pod-sec-context-nonroot" } }
136
136
{ {- toYaml .Values.podSecurityContext | nindent 0 } }
137
137
{ {- end } }
138
138
{ {- define " lmutil.pod-sec-context-nonroot" -} }
139
139
{ {- include " lmutil.merge" (append . " lmutil.default-pod-sec-context-nonroot" ) -} }
140
140
{ {- end -} }
141
141
142
- { {- define " lmutil.default -container-sec-context-nonroot" } }
142
+ { {- define " lmutil.custom -container-sec-context-nonroot" } }
143
143
{ {- toYaml .Values.securityContext | nindent 0 } }
144
144
{ {- end } }
145
145
{ {- define " lmutil.container-sec-context-nonroot" -} }
You can’t perform that action at this time.
0 commit comments