You've already forked act_runner-helm
Change labels & add registry mirror
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: act-runner
|
name: act-runner
|
||||||
type: application
|
type: application
|
||||||
version: 1.2.0
|
version: 1.3.0
|
||||||
appVersion: "0.2.10"
|
appVersion: "0.2.10"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ spec:
|
|||||||
- name: GITEA_RUNNER_LABELS
|
- name: GITEA_RUNNER_LABELS
|
||||||
value: {{ join "," .Values.act_runner.labels }}
|
value: {{ join "," .Values.act_runner.labels }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: {{ include "act_runner.fullname" . }}-docker-data
|
- name: docker-data
|
||||||
mountPath: /shared
|
mountPath: /shared
|
||||||
- name: {{ include "act_runner.fullname" . }}-pvc
|
- name: {{ include "act_runner.fullname" . }}-pvc
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
@@ -64,13 +64,14 @@ spec:
|
|||||||
value: "overlay2"
|
value: "overlay2"
|
||||||
- name: DOCKER_TLS_CERTDIR
|
- name: DOCKER_TLS_CERTDIR
|
||||||
value: ""
|
value: ""
|
||||||
|
- name: DOCKER_REGISTRY_MIRROR
|
||||||
|
value: {{ .Values.act_runner.registryMirror }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: {{ include "act_runner.fullname" . }}-docker-data
|
- name: docker-data
|
||||||
mountPath: /shared
|
mountPath: /shared
|
||||||
volumes:
|
volumes:
|
||||||
- name: {{ include "act_runner.fullname" . }}-docker-data
|
- name: docker-data
|
||||||
persistentVolumeClaim:
|
emptyDir: { }
|
||||||
claimName: {{ include "act_runner.fullname" . }}-shared-pvc
|
|
||||||
- name: {{ include "act_runner.fullname" . }}-pvc
|
- name: {{ include "act_runner.fullname" . }}-pvc
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "act_runner.fullname" . }}-pvc
|
claimName: {{ include "act_runner.fullname" . }}-pvc
|
||||||
|
|||||||
@@ -16,21 +16,3 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
storage: "1024Mi"
|
storage: "1024Mi"
|
||||||
storageClassName: {{ .Values.act_runner.storageclass }}
|
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 }}
|
|
||||||
|
|||||||
35
values.yaml
35
values.yaml
@@ -10,7 +10,7 @@ image:
|
|||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "0.2.10"
|
tag: "0.2.10"
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: [ ]
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
@@ -18,25 +18,25 @@ serviceAccount:
|
|||||||
# Specifies whether a service account should be created
|
# Specifies whether a service account should be created
|
||||||
create: true
|
create: true
|
||||||
# Annotations to add to the service account
|
# Annotations to add to the service account
|
||||||
annotations: {}
|
annotations: { }
|
||||||
# The name of the service account to use.
|
# The name of the service account to use.
|
||||||
# If not set and create is true, a name is generated using the fullname template
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
name: ""
|
name: ""
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: { }
|
||||||
|
|
||||||
podSecurityContext: {}
|
podSecurityContext: { }
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
securityContext: {}
|
securityContext: { }
|
||||||
# capabilities:
|
# capabilities:
|
||||||
# drop:
|
# drop:
|
||||||
# - ALL
|
# - ALL
|
||||||
# readOnlyRootFilesystem: true
|
# readOnlyRootFilesystem: true
|
||||||
# runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
# runAsUser: 1000
|
# runAsUser: 1000
|
||||||
|
|
||||||
resources: {}
|
resources: { }
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
@@ -46,7 +46,7 @@ resources: {}
|
|||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
# requests:
|
# requests:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
|
|
||||||
autoscaling:
|
autoscaling:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -55,21 +55,20 @@ autoscaling:
|
|||||||
targetCPUUtilizationPercentage: 80
|
targetCPUUtilizationPercentage: 80
|
||||||
# targetMemoryUtilizationPercentage: 80
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: { }
|
||||||
|
|
||||||
tolerations: []
|
tolerations: [ ]
|
||||||
|
|
||||||
affinity: {}
|
affinity: { }
|
||||||
|
|
||||||
act_runner:
|
act_runner:
|
||||||
storageclass: "default"
|
storageclass: "default"
|
||||||
sharedStorageSize: "50G"
|
registryMirror: ""
|
||||||
sharedStorageClass: "default"
|
|
||||||
|
|
||||||
instance: "https://gitea.example.com"
|
instance: "https://gitea.example.com"
|
||||||
token: ""
|
token: ""
|
||||||
labels:
|
labels:
|
||||||
- "ubuntu-latest:docker://node:16-bullseye"
|
- "ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
|
||||||
- "ubuntu-22.04:docker://node:16-bullseye"
|
- "ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
|
||||||
- "ubuntu-20.04:docker://node:16-bullseye"
|
- "ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04"
|
||||||
- "ubuntu-18.04:docker://node:16-buster"
|
- "ubuntu-18.04:docker://catthehacker/ubuntu:act-20.04"
|
||||||
Reference in New Issue
Block a user