diff --git a/stable/minecraft/Chart.yaml b/stable/minecraft/Chart.yaml index 4792ac985f44..546f33c5eaf7 100755 --- a/stable/minecraft/Chart.yaml +++ b/stable/minecraft/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: minecraft -version: 1.2.0 +version: 1.2.1 appVersion: 1.14.4 home: https://minecraft.net/ description: Minecraft server diff --git a/stable/minecraft/templates/deployment.yaml b/stable/minecraft/templates/deployment.yaml index 3ed21b1f99f7..859cedcc31d8 100644 --- a/stable/minecraft/templates/deployment.yaml +++ b/stable/minecraft/templates/deployment.yaml @@ -3,6 +3,12 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "minecraft.fullname" . }} + {{- if .Values.deploymentAnnotations }} + annotations: + {{- range $key, $value := .Values.deploymentAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} labels: app: {{ template "minecraft.fullname" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" diff --git a/stable/minecraft/values.yaml b/stable/minecraft/values.yaml index 215e57035890..170fe1b87615 100644 --- a/stable/minecraft/values.yaml +++ b/stable/minecraft/values.yaml @@ -176,3 +176,5 @@ persistence: Size: 1Gi podAnnotations: {} + +deploymentAnnotations: {}