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-alpha.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Kustomize v2-alpha
1
+
# Kustomize v2-alpha
2
2
3
3
The kustomize plugin allows you to scaffold all kustomize manifests used to work with the language base plugin `base.go.kubebuilder.io/v3`.
4
4
@@ -15,7 +15,7 @@ able to create "helper" plugins which can work with many projects and languages.
15
15
You can check the kustomize content by looking at the `config/` directory provide on the sample `project-v3-with-kustomize-v2` under the [testdata][testdata]
16
16
directory of the Kubebuilder project.
17
17
18
-
</aside>
18
+
</aside>
19
19
20
20
## When to use it
21
21
@@ -24,15 +24,15 @@ directory of the Kubebuilder project.
24
24
- If you are looking for to begin to try out the new syntax and features provide by kustomize v4
25
25
- 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
26
- If you are NOT looking to rely on special URLs in resource fields
27
-
- If you want to use [replacements][https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/replacements/] since [vars][https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/vars/] are deprecated and might be removed soon
27
+
- If you want to use [replacements][kustomize-replacements] since [vars][kustomize-vars] are deprecated and might be removed soon
28
28
29
29
<asideclass="note">
30
30
<h1>Supportability</h1>
31
31
32
32
You can use `kustomize/v1` plugin which is the default configuration adopted by the `go/v3` plugin if you are not prepared to began to experiment kustomize `v4`.
33
-
Also, be aware that the `base.go.kubebuilder.io/v3` is prepared to work with this plugin.
33
+
Also, be aware that the `base.go.kubebuilder.io/v3` is prepared to work with this plugin.
34
34
35
-
</aside>
35
+
</aside>
36
36
37
37
38
38
## How to use it
@@ -61,8 +61,8 @@ import (
61
61
Also, with Kubebuilder, you can use kustomize/v2-alpha alone via:
62
62
63
63
```sh
64
-
kubebuilder init --plugins=kustomize/v2-alpha
65
-
$ ls -la
64
+
kubebuilder init --plugins=kustomize/v2-alpha
65
+
$ ls -la
66
66
total 24
67
67
drwxr-xr-x 6 camilamacedo86 staff 192 31 Mar 09:56 .
68
68
drwxr-xr-x 11 camilamacedo86 staff 352 29 Mar 21:23 ..
0 commit comments