@@ -180,7 +180,7 @@ Copyright %s Example Owners.
180
180
Context ("with defaults " , func () {
181
181
It ("should match the golden file" , func () {
182
182
instance := & project.Makefile {Image : "controller:latest" }
183
- instance .Repo = "sigs.k8s.io/kubebuilder/test/ project"
183
+ instance .Repo = "project"
184
184
Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
185
185
186
186
// Verify the contents matches the golden file.
@@ -197,7 +197,7 @@ Copyright %s Example Owners.
197
197
Context ("with defaults " , func () {
198
198
It ("should match the golden file" , func () {
199
199
instance := & project.Kustomize {Prefix : "project" }
200
- instance .Repo = "sigs.k8s.io/kubebuilder/test/ project"
200
+ instance .Repo = "project"
201
201
Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
202
202
203
203
// Verify the contents matches the golden file.
@@ -214,7 +214,7 @@ Copyright %s Example Owners.
214
214
Context ("with rbac" , func () {
215
215
It ("should match the golden file" , func () {
216
216
instance := & project.KustomizeRBAC {}
217
- instance .Repo = "sigs.k8s.io/kubebuilder/test/ project"
217
+ instance .Repo = "project"
218
218
Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
219
219
220
220
// Verify the contents matches the golden file.
@@ -231,7 +231,7 @@ Copyright %s Example Owners.
231
231
Context ("with manager" , func () {
232
232
It ("should match the golden file" , func () {
233
233
instance := & project.KustomizeManager {}
234
- instance .Repo = "sigs.k8s.io/kubebuilder/test/ project"
234
+ instance .Repo = "project"
235
235
Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
236
236
237
237
// Verify the contents matches the golden file.
@@ -248,7 +248,7 @@ Copyright %s Example Owners.
248
248
Context ("with defaults " , func () {
249
249
It ("should match the golden file" , func () {
250
250
instance := & project.KustomizeImagePatch {}
251
- instance .Repo = "sigs.k8s.io/kubebuilder/test/ project"
251
+ instance .Repo = "project"
252
252
Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
253
253
254
254
// Verify the contents matches the golden file.
@@ -265,7 +265,7 @@ Copyright %s Example Owners.
265
265
Context ("with defaults " , func () {
266
266
It ("should match the golden file" , func () {
267
267
instance := & project.KustomizePrometheusMetricsPatch {}
268
- instance .Repo = "sigs.k8s.io/kubebuilder/test/ project"
268
+ instance .Repo = "project"
269
269
Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
270
270
271
271
// Verify the contents matches the golden file.
@@ -300,7 +300,7 @@ Copyright %s Example Owners.
300
300
instance := & project.Project {}
301
301
instance .Version = "1"
302
302
instance .Domain = "testproject.org"
303
- instance .Repo = "sigs.k8s.io/kubebuilder/test/ project"
303
+ instance .Repo = "project"
304
304
Expect (s .Execute (input.Options {}, instance )).NotTo (HaveOccurred ())
305
305
306
306
// Verify the contents matches the golden file.
@@ -360,7 +360,7 @@ Copyright %s Example Owners.
360
360
i , err := instance .GetInput ()
361
361
Expect (err ).NotTo (HaveOccurred ())
362
362
Expect (i .Path ).To (Equal ("PROJECT" ))
363
- Expect (i .Repo ).To (Equal ("sigs.k8s.io/kubebuilder/pkg/scaffold/ project" ))
363
+ Expect (i .Repo ).To (Equal ("project" ))
364
364
})
365
365
})
366
366
})
0 commit comments