mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
Remove hard-coded UpdateStrategy from templates
Provided an option to specify the UpdateStrategy in helm charts. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
74cb18bd28
commit
4d28a981fc
@ -15,6 +15,8 @@ spec:
|
|||||||
app: {{ include "ceph-csi-cephfs.name" . }}
|
app: {{ include "ceph-csi-cephfs.name" . }}
|
||||||
component: {{ .Values.nodeplugin.name }}
|
component: {{ .Values.nodeplugin.name }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
|
updateStrategy:
|
||||||
|
type: {{ .Values.nodeplugin.updateStrategy }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -29,6 +29,8 @@ csiConfig: []
|
|||||||
|
|
||||||
nodeplugin:
|
nodeplugin:
|
||||||
name: nodeplugin
|
name: nodeplugin
|
||||||
|
# if you are using ceph-fuse client set this value to OnDelete
|
||||||
|
updateStrategy: RollingUpdate
|
||||||
|
|
||||||
httpMetrics:
|
httpMetrics:
|
||||||
# Metrics only available for cephcis/cephsi => 1.2.0
|
# Metrics only available for cephcis/cephsi => 1.2.0
|
||||||
|
@ -16,7 +16,7 @@ spec:
|
|||||||
component: {{ .Values.nodeplugin.name }}
|
component: {{ .Values.nodeplugin.name }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
type: OnDelete
|
type: {{ .Values.nodeplugin.updateStrategy }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -29,6 +29,8 @@ csiConfig: []
|
|||||||
|
|
||||||
nodeplugin:
|
nodeplugin:
|
||||||
name: nodeplugin
|
name: nodeplugin
|
||||||
|
# if you are using rbd-nbd client set this value to OnDelete
|
||||||
|
updateStrategy: RollingUpdate
|
||||||
|
|
||||||
httpMetrics:
|
httpMetrics:
|
||||||
# Metrics only available for cephcsi/cephcsi => 1.2.0
|
# Metrics only available for cephcsi/cephcsi => 1.2.0
|
||||||
|
@ -7,8 +7,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: csi-rbdplugin
|
app: csi-rbdplugin
|
||||||
updateStrategy:
|
|
||||||
type: OnDelete
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -7,8 +7,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: csi-rbdplugin
|
app: csi-rbdplugin
|
||||||
updateStrategy:
|
|
||||||
type: OnDelete
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
Reference in New Issue
Block a user