update runner config for k0
Some checks are pending
Build Container and update Flux / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Build Container and update Flux / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
b3bdf8686a
commit
bf40368e74
|
@ -3,7 +3,7 @@ apiVersion: source.toolkit.fluxcd.io/v1
|
|||
kind: GitRepository
|
||||
metadata:
|
||||
name: docker-act-runner
|
||||
namespace: gitea
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m
|
||||
url: https://git.strudelline.net/cascade/docker-act_runner
|
||||
|
@ -14,7 +14,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|||
kind: Kustomization
|
||||
metadata:
|
||||
name: docker-act-runner
|
||||
namespace: gitea
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
targetNamespace: gitea
|
||||
|
|
|
@ -49,6 +49,12 @@ spec:
|
|||
- mountPath: /home
|
||||
name: gitea-runner-data
|
||||
subPath: home
|
||||
- mountPath: /home/rootless/.local/share/docker
|
||||
name: gitea-runner-data
|
||||
subPath: home-local-share-docker
|
||||
- mountPath: /home/rootless/.local/share/containers
|
||||
name: gitea-runner-data
|
||||
subPath: home-local-share-containers
|
||||
securityContext:
|
||||
privileged: true
|
||||
command: [ sh, -c ]
|
||||
|
@ -59,7 +65,7 @@ spec:
|
|||
chown 1000:1000 /home/rootless
|
||||
chown 100:101 /home/dockremap
|
||||
containers:
|
||||
- image: git.strudelline.net/cascade/docker-act_runner:main-2024-03-29-0147.55
|
||||
- image: git.strudelline.net/cascade/docker-act_runner:latest
|
||||
imagePullPolicy: Always
|
||||
name: runner
|
||||
env:
|
||||
|
@ -93,6 +99,12 @@ spec:
|
|||
- mountPath: /config
|
||||
name: gitea-runner-config
|
||||
readOnly: true
|
||||
- mountPath: /home/rootless/.local/share/docker
|
||||
name: gitea-runner-data
|
||||
subPath: home-local-share-docker
|
||||
- mountPath: /home/rootless/.local/share/containers
|
||||
name: gitea-runner-data
|
||||
subPath: home-local-share-containers
|
||||
- mountPath: /home/rootless/.docker/config.json
|
||||
subPath: .dockerconfigjson
|
||||
name: gitea-package-registry-secret
|
||||
|
@ -106,7 +118,7 @@ spec:
|
|||
name: gitea-runner-data
|
||||
spec:
|
||||
accessModes: [ "ReadWriteOnce" ]
|
||||
storageClassName: nvme
|
||||
storageClassName: longhorn-e1r-ssd
|
||||
resources:
|
||||
requests:
|
||||
storage: 200Gi
|
||||
|
|
Loading…
Reference in New Issue
Block a user