Add volume mounts for storing artifacts
This commit is contained in:
parent
dc8c4e74a1
commit
d8dd1c19d5
@ -32,6 +32,9 @@ spec:
|
|||||||
- name: runner-data
|
- name: runner-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: act-runner-dind-rootless
|
claimName: act-runner-dind-rootless
|
||||||
|
- name: flexvolsmb-runner-output
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: flexvolsmb-runner-output
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
containers:
|
containers:
|
||||||
@ -64,3 +67,5 @@ spec:
|
|||||||
- name: runner-config
|
- name: runner-config
|
||||||
mountPath: /opt/act/config.yml
|
mountPath: /opt/act/config.yml
|
||||||
subPath: dind-rootless-config.yml
|
subPath: dind-rootless-config.yml
|
||||||
|
- name: flexvolsmb-runner-output
|
||||||
|
mountPath: /output
|
||||||
|
@ -32,6 +32,9 @@ spec:
|
|||||||
- name: runner-data
|
- name: runner-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: act-runner-dind
|
claimName: act-runner-dind
|
||||||
|
- name: flexvolsmb-runner-output
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: flexvolsmb-runner-output
|
||||||
containers:
|
containers:
|
||||||
- name: runner
|
- name: runner
|
||||||
image: gitea/act_runner:nightly
|
image: gitea/act_runner:nightly
|
||||||
@ -62,6 +65,8 @@ spec:
|
|||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
- name: flexvolsmb-runner-output
|
||||||
|
mountPath: /output
|
||||||
- name: daemon
|
- name: daemon
|
||||||
image: docker:26.1-dind
|
image: docker:26.1-dind
|
||||||
args:
|
args:
|
||||||
@ -74,3 +79,5 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: docker-certs
|
- name: docker-certs
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
|
- name: flexvolsmb-runner-output
|
||||||
|
mountPath: /output
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: flexvolsmb-runner-output
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 50Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
storageClassName: flexvolsmb-runner-output
|
||||||
|
flexVolume:
|
||||||
|
driver: mount/smb
|
||||||
|
secretRef:
|
||||||
|
name: flexvolsmb-credentials
|
||||||
|
options:
|
||||||
|
opts: file_mode=0777,dir_mode=0777,iocharset=utf8
|
||||||
|
server: 192.168.154.225
|
||||||
|
share: /K3s.Volumes/lighttpd/websites/sn.itch.fyi/Repository/rel
|
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: flexvolsmb-runner-output
|
||||||
|
namespace: gitea
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
storageClassName: flexvolsmb-runner-output
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 50Gi
|
Loading…
Reference in New Issue
Block a user