use gitea nightly rootless image
This commit is contained in:
parent
a28587dfbc
commit
a3ff591851
|
@ -17,15 +17,15 @@ spec:
|
||||||
values:
|
values:
|
||||||
image:
|
image:
|
||||||
repository: gitea/gitea
|
repository: gitea/gitea
|
||||||
tag: 1.19.0
|
tag: latest-rootless
|
||||||
|
|
||||||
podLabels:
|
podLabels:
|
||||||
needsDatabase: "yes"
|
needsDatabase: "yes"
|
||||||
needsAuthentik: "yes"
|
needsAuthentik: "yes"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
USER_UID: 1000
|
USER_UID: 10000
|
||||||
USER_GID: 1000
|
USER_GID: 10000
|
||||||
|
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
|
@ -82,3 +82,17 @@ spec:
|
||||||
type: hostPath
|
type: hostPath
|
||||||
hostPath: /mnt/MainPool/Kubernetes/gitea
|
hostPath: /mnt/MainPool/Kubernetes/gitea
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 1m
|
||||||
|
memory: 340Mi
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
Loading…
Reference in New Issue