You've already forked act_runner-helm
Add shared storage
This commit is contained in:
@@ -49,6 +49,10 @@ spec:
|
||||
key: act-runner-token
|
||||
- name: GITEA_RUNNER_LABELS
|
||||
value: {{ join "," .Values.act_runner.labels }}
|
||||
- name: ACT_CACHE_SERVER_ENABLED
|
||||
value: "true"
|
||||
- name: ACT_CACHE_SERVER_DIR
|
||||
value: "/data/cache/server"
|
||||
volumeMounts:
|
||||
- name: docker-data
|
||||
mountPath: /shared
|
||||
@@ -69,12 +73,17 @@ spec:
|
||||
volumeMounts:
|
||||
- name: docker-data
|
||||
mountPath: /shared
|
||||
- name: {{ include "act_runner.fullname" . }}-shared-pvc
|
||||
mountPath: "/data/cache/server"
|
||||
volumes:
|
||||
- name: docker-data
|
||||
emptyDir: { }
|
||||
- name: {{ include "act_runner.fullname" . }}-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ include "act_runner.fullname" . }}-pvc
|
||||
- name: {{ include "act_runner.fullname" . }}-shared-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ include "act_runner.fullname" . }}-shared-pvc
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user