You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/plugins/kustomize-v2.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
-
# Kustomize v2
1
+
# [Default Scaffold]Kustomize v2
2
2
3
-
The kustomize plugin allows you to scaffold all kustomize manifests used to work with the language base plugin `base.go.kubebuilder.io/v3`.
3
+
The kustomize plugin allows you to scaffold all kustomize manifests used to work with the language base plugin `base.go.kubebuilder.io/v4`.
4
+
This plugin is used to generate the manifest under `config/` directory for the projects build within the go/v4 plugin (default scaffold).
4
5
5
6
Note that projects such as [Operator-sdk][sdk] consume the Kubebuilder project as a lib and provide options to work with other languages
6
7
like Ansible and Helm. The kustomize plugin allows them to easily keep a maintained configuration and ensure that all languages have
@@ -21,7 +22,7 @@ directory of the Kubebuilder project.
21
22
22
23
- If you are looking to scaffold the kustomize configuration manifests for your own language plugin
23
24
- If you are looking for support on Apple Silicon (`darwin/arm64`). (_Before kustomize `4.x` the binary for this plataform is not provided_)
24
-
- If you are looking for to begin to try out the new syntax and features provide by kustomize v5
25
+
- If you are looking for to begin to try out the new syntax and features provide by kustomize v4 [(More info)][release-notes-v4] and v5 [(More info)][release-notes-v5]
25
26
- If you are NOT looking to build projects which will be used on Kubernetes cluster versions < `1.22` (_The new features provides by kustomize v4 are not officially supported and might not work with kubectl < `1.22`_)
26
27
- If you are NOT looking to rely on special URLs in resource fields
27
28
- If you want to use [replacements][kustomize-replacements] since [vars][kustomize-vars] are deprecated and might be removed soon
@@ -36,7 +37,7 @@ all that is language specific and kustomize for its configuration, see:
kustomizecommonv2.Plugin{}, // scaffold the config/ directory and all kustomize files
48
-
golangv3.Plugin{}, // Scaffold the Golang files and all that specific for the language e.g. go.mod, apis, controllers
49
+
golangv4.Plugin{}, // Scaffold the Golang files and all that specific for the language e.g. go.mod, apis, controllers
49
50
)
50
51
```
51
52
@@ -98,7 +99,8 @@ The following scaffolds will be created or updated by this plugin:
98
99
* Check the kustomize [plugin implementation](https://github.com/kubernetes-sigs/kubebuilder/tree/master/pkg/plugins/common/kustomize)
99
100
* Check the [kustomize documentation][kustomize-docs]
100
101
* Check the [kustomize repository][kustomize-github]
101
-
* To know more about the changes between kustomize v4 and v5 see its [release notes][release-notes]
102
+
* Check the [release notes][release-notes-v5] for Kustomize v5.0.0
103
+
* Check the [release notes][release-notes-v4] for Kustomuze v4.0.0
102
104
* Also, you can compare the `config/` directory between the samples `project-v3` and `project-v4` to check the difference in the syntax of the manifests provided by default
0 commit comments