File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
staging/src/k8s.io/api/apps Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -81,13 +81,13 @@ const (
81
81
// ordering constraints. When a scale operation is performed with this
82
82
// strategy, new Pods will be created from the specification version indicated
83
83
// by the StatefulSet's updateRevision.
84
- RollingUpdateStatefulSetStrategyType = "RollingUpdate"
84
+ RollingUpdateStatefulSetStrategyType StatefulSetUpdateStrategyType = "RollingUpdate"
85
85
// OnDeleteStatefulSetStrategyType triggers the legacy behavior. Version
86
86
// tracking and ordered rolling restarts are disabled. Pods are recreated
87
87
// from the StatefulSetSpec when they are manually deleted. When a scale
88
88
// operation is performed with this strategy,specification version indicated
89
89
// by the StatefulSet's currentRevision.
90
- OnDeleteStatefulSetStrategyType = "OnDelete"
90
+ OnDeleteStatefulSetStrategyType StatefulSetUpdateStrategyType = "OnDelete"
91
91
)
92
92
93
93
// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
Original file line number Diff line number Diff line change @@ -95,13 +95,13 @@ const (
95
95
// ordering constraints. When a scale operation is performed with this
96
96
// strategy, new Pods will be created from the specification version indicated
97
97
// by the StatefulSet's updateRevision.
98
- RollingUpdateStatefulSetStrategyType = "RollingUpdate"
98
+ RollingUpdateStatefulSetStrategyType StatefulSetUpdateStrategyType = "RollingUpdate"
99
99
// OnDeleteStatefulSetStrategyType triggers the legacy behavior. Version
100
100
// tracking and ordered rolling restarts are disabled. Pods are recreated
101
101
// from the StatefulSetSpec when they are manually deleted. When a scale
102
102
// operation is performed with this strategy,specification version indicated
103
103
// by the StatefulSet's currentRevision.
104
- OnDeleteStatefulSetStrategyType = "OnDelete"
104
+ OnDeleteStatefulSetStrategyType StatefulSetUpdateStrategyType = "OnDelete"
105
105
)
106
106
107
107
// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
Original file line number Diff line number Diff line change @@ -134,13 +134,13 @@ const (
134
134
// ordering constraints. When a scale operation is performed with this
135
135
// strategy, new Pods will be created from the specification version indicated
136
136
// by the StatefulSet's updateRevision.
137
- RollingUpdateStatefulSetStrategyType = "RollingUpdate"
137
+ RollingUpdateStatefulSetStrategyType StatefulSetUpdateStrategyType = "RollingUpdate"
138
138
// OnDeleteStatefulSetStrategyType triggers the legacy behavior. Version
139
139
// tracking and ordered rolling restarts are disabled. Pods are recreated
140
140
// from the StatefulSetSpec when they are manually deleted. When a scale
141
141
// operation is performed with this strategy,specification version indicated
142
142
// by the StatefulSet's currentRevision.
143
- OnDeleteStatefulSetStrategyType = "OnDelete"
143
+ OnDeleteStatefulSetStrategyType StatefulSetUpdateStrategyType = "OnDelete"
144
144
)
145
145
146
146
// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
Original file line number Diff line number Diff line change @@ -141,13 +141,13 @@ const (
141
141
// ordering constraints. When a scale operation is performed with this
142
142
// strategy, new Pods will be created from the specification version indicated
143
143
// by the StatefulSet's updateRevision.
144
- RollingUpdateStatefulSetStrategyType = "RollingUpdate"
144
+ RollingUpdateStatefulSetStrategyType StatefulSetUpdateStrategyType = "RollingUpdate"
145
145
// OnDeleteStatefulSetStrategyType triggers the legacy behavior. Version
146
146
// tracking and ordered rolling restarts are disabled. Pods are recreated
147
147
// from the StatefulSetSpec when they are manually deleted. When a scale
148
148
// operation is performed with this strategy,specification version indicated
149
149
// by the StatefulSet's currentRevision.
150
- OnDeleteStatefulSetStrategyType = "OnDelete"
150
+ OnDeleteStatefulSetStrategyType StatefulSetUpdateStrategyType = "OnDelete"
151
151
)
152
152
153
153
// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
You can’t perform that action at this time.
0 commit comments