File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 8
8
.Prerequisites
9
9
10
10
* Install Kustomize
11
- * Install golang
11
+ * Install the link:https://github.com/stolostron/policy-generator-plugin[Kustomize Policy Generator plug-in]
12
12
13
13
.Procedure
14
14
15
- . Build the plug-in using the following commands:
16
- +
17
- [source,terminal]
18
- ----
19
- $ cd ztp/ztp-policy-generator/kustomize/plugin/policyGenerator/v1/policygenerator/
20
- ----
21
- +
22
- [source,terminal]
23
- ----
24
- $ go build -o PolicyGenerator
25
- ----
26
- +
27
- The `kustomization.yaml` file has a reference to the `policyGenerator.yaml` file. The following example shows the PolicyGenerator definition:
15
+ . Configure the `kustomization.yaml` file to reference the `policyGenerator.yaml` file. The following example shows the PolicyGenerator definition:
28
16
+
29
17
[source,yaml]
30
18
----
You can’t perform that action at this time.
0 commit comments