File tree Expand file tree Collapse file tree 3 files changed +2
-14
lines changed Expand file tree Collapse file tree 3 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ func main() {
75
75
),
76
76
cli .WithPlugins (externalPlugins ... ),
77
77
cli .WithDefaultPlugins (cfgv2 .Version , golangv2.Plugin {}),
78
- cli .WithDefaultPlugins (cfgv3 .Version , gov3Bundle ),
78
+ cli .WithDefaultPlugins (cfgv3 .Version , gov4Bundle ),
79
79
cli .WithDefaultProjectVersion (cfgv3 .Version ),
80
80
cli .WithCompletion (),
81
81
)
Original file line number Diff line number Diff line change @@ -53,19 +53,6 @@ Kubebuilder provides autocompletion support for Bash and Zsh via the command `ku
53
53
54
54
Create a directory, and then run the init command inside of it to initialize a new project. Follows an example.
55
55
56
- <aside class =" note warning " >
57
- <h1 > Apple Silicon (M1) </h1 >
58
-
59
- The current scaffold done by the CLI (` go/v3 ` ) uses [ kubernetes-sigs/kustomize] [ kustomize ] v3 which does not provide
60
- a valid binary for Apple Silicon (` darwin/arm64 ` ). Therefore, you can use the ` go/v4 ` plugin
61
- instead which provides support for this platform:
62
-
63
- ``` bash
64
- kubebuilder init --domain my.domain --repo my.domain/guestbook --plugins=go/v4
65
- ```
66
-
67
- </aside >
68
-
69
56
``` bash
70
57
mkdir -p ~ /projects/guestbook
71
58
cd ~ /projects/guestbook
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ func (sp *Sample) GenerateSampleProject() {
73
73
"--license" , "apache2" ,
74
74
"--owner" , "The Kubernetes authors" ,
75
75
"--component-config" ,
76
+ "--plugins=go/v3" ,
76
77
)
77
78
CheckError ("Initializing the project" , err )
78
79
You can’t perform that action at this time.
0 commit comments