Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/minecraft] configurable upgrade strategy type #21272

Merged
merged 1 commit into from
Mar 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.1.7
version: 1.2.0
appVersion: 1.14.4
home: https://minecraft.net/
description: Minecraft server
Expand Down
2 changes: 2 additions & 0 deletions stable/minecraft/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
strategy:
type: {{ .Values.strategyType }}
selector:
matchLabels:
app: {{ template "minecraft.fullname" . }}
Expand Down
3 changes: 3 additions & 0 deletions stable/minecraft/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ resources:
memory: 512Mi
cpu: 500m

# upgrade strategy type (e.g. Recreate or RollingUpdate)
strategyType: Recreate

nodeSelector: {}

tolerations: []
Expand Down