When creating a pod, switching between config view and yaml view breaks the pod spec #10171
Labels
area/workloads
kind/bug
kind/design
kind/tech-debt
Technical debt
QA/manual-test
Indicates issue requires manually testing
Milestone
To reproduce:
Result:
The pod now has
spec.template.spec.containers
defined instead ofspec.containers
and creation fails.Additional Context
spec.template.spec.containers
would be correct for a workload. There appear to be some shenanigans going on behind-the-scenes with pod creation/editing in order to use the same form as workloads.https://github.com/rancher/dashboard/blob/master/shell/edit/workload/mixins/workload.js#L181-L202
The text was updated successfully, but these errors were encountered: