mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-02 13:23:13 +00:00
k8s: restore KZG PV/PVC templates
This commit is contained in:
parent
e05bf5e0bd
commit
acaede4b81
@ -0,0 +1,18 @@
|
||||
{{- if eq .Values.kzg.mode "hostPath" }}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: {{ include "nomos-runner.fullname" . }}-kzg
|
||||
labels:
|
||||
{{- include "nomos-runner.labels" . | nindent 4 }}
|
||||
spec:
|
||||
capacity:
|
||||
storage: {{ .Values.kzg.storageSize }}
|
||||
accessModes:
|
||||
- ReadOnlyMany
|
||||
persistentVolumeReclaimPolicy: Delete
|
||||
storageClassName: manual
|
||||
hostPath:
|
||||
path: {{ .Values.kzg.hostPath }}
|
||||
type: {{ .Values.kzg.hostPathType }}
|
||||
{{- end }}
|
||||
@ -0,0 +1,16 @@
|
||||
{{- if eq .Values.kzg.mode "hostPath" }}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: {{ include "nomos-runner.fullname" . }}-kzg
|
||||
labels:
|
||||
{{- include "nomos-runner.labels" . | nindent 4 }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadOnlyMany
|
||||
storageClassName: manual
|
||||
volumeName: {{ include "nomos-runner.fullname" . }}-kzg
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.kzg.storageSize }}
|
||||
{{- end }}
|
||||
Loading…
x
Reference in New Issue
Block a user