Commit 5a0fc87
authored
postStart hook commands timeout (#1440)
* feat: timeout the postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* chore: run make update_devworkspace_api update_devworkspace_crds generate_all
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* test: add/update tests related to postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! chore: run make update_devworkspace_api update_devworkspace_crds generate_all
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! test: add/update tests related to postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! feat: timeout the postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fixup! test: add/update tests related to postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fixup! feat: timeout the postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fixup! fixup! test: add/update tests related to postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fixup! fixup! feat: timeout the postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fixup! fixup! fixup! test: add/update tests related to postStart hook commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fix: fall back to the original behaviour if timeout is disabled
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fix: add postStartTimeout
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fix: remove default postStartTimeout value
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fix: remove default postStartTimeout value
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fix: fall back to the original behaviour if timeout is disabled
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fixup! fix: fall back to the original behaviour if timeout is disabled
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fixup! fixup! fix: fall back to the original behaviour if timeout is disabled
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fix: support env var for postStart commands
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fix: change type `*int32` to `string`
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fix: change type `*int32` to `string`
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
* fixup! fixup! fix: change type `*int32` to `string`
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
---------
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>1 parent a6a3e62 commit 5a0fc87
File tree
19 files changed
+887
-26
lines changed- apis/controller/v1alpha1
- controllers/workspace
- deploy
- bundle/manifests
- deployment
- kubernetes
- objects
- openshift
- objects
- templates/crd/bases
- pkg
- config
- library
- container
- lifecycle
- testdata/postStart
- status
19 files changed
+887
-26
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
192 | 199 | | |
193 | 200 | | |
194 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
| |||
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
434 | 438 | | |
435 | 439 | | |
436 | 440 | | |
| |||
601 | 605 | | |
602 | 606 | | |
603 | 607 | | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
604 | 611 | | |
605 | 612 | | |
606 | 613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments