Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
make update strategy depend on PV access mode (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoehdoi authored and Julien Garcia Gonzalez committed Nov 25, 2019
1 parent f5a770c commit e12183e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/aqua-app-server/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ metadata:
heritage: "{{ .Release.Service }}"
spec:
replicas: {{ .Values.web.replicaCount }}
{{- if eq .Values.web.persistence.accessMode "ReadWriteOnce" }}
strategy:
type: Recreate
{{- end}}
selector:
matchLabels:
app: {{ .Release.Name }}-console
Expand Down

0 comments on commit e12183e

Please sign in to comment.