Skip to content

Commit

Permalink
feat(arc): kubernetes mode
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Dec 31, 2024
1 parent 61d7e0f commit c01ef4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ spec:
minRunners: 1
maxRunners: 3
containerMode:
type: dind
type: kubernetes
kubernetesModeWorkVolumeClaim:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 20Gi
storageClassName: ceph-block
template:
spec:
containers:
Expand All @@ -39,6 +45,8 @@ spec:
command:
- /home/runner/run.sh
env:
- name: ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER
value: "false"
- name: NODE_IP
valueFrom:
fieldRef:
Expand All @@ -47,6 +55,8 @@ spec:
- mountPath: /var/run/secrets/talos.dev
name: talos
readOnly: true
securityContext:
fsGroup: 123
serviceAccountName: actions-runner
volumes:
- name: talos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
app.kubernetes.io/name: *app
dependsOn:
- name: gha-runner-scale-set-controller
- name: rook-ceph-cluster
path: ./kubernetes/apps/actions-runner-system/gha-runner-scale-set/app
prune: true
sourceRef:
Expand Down

0 comments on commit c01ef4c

Please sign in to comment.