adding pod annotations to the minecraft chart (#17756)

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek
2019-10-08 11:01:50 -07:00
committed by Kubernetes Prow Robot
parent c0a7ce93fe
commit 4e9b398336
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: minecraft
version: 1.1.0
version: 1.1.1
appVersion: 1.14.4
home: https://minecraft.net/
description: Minecraft server
@@ -8,6 +8,12 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
template:
metadata:
+2
View File
@@ -155,3 +155,5 @@ persistence:
# Set this to false if you don't care to persist state between restarts.
enabled: true
Size: 1Gi
podAnnotations: {}