try a better gitea actions runner
This commit is contained in:
		| @@ -12,7 +12,7 @@ spec: | |||||||
|         app: actions-runner |         app: actions-runner | ||||||
|     spec: |     spec: | ||||||
|       hostname: kube-runner |       hostname: kube-runner | ||||||
|       serviceAccountName: actions-runner |       # serviceAccountName: actions-runner | ||||||
|       containers: |       containers: | ||||||
|       - name: actions-runner |       - name: actions-runner | ||||||
|         image: actions-runner |         image: actions-runner | ||||||
| @@ -20,7 +20,16 @@ spec: | |||||||
|           requests: |           requests: | ||||||
|             memory: "128Mi" |             memory: "128Mi" | ||||||
|             cpu: "500m" |             cpu: "500m" | ||||||
|  |           limits: | ||||||
|  |             memory: "2Gi" | ||||||
|  |             cpu: "2" | ||||||
|         env: |         env: | ||||||
|  |         - name: DOCKER_HOST | ||||||
|  |           value: tcp://localhost:2376 | ||||||
|  |         - name: DOCKER_CERT_PATH | ||||||
|  |           value: /certs/client | ||||||
|  |         - name: DOCKER_TLS_VERIFY | ||||||
|  |           value: "1" | ||||||
|         - name: GITEA_INSTANCE_URL |         - name: GITEA_INSTANCE_URL | ||||||
|           value: "https://git.kluster.moll.re" |           value: "https://git.kluster.moll.re" | ||||||
|         - name: GITEA_RUNNER_REGISTRATION_TOKEN |         - name: GITEA_RUNNER_REGISTRATION_TOKEN | ||||||
| @@ -33,7 +42,8 @@ spec: | |||||||
|         volumeMounts: |         volumeMounts: | ||||||
|         - name: runner-data |         - name: runner-data | ||||||
|           mountPath: /data |           mountPath: /data | ||||||
|  |         securityContext: | ||||||
|  |           privileged: true | ||||||
|       volumes: |       volumes: | ||||||
|       - name: runner-data |       - name: runner-data | ||||||
|         emptyDir: {} |         emptyDir: {} | ||||||
|  |  | ||||||
|   | |||||||
| @@ -17,8 +17,8 @@ namespace: gitea | |||||||
|  |  | ||||||
| images: | images: | ||||||
|   - name: actions-runner |   - name: actions-runner | ||||||
|     newName: ghcr.io/christopherhx/gitea-actions-runner |     newName: gitea/act_runner | ||||||
|     newTag: v0.0.11 |     newTag: nightly-dind-rootless | ||||||
|  |  | ||||||
|  |  | ||||||
| helmCharts: | helmCharts: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user