mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 10:30:59 +00:00
change current version from v1 to v1beta1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user