Skip to content

Commit ab75e16

Browse files
authored
[minecraft] - Revert #9 (#11)
1 parent 3a57a31 commit ab75e16

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

charts/minecraft/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: minecraft
3-
version: 2.0.3
3+
version: 2.0.4
44
appVersion: 1.14.4
55
home: https://minecraft.net/
66
description: Minecraft server

charts/minecraft/templates/datadir-pvc.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ metadata:
99
release: "{{ .Release.Name }}"
1010
heritage: "{{ .Release.Service }}"
1111
annotations:
12+
{{- if .Values.persistence.storageClass }}
13+
volume.beta.kubernetes.io/storage-class: {{ .Values.persistence.storageClass | quote }}
14+
{{- else }}
15+
volume.alpha.kubernetes.io/storage-class: default
16+
{{- end }}
1217
spec:
1318
accessModes:
1419
- ReadWriteOnce

0 commit comments

Comments
 (0)