change current version from v1 to v1beta1

This commit is contained in:
Jingfang Liu
2018-12-20 15:32:06 -08:00
parent 6f566d7a38
commit 1cd99ab68e
24 changed files with 26 additions and 33 deletions

View File

@@ -35,7 +35,7 @@ import (
const (
kustomizationContent1 = `
apiVersion: v1
apiVersion: v1beta1
kind: Kustomization
namePrefix: foo-
nameSuffix: -bar
@@ -67,7 +67,7 @@ patchesJson6902:
path: jsonpatch.json
`
kustomizationContent2 = `
apiVersion: v1
apiVersion: v1beta1
kind: Kustomization
secretGenerator:
- name: secret

View File

@@ -60,7 +60,7 @@ func writeF(
func writeK(
t *testing.T, ldr loadertest.FakeLoader, dir string, content string) {
writeF(t, ldr, filepath.Join(dir, constants.KustomizationFileName), `
apiVersion: v1
apiVersion: v1beta1
kind: Kustomization
`+content)
}