Skip to content
Snippets Groups Projects
Commit d3e97551eb30 authored by Xavier Garnier's avatar Xavier Garnier :bicyclist:
Browse files

fix(strategy): don't use strategy on stateful mode

parent d46b80788fbe
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
app.kubernetes.io/name: {{ .Values.appName }} app.kubernetes.io/name: {{ .Values.appName }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
spec: spec:
{{- if .Values.strategy }} {{- if and (not .Values.stateful) .Values.strategy }}
strategy: strategy:
type: {{ .Values.strategy }} type: {{ .Values.strategy }}
...@@ -11,6 +11,6 @@ ...@@ -11,6 +11,6 @@
strategy: strategy:
type: {{ .Values.strategy }} type: {{ .Values.strategy }}
{{ end }} {{- end }}
{{- if .Values.stateful }} {{- if .Values.stateful }}
serviceName: {{ .Values.appName }} serviceName: {{ .Values.appName }}
{{ end }} {{ end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment