Skip to content

Commit

Permalink
Fix outdated information about the --k8s-schema-source flag (#967)
Browse files Browse the repository at this point in the history
* docs: Fix outdated information about the --k8s-schema-source flag

* Regenerate docs
  • Loading branch information
mortent authored Aug 24, 2020
1 parent 9e8d6ee commit 8842a2c
Show file tree
Hide file tree
Showing 21 changed files with 40 additions and 44 deletions.
2 changes: 1 addition & 1 deletion docs/concepts/functions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ <h2 id="next-steps">Next Steps</h2>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 9, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/3e15696524cf11329219d82e7a7876e75b7aa984">Docs: Address review comments on kpt function docs (3e156965)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h3 id="next-steps">Next Steps</h3>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 14, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7426c4c76569c20da445705b1421d801dec019fa">Docs: Further review comments (7426c4c7)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/consumer/function/catalog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ <h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 9, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/3e15696524cf11329219d82e7a7876e75b7aa984">Docs: Address review comments on kpt function docs (3e156965)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/consumer/function/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ <h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 14, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7426c4c76569c20da445705b1421d801dec019fa">Docs: Further review comments (7426c4c7)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/functions/container/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ <h2 id="next-steps">Next Steps</h2>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 14, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7426c4c76569c20da445705b1421d801dec019fa">Docs: Further review comments (7426c4c7)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/functions/exec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,7 @@ <h2 id="next-steps">Next Steps</h2>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 9, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/3e15696524cf11329219d82e7a7876e75b7aa984">Docs: Address review comments on kpt function docs (3e156965)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/functions/golang/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ <h3 id="visiting-fields-and-elements">Visiting Fields and Elements</h3>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/functions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ <h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/functions/starlark/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ <h2 id="next-steps">Next Steps</h2>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 9, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/3e15696524cf11329219d82e7a7876e75b7aa984">Docs: Address review comments on kpt function docs (3e156965)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/functions/ts/develop/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ <h2 id="build-and-push-container-images">Build and push container images</h2>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 9, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/3e15696524cf11329219d82e7a7876e75b7aa984">Docs: Address review comments on kpt function docs (3e156965)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/functions/ts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ <h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/functions/ts/quickstart/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ <h2 id="next-steps">Next Steps</h2>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/producer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ <h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/fn/export/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ <h2 id="next-steps">Next Steps</h2>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/fn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ <h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/fn/run/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ <h2 id="next-steps">Next Steps</h2>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/fn/sink/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ <h3 id="next-steps">Next Steps</h3>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/fn/source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ <h3 id="next-steps">Next Steps</h3>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 18, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/8a9a358774f25a50bf783caa812d500a1c9cfd24">Deduplicate kpt function docs (#923) (8a9a3587)</a>
</div>
</div>

Expand Down
6 changes: 2 additions & 4 deletions docs/reference/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1095,9 +1095,7 @@ <h3 id="openapi-schema">OpenAPI schema</h3>
situations it might be beneficial to use a schema that accurately reflects both
the correct version of Kubernetes and the CRDs used. Kpt provides a few global
flags to allows users to specify the schema that should be used.</p>
<p>By default, kpt will first try to fetch the OpenAPI schema from the cluster
given by the current context. If that doesn&rsquo;t work, it will silently fall back
to using the builtin schema.</p>
<p>By default, kpt will use the builtin schema.</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-sh" data-lang="sh">--k8s-schema-source
Set the <span style="color:#204a87">source</span> <span style="color:#204a87;font-weight:bold">for</span> the OpenAPI schema. Allowed values are cluster, file, or
builtin. If an OpenAPI schema can<span style="color:#a40000">&#39;</span>t be find at the given source, kpt will
Expand Down Expand Up @@ -1301,7 +1299,7 @@ <h5>



<div class="text-muted mt-5 pt-3 border-top">Last modified August 7, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7c2f2433602554fa0ae37a1fd075dd9ed26ed28a">Docs: Deduplicate function docs (7c2f2433)</a>
<div class="text-muted mt-5 pt-3 border-top">Last modified August 20, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/0f1412157f303598e45bb6296e0506e5ffb23056">docs: Fix outdated information about the --k8s-schema-source flag (0f141215)</a>
</div>
</div>

Expand Down
38 changes: 19 additions & 19 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/functions/container/</loc>
<lastmod>2020-08-14T17:34:59-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -69,7 +69,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/functions/exec/</loc>
<lastmod>2020-08-09T23:17:27-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand All @@ -89,7 +89,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -134,7 +134,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/functions/starlark/</loc>
<lastmod>2020-08-09T23:17:27-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -189,22 +189,22 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/reference/fn/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
<loc>https://googlecontainertools.github.io/kpt/concepts/functions/</loc>
<lastmod>2020-08-09T23:17:27-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/functions/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/functions/golang/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -259,12 +259,12 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/functions/ts/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/consumer/function/catalog/</loc>
<lastmod>2020-08-09T23:17:27-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand All @@ -274,7 +274,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/functions/ts/quickstart/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand All @@ -294,12 +294,12 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/consumer/function/</loc>
<lastmod>2020-08-14T17:34:59-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
<loc>https://googlecontainertools.github.io/kpt/guides/producer/functions/ts/develop/</loc>
<lastmod>2020-08-09T23:17:27-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand All @@ -314,7 +314,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/faq/</loc>
<lastmod>2020-08-14T17:34:59-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand All @@ -334,7 +334,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/reference/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-20T20:16:22-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -379,7 +379,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/reference/fn/export/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand Down Expand Up @@ -419,7 +419,7 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/reference/fn/run/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand All @@ -429,12 +429,12 @@

<url>
<loc>https://googlecontainertools.github.io/kpt/reference/fn/sink/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
<loc>https://googlecontainertools.github.io/kpt/reference/fn/source/</loc>
<lastmod>2020-08-07T14:07:03-07:00</lastmod>
<lastmod>2020-08-18T10:12:27-07:00</lastmod>
</url>

<url>
Expand Down
4 changes: 1 addition & 3 deletions site/content/en/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ situations it might be beneficial to use a schema that accurately reflects both
the correct version of Kubernetes and the CRDs used. Kpt provides a few global
flags to allows users to specify the schema that should be used.

By default, kpt will first try to fetch the OpenAPI schema from the cluster
given by the current context. If that doesn't work, it will silently fall back
to using the builtin schema.
By default, kpt will use the builtin schema.

```sh
--k8s-schema-source
Expand Down

0 comments on commit 8842a2c

Please sign in to comment.