Before, containers with the PostStart sleep lifecycle hook would cause null pointer panics due to a typo in the field name being checked. This commit fixes that. The check also needs to be done on the oldPodSpec, rather than the podSpec, so that existing workloads which use the zero value continue functioning in the same way. |
||
|---|---|---|
| .. | ||
| endpoints/testing | ||
| job | ||
| legacyscheme | ||
| node | ||
| persistentvolume | ||
| persistentvolumeclaim | ||
| pod | ||
| service | ||
| servicecidr | ||
| storage | ||
| testing | ||
| v1 | ||
| OWNERS | ||