Skip to content

Commit

Permalink
switching deployment strategy to recreate for PV
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
  • Loading branch information
matthyx committed Jul 13, 2023
1 parent a0a7855 commit 749f77b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ spec:
replicas: {{ .Values.kubevuln.replicaCount }}
revisionHistoryLimit: 2
strategy:
rollingUpdate:
maxSurge: 0%
maxUnavailable: 100%
type: RollingUpdate
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: {{ .Values.kubevuln.name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
{{ .Values.storage.labels | toYaml | nindent 4 }}
spec:
replicas: {{ .Values.storage.replicaCount }}
revisionHistoryLimit: 2
strategy:
type: Recreate
selector:
matchLabels:
{{ .Values.storage.labels | toYaml | nindent 6 }}
Expand Down

0 comments on commit 749f77b

Please sign in to comment.