File tree Expand file tree Collapse file tree 6 files changed +10
-3
lines changed
hack/generate/samples/internal/helm
testdata/helm/memcached-operator/helm-charts/memcached Expand file tree Collapse file tree 6 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ func (mh *Memcached) Run() {
75
75
// role and cause sanity testing to fail.
76
76
os .Setenv ("KUBECONFIG" , "broken_so_we_generate_static_default_rules" )
77
77
78
- helmChartPath := "../../../hack/generate/samples/internal/helm/testdata/memcached-0.0.1 .tgz"
78
+ helmChartPath := "../../../hack/generate/samples/internal/helm/testdata/memcached-0.0.2 .tgz"
79
79
log .Infof ("creating the project using the helm chart in: (%v)" , helmChartPath )
80
80
err := mh .ctx .Init (
81
81
"--plugins" , "helm" ,
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ maintainers:
17
17
name : memcached
18
18
sources :
19
19
- https://github.com/docker-library/memcached
20
- version : 0.0.1
20
+ version : 0.0.2
Original file line number Diff line number Diff line change 1
- apiVersion : policy/v1beta1
1
+ apiVersion : policy/v1
2
2
kind : PodDisruptionBudget
3
3
metadata :
4
4
name : {{ template "memcached.fullname" . }}
Original file line number Diff line number Diff line change 30
30
{{- if .Values.securityContext.enabled }}
31
31
securityContext :
32
32
fsGroup : {{ .Values.securityContext.fsGroup }}
33
+ runAsNonRoot : true
34
+ seccompProfile :
35
+ type : RuntimeDefault
33
36
{{- end }}
34
37
affinity :
35
38
podAntiAffinity :
59
62
imagePullPolicy : {{ default "" .Values.imagePullPolicy | quote }}
60
63
{{- if .Values.securityContext.enabled }}
61
64
securityContext :
65
+ allowPrivilegeEscalation : false
62
66
runAsUser : {{ .Values.securityContext.runAsUser }}
67
+ capabilities :
68
+ drop :
69
+ - ALL
63
70
{{- end }}
64
71
command :
65
72
- memcached
You can’t perform that action at this time.
0 commit comments