From 766c1c951f61e43140711c00aa47ca8c1bbecf8d Mon Sep 17 00:00:00 2001 From: xiaomudk Date: Tue, 22 Nov 2022 10:19:48 +0800 Subject: [PATCH] Remove redundant metadata fields from test samples Signed-off-by: xiaomudk --- test/integration/charts/httpbin/templates/deployment.yaml | 1 - test/integration/templates-golden/v2/httpbin/deployment.yaml | 1 - test/integration/templates-golden/v3/httpbin/deployment.yaml | 1 - test/integration/yaml-features-golden/overwritten.yaml | 1 - 4 files changed, 4 deletions(-) diff --git a/test/integration/charts/httpbin/templates/deployment.yaml b/test/integration/charts/httpbin/templates/deployment.yaml index f149c099..000391ab 100644 --- a/test/integration/charts/httpbin/templates/deployment.yaml +++ b/test/integration/charts/httpbin/templates/deployment.yaml @@ -1,6 +1,5 @@ apiVersion: apps/v1 kind: Deployment -metadata: metadata: name: {{ template "httpbin.fullname" . }} labels: diff --git a/test/integration/templates-golden/v2/httpbin/deployment.yaml b/test/integration/templates-golden/v2/httpbin/deployment.yaml index c902c48c..c3a72a3e 100644 --- a/test/integration/templates-golden/v2/httpbin/deployment.yaml +++ b/test/integration/templates-golden/v2/httpbin/deployment.yaml @@ -2,7 +2,6 @@ # Source: httpbin/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment -metadata: metadata: name: httpbin-httpbin labels: diff --git a/test/integration/templates-golden/v3/httpbin/deployment.yaml b/test/integration/templates-golden/v3/httpbin/deployment.yaml index 9a7c0230..ec925e47 100644 --- a/test/integration/templates-golden/v3/httpbin/deployment.yaml +++ b/test/integration/templates-golden/v3/httpbin/deployment.yaml @@ -2,7 +2,6 @@ # Source: httpbin/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment -metadata: metadata: name: httpbin-httpbin labels: diff --git a/test/integration/yaml-features-golden/overwritten.yaml b/test/integration/yaml-features-golden/overwritten.yaml index 241e9519..3442c65a 100644 --- a/test/integration/yaml-features-golden/overwritten.yaml +++ b/test/integration/yaml-features-golden/overwritten.yaml @@ -23,7 +23,6 @@ spec: # Source: httpbin/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment -metadata: metadata: name: httpbin-httpbin labels: