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
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: docker-act-runner
|
name: docker-act-runner
|
||||||
namespace: gitea
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 5m
|
interval: 5m
|
||||||
url: https://git.strudelline.net/cascade/docker-act_runner
|
url: https://git.strudelline.net/cascade/docker-act_runner
|
||||||
|
@ -14,7 +14,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: docker-act-runner
|
name: docker-act-runner
|
||||||
namespace: gitea
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
interval: 1m
|
interval: 1m
|
||||||
targetNamespace: gitea
|
targetNamespace: gitea
|
||||||
|
|
|
@ -49,6 +49,12 @@ spec:
|
||||||
- mountPath: /home
|
- mountPath: /home
|
||||||
name: gitea-runner-data
|
name: gitea-runner-data
|
||||||
subPath: home
|
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:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
command: [ sh, -c ]
|
command: [ sh, -c ]
|
||||||
|
@ -59,7 +65,7 @@ spec:
|
||||||
chown 1000:1000 /home/rootless
|
chown 1000:1000 /home/rootless
|
||||||
chown 100:101 /home/dockremap
|
chown 100:101 /home/dockremap
|
||||||
containers:
|
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
|
imagePullPolicy: Always
|
||||||
name: runner
|
name: runner
|
||||||
env:
|
env:
|
||||||
|
@ -93,6 +99,12 @@ spec:
|
||||||
- mountPath: /config
|
- mountPath: /config
|
||||||
name: gitea-runner-config
|
name: gitea-runner-config
|
||||||
readOnly: true
|
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
|
- mountPath: /home/rootless/.docker/config.json
|
||||||
subPath: .dockerconfigjson
|
subPath: .dockerconfigjson
|
||||||
name: gitea-package-registry-secret
|
name: gitea-package-registry-secret
|
||||||
|
@ -106,7 +118,7 @@ spec:
|
||||||
name: gitea-runner-data
|
name: gitea-runner-data
|
||||||
spec:
|
spec:
|
||||||
accessModes: [ "ReadWriteOnce" ]
|
accessModes: [ "ReadWriteOnce" ]
|
||||||
storageClassName: nvme
|
storageClassName: longhorn-e1r-ssd
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 200Gi
|
storage: 200Gi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user