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 88.Prerequisites
99
1010* Install Kustomize
11- * Install golang
11+ * Install the link:https://github.com/stolostron/policy-generator-plugin[Kustomize Policy Generator plug-in]
1212
1313.Procedure
1414
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:
2816+
2917[source,yaml]
3018----
You can’t perform that action at this time.
0 commit comments