Commit 3e86101
authored
upgrade deamonset from v1alpha1 to v1beta1 (#2211)
* upgrade deamonset from v1alpha1 to v1beta1
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>
update webhook logic
add omitempty to DaemonSetHash
add currentRevision cal logic
update CurrentRevision cal logic
optimize
fix e2e test
* change Partition to IntOrString
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>
remove debug log
* remove CurrentRevision status
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>
* do not remove ProgressiveCreatePod Annotation in convert to v1beta1
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>
* change DaemonSetScaleStrategy cfg from Progressive to PartitionedScaling
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>
* add more ut in daemonset validate webhook
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>
---------
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>1 parent 0ca7821 commit 3e86101
41 files changed
Lines changed: 5395 additions & 293 deletions
File tree
- apis/apps
- defaults
- v1alpha1
- v1beta1
- config
- crd
- bases
- webhook
- pkg
- client
- clientset/versioned/typed/apps/v1beta1
- fake
- informers/externalversions
- apps/v1beta1
- listers/apps/v1beta1
- controller/daemonset
- webhook/daemonset
- mutating
- validating
- test/e2e
- apps/v1beta1
- framework
- v1alpha1
- v1beta1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
0 commit comments