From 7ac37867dc87e7cfddd760f2df9534a61b369b2d Mon Sep 17 00:00:00 2001 From: msk- Date: Tue, 19 Jan 2021 18:00:02 +0000 Subject: [PATCH] tidy-up, added desired behaviour --- api/krusty/diamondpatchref_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/krusty/diamondpatchref_test.go b/api/krusty/diamondpatchref_test.go index 5652562fc..76747ce76 100644 --- a/api/krusty/diamondpatchref_test.go +++ b/api/krusty/diamondpatchref_test.go @@ -100,7 +100,7 @@ patches: th.WriteK("top/left/bottom", `namePrefix: left- resources: - - ../../../bottom +- ../../../bottom `) th.WriteK("top/right", `resources: @@ -132,11 +132,11 @@ patches: th.WriteK("top/right/bottom", `namePrefix: right- resources: - - ../../../bottom +- ../../../bottom `) m := th.Run("top", th.MakeDefaultOptions()) - // Per #2609, the desired behavior is for configMapRef.name and configMapKeyRef.name to be "mysql-9792mdchtg" not "mysql" + // Desired behaviour: configMapKeyRef should reference ConfigMap names. th.AssertActualEqualsExpected(m, `apiVersion: apps/v1 kind: Deployment metadata: