Skip to content

Commit

Permalink
define Recreate policy, which ensures easy upgrades when using pvc cl…
Browse files Browse the repository at this point in the history
…aims
  • Loading branch information
ibrokethecloud committed Apr 15, 2024
1 parent 33d258c commit 7ec5dc3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ metadata:
{{- include "vm-import-controller.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
strategy:
type: Recreate
selector:
matchLabels:
{{- include "vm-import-controller.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 7ec5dc3

Please sign in to comment.