mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
fix containers order after applying
to be appending instead of prepending.
This commit is contained in:
parent
31205dc7d9
commit
c56bbda368
@ -1366,12 +1366,12 @@ func TestExtractModifyApply_ForceOwnership(t *testing.T) {
|
||||
WithTemplate(corev1ac.PodTemplateSpec().
|
||||
WithSpec(corev1ac.PodSpec().
|
||||
WithContainers(
|
||||
corev1ac.Container().
|
||||
WithName("nginx").
|
||||
WithWorkingDir("/tmp/v2"),
|
||||
corev1ac.Container().
|
||||
WithName("sidecar").
|
||||
WithImage("nginx:1.14.3"),
|
||||
corev1ac.Container().
|
||||
WithName("nginx").
|
||||
WithWorkingDir("/tmp/v2"),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user