feat: Add persistence configuration to Helm chart for card image caching and update image repository and tag.
All checks were successful
Build and Deploy / build (push) Successful in 1m19s
All checks were successful
Build and Deploy / build (push) Successful in 1m19s
This commit is contained in:
@@ -45,6 +45,11 @@ spec:
|
||||
httpGet:
|
||||
path: /api/health
|
||||
port: http
|
||||
volumeMounts:
|
||||
{{- if .Values.persistence.enabled }}
|
||||
- name: cards-storage
|
||||
mountPath: {{ .Values.persistence.mountPath }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
@@ -59,3 +64,9 @@ spec:
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if .Values.persistence.enabled }}
|
||||
- name: cards-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.existingClaim | default (include "mtg-draft-maker.fullname" .) }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user