gitea-act-runner: bump to v0.2.5, helm chart v0.1.6

This commit is contained in:
ace 2023-09-15 23:43:34 +03:00
parent a56f5245c7
commit 4a5526183a
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
4 changed files with 24 additions and 5 deletions

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.5 version: 0.1.6
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

View File

@ -2,7 +2,7 @@
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: {{ template "gitea-act-runner.fullname" . }} name: {{ template "gitea-act-runner.fullname" . }}-data
labels: labels:
app: {{ template "gitea-act-runner.name" . }} app: {{ template "gitea-act-runner.name" . }}
chart: {{ template "gitea-act-runner.chart" . }} chart: {{ template "gitea-act-runner.chart" . }}

View File

@ -88,6 +88,8 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
volumeMounts: volumeMounts:
- name: gitea-act-runner-data
mountPath: /data
- name: docker-certs - name: docker-certs
mountPath: /certs mountPath: /certs
resources: resources:
@ -98,7 +100,7 @@ spec:
- name: gitea-act-runner-data - name: gitea-act-runner-data
{{- if .Values.persistence.enabled }} {{- if .Values.persistence.enabled }}
persistentVolumeClaim: persistentVolumeClaim:
claimName: {{ .Values.persistence.existingClaim | default (include "gitea-act-runner.fullname" .) }} claimName: {{ .Values.persistence.existingClaim | default (include "gitea-act-runner.fullname" .) }}-data
{{- else }} {{- else }}
emptyDir: {} emptyDir: {}
{{- end }} {{- end }}

View File

@ -68,6 +68,23 @@ configAsCode:
# The parent directory of a job's working directory. # The parent directory of a job's working directory.
# If it's empty, /workspace will be used. # If it's empty, /workspace will be used.
workdir_parent: workdir_parent:
# Volumes (including bind mounts) can be mounted to containers. Glob syntax is supported, see https://github.com/gobwas/glob
# You can specify multiple volumes. If the sequence is empty, no volumes can be mounted.
# For example, if you only allow containers to mount the `data` volume and all the json files in `/src`, you should change the config to:
# valid_volumes:
# - data
# - /src/*.json
# If you want to allow any volume, please use the following configuration:
# valid_volumes:
# - '**'
valid_volumes:
- /data/containers
# overrides the docker client host with the specified one.
# If it's empty, act_runner will find an available docker host automatically.
# If it's "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers.
# If it's not empty or "-", the specified docker host will be used. An error will be returned if it doesn't work.
docker_host: ""
serviceAccount: serviceAccount:
# Specifies whether a service account should be created # Specifies whether a service account should be created