add apiVersiond and kind in tests to reduce test noise

This commit is contained in:
Jingfang Liu
2018-12-14 14:44:37 -08:00
parent b971e6a1da
commit b6b2fb9c62
29 changed files with 60 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ import (
const (
kustomizationContent1 = `
apiVersion: v1
kind: Kustomization
namePrefix: foo-
nameSuffix: -bar
namespace: ns1
@@ -68,6 +70,8 @@ patchesJson6902:
path: jsonpatch.json
`
kustomizationContent2 = `
apiVersion: v1
kind: Kustomization
secretGenerator:
- name: secret
timeoutSeconds: 1