Skip to content

Commit 94d97d1

Browse files
authored
Merge pull request #778 from prachirp/catalog-kustomize
Catalog kustomize
2 parents ccabb96 + eeeb7f8 commit 94d97d1

File tree

40 files changed

+1965
-15
lines changed

40 files changed

+1965
-15
lines changed

docs/guides/consumer/function/catalog/catalog/catalog.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
"type": "source",
2929
"toolchain": "../../../producer/functions/golang"
3030
},
31+
{
32+
"image": "lyft/kustomizer:v3.3.0",
33+
"args": "kustomize build [...]",
34+
"source": "https://github.com/lyft/kustomizer/blob/master/Dockerfile",
35+
"description": "Run kustomize to build configuration",
36+
"type": "source"
37+
},
3138
{
3239
"image": "gcr.io/kpt-dev/kpt",
3340
"args": "fn sink",
@@ -65,11 +72,19 @@
6572
"demo": true,
6673
"toolchain": "../../../producer/functions/ts"
6774
},
75+
{
76+
"image": "gcr.io/kpt-functions/kubeval",
77+
"source": "https://github.com/GoogleContainerTools/kpt-functions-catalog/blob/master/functions/ts/src/kubeval.ts",
78+
"description": "Validates configuration using kubeval.",
79+
"type": "validator",
80+
"toolchain": "../../../producer/functions/ts"
81+
},
6882
{
6983
"image": "gcr.io/kustomize-functions/example-validator-kubeval",
7084
"source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/validator-kubeval/image/main.go",
7185
"description": "Validates that all containers have cpu and memory reservations set.",
7286
"type": "validator",
87+
"demo": true,
7388
"toolchain": "../../../producer/functions/golang"
7489
},
7590
{

docs/guides/consumer/function/catalog/index.html

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,13 @@ <h2 id="sources">Sources</h2>
979979
<td><a href="https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/application-cr/image/main.go">Link</a></td>
980980
<td><a href="../../../producer/functions/golang">SDK</a></td>
981981
</tr>
982+
<tr>
983+
<td>lyft/kustomizer:v3.3.0</td>
984+
<td>kustomize build [&hellip;]</td>
985+
<td>Run kustomize to build configuration</td>
986+
<td><a href="https://github.com/lyft/kustomizer/blob/master/Dockerfile">Link</a></td>
987+
<td></td>
988+
</tr>
982989
</tbody>
983990
</table>
984991
<h2 id="sinks">Sinks</h2>
@@ -1044,9 +1051,16 @@ <h2 id="validators">Validators</h2>
10441051
<td><a href="../../../producer/functions/ts">SDK</a></td>
10451052
</tr>
10461053
<tr>
1054+
<td>gcr.io/kpt-functions/kubeval</td>
1055+
<td></td>
1056+
<td>Validates configuration using kubeval.</td>
1057+
<td><a href="https://github.com/GoogleContainerTools/kpt-functions-catalog/blob/master/functions/ts/src/kubeval.ts">Link</a></td>
1058+
<td><a href="../../../producer/functions/ts">SDK</a></td>
1059+
</tr>
1060+
<tr>
10471061
<td>gcr.io/kustomize-functions/example-validator-kubeval</td>
10481062
<td></td>
1049-
<td>Validates that all containers have cpu and memory reservations set.</td>
1063+
<td>[Demo] Validates that all containers have cpu and memory reservations set.</td>
10501064
<td><a href="https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/validator-kubeval/image/main.go">Link</a></td>
10511065
<td><a href="../../../producer/functions/golang">SDK</a></td>
10521066
</tr>
@@ -1281,7 +1295,7 @@ <h5>
12811295

12821296

12831297

1284-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 24, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/58c7dec1dea573854cc74942007cc7106045de62">Rename kpt function to config function (58c7dec1)</a>
1298+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 30, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/3dbdf872e9fe0be48ad8a66494dc02a3dd754ff2">Docs: Update catalog with kustomize and kubeval (3dbdf872)</a>
12851299
</div>
12861300
</div>
12871301

docs/guides/consumer/function/index.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ DO NOT EDIT. Generated by: &#34;cd catalog; npm run gen-docs&#34;
139139
&lt;td&gt;&lt;a href=&#34;https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/application-cr/image/main.go&#34;&gt;Link&lt;/a&gt;&lt;/td&gt;
140140
&lt;td&gt;&lt;a href=&#34;../../../producer/functions/golang&#34;&gt;SDK&lt;/a&gt;&lt;/td&gt;
141141
&lt;/tr&gt;
142+
&lt;tr&gt;
143+
&lt;td&gt;lyft/kustomizer:v3.3.0&lt;/td&gt;
144+
&lt;td&gt;kustomize build [&amp;hellip;]&lt;/td&gt;
145+
&lt;td&gt;Run kustomize to build configuration&lt;/td&gt;
146+
&lt;td&gt;&lt;a href=&#34;https://github.com/lyft/kustomizer/blob/master/Dockerfile&#34;&gt;Link&lt;/a&gt;&lt;/td&gt;
147+
&lt;td&gt;&lt;/td&gt;
148+
&lt;/tr&gt;
142149
&lt;/tbody&gt;
143150
&lt;/table&gt;
144151
&lt;h2 id=&#34;sinks&#34;&gt;Sinks&lt;/h2&gt;
@@ -204,9 +211,16 @@ DO NOT EDIT. Generated by: &#34;cd catalog; npm run gen-docs&#34;
204211
&lt;td&gt;&lt;a href=&#34;../../../producer/functions/ts&#34;&gt;SDK&lt;/a&gt;&lt;/td&gt;
205212
&lt;/tr&gt;
206213
&lt;tr&gt;
214+
&lt;td&gt;gcr.io/kpt-functions/kubeval&lt;/td&gt;
215+
&lt;td&gt;&lt;/td&gt;
216+
&lt;td&gt;Validates configuration using kubeval.&lt;/td&gt;
217+
&lt;td&gt;&lt;a href=&#34;https://github.com/GoogleContainerTools/kpt-functions-catalog/blob/master/functions/ts/src/kubeval.ts&#34;&gt;Link&lt;/a&gt;&lt;/td&gt;
218+
&lt;td&gt;&lt;a href=&#34;../../../producer/functions/ts&#34;&gt;SDK&lt;/a&gt;&lt;/td&gt;
219+
&lt;/tr&gt;
220+
&lt;tr&gt;
207221
&lt;td&gt;gcr.io/kustomize-functions/example-validator-kubeval&lt;/td&gt;
208222
&lt;td&gt;&lt;/td&gt;
209-
&lt;td&gt;Validates that all containers have cpu and memory reservations set.&lt;/td&gt;
223+
&lt;td&gt;[Demo] Validates that all containers have cpu and memory reservations set.&lt;/td&gt;
210224
&lt;td&gt;&lt;a href=&#34;https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/validator-kubeval/image/main.go&#34;&gt;Link&lt;/a&gt;&lt;/td&gt;
211225
&lt;td&gt;&lt;a href=&#34;../../../producer/functions/golang&#34;&gt;SDK&lt;/a&gt;&lt;/td&gt;
212226
&lt;/tr&gt;

docs/guides/consumer/set/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ <h5 id="output-2">Output</h5>
11131113

11141114

11151115

1116-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 15, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/488fac19b256ce64424bc7b8e6e39efac0997d47">Update setters docs (488fac19)</a>
1116+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 23, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/f705c3071e6b2ecfd3040cc44ca580578c707e15">docs: Fix missing substitution in example output in set guide (f705c307)</a>
11171117
</div>
11181118
</div>
11191119

docs/guides/producer/functions/exec/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ <h2 id="next-steps">Next Steps</h2>
10821082

10831083

10841084

1085-
<div class="text-muted mt-5 pt-3 border-top">Last modified May 6, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/3c44ea84504f5a8562da759510ecbdf5c955439d">Update functions docs for writing go functions (3c44ea84)</a>
1085+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 26, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/fe5b3709a0d20fb7f4fa63e4f074bacf4bd28d0f">Document typescript function exec runtime example (fe5b3709)</a>
10861086
</div>
10871087
</div>
10881088

docs/reference/cfg/annotate/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,29 @@
750750

751751

752752

753+
<ul class="td-sidebar-nav__section pr-md-3">
754+
<li class="td-sidebar-nav__section-title">
755+
<a href="/kpt/reference/fn/export/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">export</a>
756+
</li>
757+
<ul>
758+
<li class="collapse " id="kptreferencefnexport">
759+
760+
761+
762+
</li>
763+
</ul>
764+
</ul>
765+
766+
767+
768+
769+
770+
771+
772+
773+
774+
775+
753776
<ul class="td-sidebar-nav__section pr-md-3">
754777
<li class="td-sidebar-nav__section-title">
755778
<a href="/kpt/reference/fn/run/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">run</a>
@@ -1035,6 +1058,8 @@ <h3 id="synopsis">Synopsis</h3>
10351058

10361059

10371060

1061+
1062+
10381063

10391064

10401065

docs/reference/cfg/cat/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,29 @@
750750

751751

752752

753+
<ul class="td-sidebar-nav__section pr-md-3">
754+
<li class="td-sidebar-nav__section-title">
755+
<a href="/kpt/reference/fn/export/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">export</a>
756+
</li>
757+
<ul>
758+
<li class="collapse " id="kptreferencefnexport">
759+
760+
761+
762+
</li>
763+
</ul>
764+
</ul>
765+
766+
767+
768+
769+
770+
771+
772+
773+
774+
775+
753776
<ul class="td-sidebar-nav__section pr-md-3">
754777
<li class="td-sidebar-nav__section-title">
755778
<a href="/kpt/reference/fn/run/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">run</a>
@@ -1013,6 +1036,8 @@ <h3 id="synopsis">Synopsis</h3>
10131036

10141037

10151038

1039+
1040+
10161041

10171042

10181043

docs/reference/cfg/count/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,29 @@
750750

751751

752752

753+
<ul class="td-sidebar-nav__section pr-md-3">
754+
<li class="td-sidebar-nav__section-title">
755+
<a href="/kpt/reference/fn/export/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">export</a>
756+
</li>
757+
<ul>
758+
<li class="collapse " id="kptreferencefnexport">
759+
760+
761+
762+
</li>
763+
</ul>
764+
</ul>
765+
766+
767+
768+
769+
770+
771+
772+
773+
774+
775+
753776
<ul class="td-sidebar-nav__section pr-md-3">
754777
<li class="td-sidebar-nav__section-title">
755778
<a href="/kpt/reference/fn/run/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">run</a>
@@ -1012,6 +1035,8 @@ <h3 id="synopsis">Synopsis</h3>
10121035

10131036

10141037

1038+
1039+
10151040

10161041

10171042

docs/reference/cfg/create-setter/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,29 @@
750750

751751

752752

753+
<ul class="td-sidebar-nav__section pr-md-3">
754+
<li class="td-sidebar-nav__section-title">
755+
<a href="/kpt/reference/fn/export/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">export</a>
756+
</li>
757+
<ul>
758+
<li class="collapse " id="kptreferencefnexport">
759+
760+
761+
762+
</li>
763+
</ul>
764+
</ul>
765+
766+
767+
768+
769+
770+
771+
772+
773+
774+
775+
753776
<ul class="td-sidebar-nav__section pr-md-3">
754777
<li class="td-sidebar-nav__section-title">
755778
<a href="/kpt/reference/fn/run/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">run</a>
@@ -1046,6 +1069,8 @@ <h3 id="synopsis">Synopsis</h3>
10461069

10471070

10481071

1072+
1073+
10491074

10501075

10511076

docs/reference/cfg/create-subst/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,29 @@
750750

751751

752752

753+
<ul class="td-sidebar-nav__section pr-md-3">
754+
<li class="td-sidebar-nav__section-title">
755+
<a href="/kpt/reference/fn/export/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">export</a>
756+
</li>
757+
<ul>
758+
<li class="collapse " id="kptreferencefnexport">
759+
760+
761+
762+
</li>
763+
</ul>
764+
</ul>
765+
766+
767+
768+
769+
770+
771+
772+
773+
774+
775+
753776
<ul class="td-sidebar-nav__section pr-md-3">
754777
<li class="td-sidebar-nav__section-title">
755778
<a href="/kpt/reference/fn/run/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">run</a>
@@ -1062,6 +1085,8 @@ <h3 id="synopsis">Synopsis</h3>
10621085

10631086

10641087

1088+
1089+
10651090

10661091

10671092

0 commit comments

Comments
 (0)