From 81293a17a8e80fd621bf24e89608ad9e9a85e7c0 Mon Sep 17 00:00:00 2001 From: Michael Plump Date: Fri, 15 Nov 2024 17:43:44 -0500 Subject: [PATCH] fix: fix a test some yaml tooling somewhere changed the way it writes lists --- .../render/applysetters/apply_setters_test.go | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pkg/skaffold/render/applysetters/apply_setters_test.go b/pkg/skaffold/render/applysetters/apply_setters_test.go index a7092b39c29..2b424f30ab3 100644 --- a/pkg/skaffold/render/applysetters/apply_setters_test.go +++ b/pkg/skaffold/render/applysetters/apply_setters_test.go @@ -123,8 +123,8 @@ spec: template: spec: containers: - - name: nginx - image: ubuntu:1.8.0 # from-param: ${image}:${tag} + - name: nginx + image: ubuntu:1.8.0 # from-param: ${image}:${tag} `, }, { @@ -153,8 +153,8 @@ spec: template: spec: containers: - - name: nginx - image: ubuntu:1.7.9 # from-param: ${image}:${tag} + - name: nginx + image: ubuntu:1.7.9 # from-param: ${image}:${tag} `, }, { @@ -183,8 +183,8 @@ spec: template: spec: containers: - - name: nginx - image: ubuntu-~!@#$%^&*()<>?"|:1.7.9 # from-param: ${image-~!@#$%^&*()<>?"|}:${tag} + - name: nginx + image: ubuntu-~!@#$%^&*()<>?"|:1.7.9 # from-param: ${image-~!@#$%^&*()<>?"|}:${tag} `, }, { @@ -214,8 +214,8 @@ spec: template: spec: containers: - - name: nginx - image: nginx:1.7.9 # from-param: ${image}:${tag} + - name: nginx + image: nginx:1.7.9 # from-param: ${image}:${tag} `, }, { @@ -273,8 +273,8 @@ metadata: name: nginx-deployment spec: images: # from-param: ${images} - - ubuntu - - hbase + - ubuntu + - hbase `, }, { @@ -378,8 +378,8 @@ spec: template: spec: containers: - - name: nginx - image: nginx:1.7.9 # from-param: ${image}:${tag} + - name: nginx + image: nginx:1.7.9 # from-param: ${image}:${tag} `, }, { @@ -442,11 +442,11 @@ metadata: namespace: "foo" # from-param: ${ns} image: nginx:1.7.1 # from-param: ${image}:${tag} env: # from-param: ${env} - - foo - - bar +- foo +- bar roles: # from-param: ${roles} - - dev - - prod +- dev +- prod `, }, }