You've already forked act_runner-helm
Change labels & add registry mirror
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
apiVersion: v2
|
||||
name: act-runner
|
||||
type: application
|
||||
version: 1.2.0
|
||||
version: 1.3.0
|
||||
appVersion: "0.2.10"
|
||||
|
||||
@@ -50,7 +50,7 @@ spec:
|
||||
- name: GITEA_RUNNER_LABELS
|
||||
value: {{ join "," .Values.act_runner.labels }}
|
||||
volumeMounts:
|
||||
- name: {{ include "act_runner.fullname" . }}-docker-data
|
||||
- name: docker-data
|
||||
mountPath: /shared
|
||||
- name: {{ include "act_runner.fullname" . }}-pvc
|
||||
mountPath: /data
|
||||
@@ -64,13 +64,14 @@ spec:
|
||||
value: "overlay2"
|
||||
- name: DOCKER_TLS_CERTDIR
|
||||
value: ""
|
||||
- name: DOCKER_REGISTRY_MIRROR
|
||||
value: {{ .Values.act_runner.registryMirror }}
|
||||
volumeMounts:
|
||||
- name: {{ include "act_runner.fullname" . }}-docker-data
|
||||
- name: docker-data
|
||||
mountPath: /shared
|
||||
volumes:
|
||||
- name: {{ include "act_runner.fullname" . }}-docker-data
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ include "act_runner.fullname" . }}-shared-pvc
|
||||
- name: docker-data
|
||||
emptyDir: { }
|
||||
- name: {{ include "act_runner.fullname" . }}-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ include "act_runner.fullname" . }}-pvc
|
||||
|
||||
@@ -16,21 +16,3 @@ spec:
|
||||
requests:
|
||||
storage: "1024Mi"
|
||||
storageClassName: {{ .Values.act_runner.storageclass }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: {{ include "act_runner.fullname" . }}-shared-pvc
|
||||
labels:
|
||||
{{- include "act_runner.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.act_runner.sharedStorageSize }}
|
||||
storageClassName: {{ .Values.act_runner.sharedStorageClass }}
|
||||
|
||||
11
values.yaml
11
values.yaml
@@ -63,13 +63,12 @@ affinity: {}
|
||||
|
||||
act_runner:
|
||||
storageclass: "default"
|
||||
sharedStorageSize: "50G"
|
||||
sharedStorageClass: "default"
|
||||
registryMirror: ""
|
||||
|
||||
instance: "https://gitea.example.com"
|
||||
token: ""
|
||||
labels:
|
||||
- "ubuntu-latest:docker://node:16-bullseye"
|
||||
- "ubuntu-22.04:docker://node:16-bullseye"
|
||||
- "ubuntu-20.04:docker://node:16-bullseye"
|
||||
- "ubuntu-18.04:docker://node:16-buster"
|
||||
- "ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
|
||||
- "ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
|
||||
- "ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04"
|
||||
- "ubuntu-18.04:docker://catthehacker/ubuntu:act-20.04"
|
||||
Reference in New Issue
Block a user