File tree 3 files changed +15
-7
lines changed
3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name: privatebin
6
6
home : https://privatebin.info/
7
7
icon : https://raw.githubusercontent.com/PrivateBin/assets/master/images/preview/icon.png
8
8
type : application
9
- version : 0.20.2
9
+ version : 0.21.1
10
10
maintainers :
11
11
- name : bdashrad
12
12
Original file line number Diff line number Diff line change @@ -34,10 +34,12 @@ spec:
34
34
spec :
35
35
serviceAccountName : {{ include "privatebin.serviceAccountName" . }}
36
36
automountServiceAccountToken : false
37
+ {{- if .Values.securityContext }}
37
38
securityContext :
38
- runAsUser : {{ .Values.securityContext.runAsUser }}
39
- runAsGroup : {{ .Values.securityContext.runAsGroup }}
40
- fsGroup : {{ .Values.securityContext.fsGroup }}
39
+ {{- with .Values.securityContext }}
40
+ {{- toYaml . | nindent 8 }}
41
+ {{- end }}
42
+ {{- end }}
41
43
{{- if .Values.image.pullSecrets }}
42
44
imagePullSecrets :
43
45
{{- range .Values.image.pullSecrets }}
@@ -52,10 +54,12 @@ spec:
52
54
- name : http
53
55
containerPort : 8080
54
56
protocol : TCP
57
+ {{- if .Values.podSecurityContext }}
55
58
securityContext :
56
- readOnlyRootFilesystem : {{ .Values.securityContext.readOnlyRootFilesystem }}
57
- privileged : false
58
- allowPrivilegeEscalation : false
59
+ {{- with .Values.podSecurityContext }}
60
+ {{- toYaml . | nindent 12 }}
61
+ {{- end }}
62
+ {{- end }}
59
63
livenessProbe :
60
64
httpGet :
61
65
path : /
Original file line number Diff line number Diff line change @@ -57,7 +57,11 @@ securityContext:
57
57
runAsUser : 65534
58
58
runAsGroup : 82
59
59
fsGroup : 82
60
+
61
+ podSecurityContext :
60
62
readOnlyRootFilesystem : true
63
+ privileged : false
64
+ allowPrivilegeEscalation : false
61
65
62
66
extraVolumes : []
63
67
# Optionally specify extra list of additional volumes for PrivateBin pod.
You can’t perform that action at this time.
0 commit comments