Skip to content

Commit

Permalink
chore(apps/arc): use containerMode.type=dind
Browse files Browse the repository at this point in the history
  • Loading branch information
invakid404 committed Oct 10, 2024
1 parent deadc59 commit dead356
Showing 1 changed file with 4 additions and 56 deletions.
60 changes: 4 additions & 56 deletions apps/arc/runners/pi-cluster/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,70 +25,18 @@ spec:
values:
runnerScaleSetName: pi-cluster
githubConfigUrl: https://github.com/invakid404/pi-cluster
template:
spec:
initContainers:
- name: init-dind-externals
image: ghcr.io/actions/actions-runner:latest
command:
- cp
- -r
- -v
- /home/runner/externals/.
- /home/runner/tmpDir/
volumeMounts:
- name: dind-externals
mountPath: /home/runner/tmpDir
containers:
- name: runner
image: ghcr.io/actions/actions-runner:latest
command:
- /home/runner/run.sh
env:
- name: DOCKER_HOST
value: unix:///var/run/docker.sock
volumeMounts:
- name: work
mountPath: /home/runner/_work
- name: dind-sock
mountPath: /var/run
- name: dind
image: docker:dind
args:
- dockerd
- --host=unix:///var/run/docker.sock
- --group=$(DOCKER_GROUP_GID)
env:
- name: DOCKER_GROUP_GID
value: "123"
- name: DOCKER_IPTABLES_LEGACY
value: "1"
securityContext:
privileged: true
volumeMounts:
- name: work
mountPath: /home/runner/_work
- name: dind-sock
mountPath: /var/run
- name: dind-externals
mountPath: /home/runner/externals
volumes:
- name: work
emptyDir: {}
- name: dind-sock
emptyDir: {}
- name: dind-externals
emptyDir: {}
githubConfigSecret:
github_token: ENC[AES256_GCM,data:MJb9GmuFPZEBYFz3FI1ML3vAVmQZUYHU1dgzYy0qhKok+EOFtBfC5w==,iv:ugtjys3MoXsUDZ//EyVolq2enUjOY5CMbZGkpfNpZR4=,tag:1lqVIVh+Mu8kmhZCtnqa0w==,type:str]
containerMode:
type: dind
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2024-10-10T15:23:28Z"
mac: ENC[AES256_GCM,data:SFe82DURK0Np+VHwUDCEhrNJA8AbsIpn8SbEm3sWC+5JcZtkbt3OuLepHyh8q03CWjq07zwRflkySmacSokTWlSKzvjuCNhEIe5Foi1sq7WGzt1Fu0po1cvqjxTnk7eYKXANNaGNbZVBKUuuLJVlGaDn7NEKIs2Mc0oif10hLmY=,iv:Y6TWY4j7sxyNEqE2yw8qI1tNhkhnrzIqJwfoqysYg+s=,tag:Ae4tWIUnX24he1Tw/p0SCA==,type:str]
lastmodified: "2024-10-10T15:30:56Z"
mac: ENC[AES256_GCM,data:bFK5P1kmYChlKNXXJaKm7Z1dczokOrFiVdWu9DuMk09pYJUwI4A5PfjHexch7yA8KsSW11w/wSsGFNQ8oz5kky5SBBMWIqUZRA0sysuzZPFZ3D/+QSuxA90NA1Qmf/ygKJlIFREbGvymVeXWsYogjzNF1VA3VKH4AVfG31/6CNU=,iv:+1wKr2CK2Xo4KfCZy/y+I6hx5W5ZN66B+j7ccLrOPEw=,tag:wdPW4S1ctFahKrSXEAoUzA==,type:str]
pgp:
- created_at: "2024-08-30T12:29:01Z"
enc: |-
Expand Down

0 comments on commit dead356

Please sign in to comment.