You've already forked act_runner-helm
Add share docker storage
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.1.0
|
version: 1.2.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: docker-data
|
- name: {{ include "act_runner.fullname" . }}-docker-data
|
||||||
mountPath: /shared
|
mountPath: /shared
|
||||||
- name: {{ include "act_runner.fullname" . }}-pvc
|
- name: {{ include "act_runner.fullname" . }}-pvc
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
@@ -65,11 +65,12 @@ spec:
|
|||||||
- name: DOCKER_TLS_CERTDIR
|
- name: DOCKER_TLS_CERTDIR
|
||||||
value: ""
|
value: ""
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: docker-data
|
- name: {{ include "act_runner.fullname" . }}-docker-data
|
||||||
mountPath: /shared
|
mountPath: /shared
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-data
|
- name: {{ include "act_runner.fullname" . }}-docker-data
|
||||||
emptyDir:
|
persistentVolumeClaim:
|
||||||
|
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,3 +16,21 @@ 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 }}
|
||||||
|
|||||||
@@ -63,6 +63,9 @@ affinity: {}
|
|||||||
|
|
||||||
act_runner:
|
act_runner:
|
||||||
storageclass: "default"
|
storageclass: "default"
|
||||||
|
sharedStorageSize: "50G"
|
||||||
|
sharedStorageClass: "default"
|
||||||
|
|
||||||
instance: "https://gitea.example.com"
|
instance: "https://gitea.example.com"
|
||||||
token: ""
|
token: ""
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user