Skip to content

Commit fd90fa0

Browse files
authored
Merge pull request #40337 from cherraz/BZ2020756
BZ2020756: Specifying that policyGenerator is a Kustomize plugin
2 parents 2a98c4e + 0d7ab3d commit fd90fa0

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

modules/ztp-generating-ran-policies.adoc

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,11 @@
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
----

0 commit comments

Comments
 (0)