mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-07-16 19:24:46 +00:00
fix: wrong mount path on rootless dind
This commit is contained in:
@ -86,7 +86,7 @@ spec:
|
|||||||
{{- toYaml .Values.statefulset.resources | nindent 12 }}
|
{{- toYaml .Values.statefulset.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if .Values.statefulset.dind.rootless }}
|
{{- if .Values.statefulset.dind.rootless }}
|
||||||
- mouthPath: /run/user/{{ .Values.statefulset.dind.uid | default 1000 }}/
|
- mountPath: /run/user/{{ .Values.statefulset.dind.uid | default 1000 }}/
|
||||||
{{- else }}
|
{{- else }}
|
||||||
- mountPath: /var/run/
|
- mountPath: /var/run/
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
12
values.yaml
12
values.yaml
@ -33,7 +33,7 @@
|
|||||||
## @param statefulset.persistence.size Size for persistence to store act runner data
|
## @param statefulset.persistence.size Size for persistence to store act runner data
|
||||||
## @param statefulset.securityContext Customize the SecurityContext
|
## @param statefulset.securityContext Customize the SecurityContext
|
||||||
## @param statefulset.serviceAccountName Customize the service account name
|
## @param statefulset.serviceAccountName Customize the service account name
|
||||||
enabled: false
|
enabled: true
|
||||||
statefulset:
|
statefulset:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
timezone: Etc/UTC
|
timezone: Etc/UTC
|
||||||
@ -73,11 +73,11 @@ statefulset:
|
|||||||
docker_timeout: 300s
|
docker_timeout: 300s
|
||||||
|
|
||||||
dind:
|
dind:
|
||||||
rootless: false
|
rootless: true
|
||||||
uid: ""
|
uid: ""
|
||||||
registry: "docker.io"
|
registry: "docker.io"
|
||||||
repository: docker
|
repository: docker
|
||||||
tag: 29.3.1-dind
|
tag: 29.3.1-dind-rootless
|
||||||
digest: ""
|
digest: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
fullOverride: ""
|
fullOverride: ""
|
||||||
@ -115,13 +115,13 @@ init:
|
|||||||
#
|
#
|
||||||
## @param existingSecret Secret that contains the token
|
## @param existingSecret Secret that contains the token
|
||||||
## @param existingSecretKey Secret key
|
## @param existingSecretKey Secret key
|
||||||
existingSecret: ""
|
existingSecret: "runner-secret"
|
||||||
existingSecretKey: ""
|
existingSecretKey: "runner-token"
|
||||||
|
|
||||||
## @section Gitea URL Setting
|
## @section Gitea URL Setting
|
||||||
#
|
#
|
||||||
## @param giteaRootURL URL the act_runner registers and connect with
|
## @param giteaRootURL URL the act_runner registers and connect with
|
||||||
giteaRootURL: ""
|
giteaRootURL: "https://gitea.com"
|
||||||
|
|
||||||
## @section Extra Init Containers
|
## @section Extra Init Containers
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user