Add Helm chart
pipeline / build-and-push-images (push) Successful in 1m19s
pipeline / lint-and-publish-chart (push) Successful in 9s

This commit is contained in:
2026-05-11 23:15:31 +02:00
parent 259ad574d1
commit c8641ce668
11 changed files with 442 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
{{- if .Values.nfs.enabled -}}
apiVersion: v1
kind: PersistentVolume
metadata:
name: {{ include "vhaudiquet-fr.fullname" . }}-public
labels:
{{- include "vhaudiquet-fr.labels" . | nindent 4 }}
spec:
capacity:
storage: {{ .Values.nfs.storageSize }}
accessModes:
- ReadOnlyMany
persistentVolumeReclaimPolicy: Retain
storageClassName: {{ .Values.nfs.storageClassName | default (printf "%s-nfs" (include "vhaudiquet-fr.fullname" .)) }}
nfs:
server: {{ .Values.nfs.server | required "nfs.server is required when nfs.enabled is true" }}
path: {{ .Values.nfs.path }}
{{- end }}