mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
fix init security context
This commit is contained in:
@@ -23,11 +23,14 @@ spec:
|
|||||||
- name: fix-ownership
|
- name: fix-ownership
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ["chown", "-R", "1000:1000", "/opt/onedev"]
|
command: ["chown", "-R", "1000:1000", "/opt/onedev"]
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
runAsGroup: 0
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /opt/onedev
|
mountPath: /opt/onedev
|
||||||
- name: trust-certs
|
- name: trust-certs
|
||||||
mountPath: /opt/onedev/conf/trust-certs
|
mountPath: /opt/onedev/conf/trust-certs
|
||||||
# Configure Ingress resource
|
# Configure Ingress resource
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user