Skip to content

Commit 2d997b1

Browse files
authored
minecraft-proxy: add optional labels and annotations on PVC (#291)
* feat(proxy): add optional labels and annotations on PVC * chore(proxy): bump version to 3.10.0
1 parent 2ef285b commit 2d997b1

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

charts/minecraft-proxy/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-proxy
3-
version: 3.9.0
3+
version: 3.10.0
44
appVersion: SeeValues
55
description: Minecraft proxy server (BungeeCord, Waterfall, Velocity, etc.)
66
keywords:

charts/minecraft-proxy/templates/datadir-pvc.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ metadata:
99
chart: "{{ include "chart.fullname" . }}"
1010
release: "{{ .Release.Name }}"
1111
heritage: "{{ .Release.Service }}"
12+
{{- with .Values.persistence.labels }}
13+
{{ toYaml . | nindent 4 }}
14+
{{- end }}
1215
annotations:
16+
{{- with .Values.persistence.annotations }}
17+
{{ toYaml . | nindent 4 }}
18+
{{- end }}
1319
{{- if .Values.persistence.storageClass }}
1420
volume.beta.kubernetes.io/storage-class: {{ .Values.persistence.storageClass | quote }}
1521
{{- else }}

charts/minecraft-proxy/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ extraEnv:
261261
# fieldPath: status.hostIP
262262

263263
persistence:
264+
labels: {}
265+
annotations: {}
264266
## minecraft data Persistent Volume Storage Class
265267
## If defined, storageClassName: <storageClass>
266268
## If set to "-", storageClassName: "", which disables dynamic provisioning

0 commit comments

Comments
 (0)