From 1bef8c4cdd06746ee75348e934cf0dd518ae846a Mon Sep 17 00:00:00 2001 From: msk- Date: Thu, 21 Jan 2021 10:13:42 +0000 Subject: [PATCH] Added ASCII art per PR feedback --- api/krusty/diamondpatchref_test.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/api/krusty/diamondpatchref_test.go b/api/krusty/diamondpatchref_test.go index 4dc9a00b8e..3d20a4b852 100644 --- a/api/krusty/diamondpatchref_test.go +++ b/api/krusty/diamondpatchref_test.go @@ -3,6 +3,20 @@ package krusty_test +// In the following structure `top` patches `left-deploy` and `right-deploy` to reference the +// configMap in `bottom`. This test verifies `configMapRef.name` in `left-deploy` and +// `right-deploy` is modified correctly. +// +// top +// / \ +// left right +// / \ / \ +// left-service bottom bottom right-service +// | \ / | +// left-deploy bottom right-deploy +// | +// configMap + import ( "testing"