You've already forked helm-gitea
fix: Improve OpenShift compatibility (#1066)
This commit is contained in:
@@ -9,9 +9,8 @@ tests:
|
||||
set:
|
||||
openshift.enabled: true
|
||||
asserts:
|
||||
- equal:
|
||||
- notExists:
|
||||
path: spec.hostUsers
|
||||
value: false
|
||||
- equal:
|
||||
path: spec.containers[0].securityContext
|
||||
value:
|
||||
@@ -22,3 +21,13 @@ tests:
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
||||
- it: renders an explicit hostUsers=false override for the test pod
|
||||
set:
|
||||
openshift:
|
||||
enabled: true
|
||||
hostUsers: false
|
||||
asserts:
|
||||
- equal:
|
||||
path: spec.hostUsers
|
||||
value: false
|
||||
|
||||
Reference in New Issue
Block a user