Commit c2f0390 1 parent a5331f5 commit c2f0390 Copy full SHA for c2f0390
File tree 6 files changed +6
-67
lines changed
6 files changed +6
-67
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.2.1 (November 12th, 2019)
2
+
3
+ Bugs:
4
+
5
+ * Removed ` readOnlyRootFilesystem ` causing issues when validating deployments
6
+
1
7
## 0.2.0 (October 29th, 2019)
2
8
3
9
Features:
Original file line number Diff line number Diff line change 41
41
terminationGracePeriodSeconds : 10
42
42
serviceAccountName : {{ template "vault.fullname" . }}
43
43
securityContext :
44
- {{- if .Values.server.securityContext.readOnlyRootFilesystem }}
45
- readOnlyRootFilesystem : true
46
- {{- end }}
47
44
runAsNonRoot : true
48
45
runAsGroup : {{ .Values.server.gid | default 1000 }}
49
46
runAsUser : {{ .Values.server.uid | default 100 }}
Original file line number Diff line number Diff line change @@ -376,24 +376,3 @@ load _helpers
376
376
yq -r ' .spec.template.spec.securityContext.fsGroup' | tee /dev/stderr)
377
377
[ " ${actual} " = " 2000" ]
378
378
}
379
-
380
- @test " server/dev-StatefulSet: readOnlyRootFilesystem default" {
381
- cd ` chart_dir`
382
- local actual=$( helm template \
383
- -x templates/server-statefulset.yaml \
384
- --set ' server.dev.enabled=true' \
385
- . | tee /dev/stderr |
386
- yq -r ' .spec.template.spec.securityContext.readOnlyRootFilesystem' | tee /dev/stderr)
387
- [ " ${actual} " = " true" ]
388
- }
389
-
390
- @test " server/dev-StatefulSet: readOnlyRootFilesystem configurable" {
391
- cd ` chart_dir`
392
- local actual=$( helm template \
393
- -x templates/server-statefulset.yaml \
394
- --set ' server.dev.enabled=true' \
395
- --set ' server.securityContext.readOnlyRootFilesystem=false' \
396
- . | tee /dev/stderr |
397
- yq -r ' .spec.template.spec.securityContext.readOnlyRootFilesystem' | tee /dev/stderr)
398
- [ " ${actual} " = " null" ]
399
- }
Original file line number Diff line number Diff line change @@ -571,24 +571,3 @@ load _helpers
571
571
yq -r ' .spec.template.spec.securityContext.fsGroup' | tee /dev/stderr)
572
572
[ " ${actual} " = " 2000" ]
573
573
}
574
-
575
- @test " server/ha-StatefulSet: readOnlyRootFilesystem default" {
576
- cd ` chart_dir`
577
- local actual=$( helm template \
578
- -x templates/server-statefulset.yaml \
579
- --set ' server.ha.enabled=true' \
580
- . | tee /dev/stderr |
581
- yq -r ' .spec.template.spec.securityContext.readOnlyRootFilesystem' | tee /dev/stderr)
582
- [ " ${actual} " = " true" ]
583
- }
584
-
585
- @test " server/ha-StatefulSet: readOnlyRootFilesystem configurable" {
586
- cd ` chart_dir`
587
- local actual=$( helm template \
588
- -x templates/server-statefulset.yaml \
589
- --set ' server.ha.enabled=true' \
590
- --set ' server.securityContext.readOnlyRootFilesystem=false' \
591
- . | tee /dev/stderr |
592
- yq -r ' .spec.template.spec.securityContext.readOnlyRootFilesystem' | tee /dev/stderr)
593
- [ " ${actual} " = " null" ]
594
- }
Original file line number Diff line number Diff line change @@ -639,22 +639,3 @@ load _helpers
639
639
yq -r ' .spec.template.spec.securityContext.fsGroup' | tee /dev/stderr)
640
640
[ " ${actual} " = " 2000" ]
641
641
}
642
-
643
- @test " server/standalone-StatefulSet: readOnlyRootFilesystem default" {
644
- cd ` chart_dir`
645
- local actual=$( helm template \
646
- -x templates/server-statefulset.yaml \
647
- . | tee /dev/stderr |
648
- yq -r ' .spec.template.spec.securityContext.readOnlyRootFilesystem' | tee /dev/stderr)
649
- [ " ${actual} " = " true" ]
650
- }
651
-
652
- @test " server/standalone-StatefulSet: readOnlyRootFilesystem configurable" {
653
- cd ` chart_dir`
654
- local actual=$( helm template \
655
- -x templates/server-statefulset.yaml \
656
- --set ' server.securityContext.readOnlyRootFilesystem=false' \
657
- . | tee /dev/stderr |
658
- yq -r ' .spec.template.spec.securityContext.readOnlyRootFilesystem' | tee /dev/stderr)
659
- [ " ${actual} " = " null" ]
660
- }
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ server:
21
21
# should map directly to the value of the resources field for a PodSpec.
22
22
# By default no direct resource request is made.
23
23
24
- securityContext :
25
- readOnlyRootFilesystem : true
26
-
27
24
resources :
28
25
# resources:
29
26
# requests:
You can’t perform that action at this time.
0 commit comments