Skip to content

Commit

Permalink
enable deployment annotations, bump chart version (helm#21502)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Holt <ryan@ryanholt.net>
  • Loading branch information
carpenike authored Mar 17, 2020
1 parent 7a0bbcd commit 9025b6c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/minecraft/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions stable/minecraft/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 2 additions & 0 deletions stable/minecraft/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,5 @@ persistence:
Size: 1Gi

podAnnotations: {}

deploymentAnnotations: {}

0 comments on commit 9025b6c

Please sign in to comment.