Added storage provisioner

This commit is contained in:
Morten Olsen
2025-08-11 10:52:39 +02:00
parent aa6d14738a
commit 598f54581c
5 changed files with 117 additions and 5 deletions

View File

@@ -33,6 +33,14 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: data-volumes
mountPath: {{ .Values.storage.path }}
volumes:
- name: data-volumes
hostPath:
path: {{ .Values.storage.path }}
type: DirectoryOrCreate
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View File

@@ -9,8 +9,11 @@ image:
tag: main
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
nameOverride: ''
fullnameOverride: ''
storage:
path: /data/volumes
serviceAccount:
# Specifies whether a service account should be created
@@ -19,7 +22,7 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
name: ''
podAnnotations: {}
@@ -50,4 +53,4 @@ nodeSelector: {}
tolerations: []
affinity: {}
affinity: {}