Skip to content

Commit 58c7dec

Browse files
committed
Rename kpt function to config function
1 parent e97fd38 commit 58c7dec

File tree

35 files changed

+86
-86
lines changed

35 files changed

+86
-86
lines changed

docs/concepts/architecture/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ <h3 id="targets">Targets</h3>
570570

571571

572572

573-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 19, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7bf1a36d19747d493ad7972c23b53c7070f7ae57">Transfer kpt-functions sdk and catalog docs to kpt (7bf1a36d)</a>
573+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 24, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/e97fd3815e38a1a9c6fc33db1936b6a027063acd">Clarify links, add functions to catalog (e97fd381)</a>
574574
</div>
575575
</div>
576576

docs/concepts/functions/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
<h1>Functions</h1>
355355
<div class="lead">Functions goals and specification</div>
356356
<h2 id="introduction">Introduction</h2>
357-
<p>KPT Functions are client-side programs that make it easy to operate on a repository of Kubernetes configuration files.</p>
357+
<p>Config Functions are client-side programs that make it easy to operate on a repository of Kubernetes configuration files.</p>
358358
<p>Use cases:</p>
359359
<ul>
360360
<li><strong>Configuration Validation:</strong> e.g. Require all <code>Namespace</code> configurations to have a <code>cost-center</code> label.</li>
@@ -363,9 +363,9 @@ <h2 id="introduction">Introduction</h2>
363363
security posture.</li>
364364
</ul>
365365
<img src="https://storage.googleapis.com/kpt-functions/docs/run.gif">
366-
<p>KPT functions can be run locally or as part of a CI/CD pipeline.</p>
367-
<p>In GitOps workflows, KPT functions read and write configuration files from a Git repo. Changes
368-
to the system authored by humans and mutating KPT functions are reviewed before being committed to the repo. KPT functions
366+
<p>Config functions can be run locally or as part of a CI/CD pipeline.</p>
367+
<p>In GitOps workflows, config functions read and write configuration files from a Git repo. Changes
368+
to the system authored by humans and mutating config functions are reviewed before being committed to the repo. Config functions
369369
can be run as pre-commit or post-commit steps to validate configurations before they are applied to a cluster.</p>
370370
<h2 id="why-functions">Why Functions</h2>
371371
<p>We build functions using the same <a href="../architecture/#influences">architecture influences</a> as the rest of kpt, specifically:</p>
@@ -442,7 +442,7 @@ <h2 id="next-steps">Next Steps</h2>
442442

443443

444444

445-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 19, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7bf1a36d19747d493ad7972c23b53c7070f7ae57">Transfer kpt-functions sdk and catalog docs to kpt (7bf1a36d)</a>
445+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 24, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/e97fd3815e38a1a9c6fc33db1936b6a027063acd">Clarify links, add functions to catalog (e97fd381)</a>
446446
</div>
447447
</div>
448448

docs/contact/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ <h1>Contact</h1>
254254

255255

256256

257-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 11, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/95d57f4dc97db1fc08e130c6a9fa8030fe3041ab">Add Contacts page with a link to the Slack channel (95d57f4d)</a>
257+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 24, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/e97fd3815e38a1a9c6fc33db1936b6a027063acd">Clarify links, add functions to catalog (e97fd381)</a>
258258
</div>
259259
</div>
260260

docs/faq/index.html

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

330330

331331

332-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 11, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/95d57f4dc97db1fc08e130c6a9fa8030fe3041ab">Add Contacts page with a link to the Slack channel (95d57f4d)</a>
332+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 24, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/e97fd3815e38a1a9c6fc33db1936b6a027063acd">Clarify links, add functions to catalog (e97fd381)</a>
333333
</div>
334334
</div>
335335

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ linkTitle: "Functions Catalog"
2424
weight: 8
2525
type: docs
2626
description: >
27-
Catalog of kpt functions.
27+
Catalog of Config Functions.
2828
---
2929
3030
<!---

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "kpt-functions-catalog-docs",
33
"version": "0.1.0",
4-
"description": "Generate docs for KPT functions catalog",
4+
"description": "Generate docs for config functions catalog",
55
"author": "KPT Authors",
66
"license": "Apache-2.0",
77
"main": "index.js",

docs/guides/consumer/function/catalog/docs/helm-template/usage/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
" />
2626
<meta property="og:type" content="article" />
2727
<meta property="og:url" content="https://googlecontainertools.github.io/kpt/guides/consumer/function/catalog/docs/helm-template/usage/" />
28-
<meta property="article:modified_time" content="2020-06-19T15:07:12-04:00" /><meta property="og:site_name" content="Kpt" />
28+
<meta property="article:modified_time" content="2020-06-24T17:55:03-05:00" /><meta property="og:site_name" content="Kpt" />
2929
<meta itemprop="name" content="Helm-template Usage">
3030
<meta itemprop="description" content="Helm-template Usage.
3131
">
32-
<meta itemprop="dateModified" content="2020-06-19T15:07:12-04:00" />
32+
<meta itemprop="dateModified" content="2020-06-24T17:55:03-05:00" />
3333
<meta itemprop="wordCount" content="408">
3434

3535

@@ -955,7 +955,7 @@
955955
<h1>Helm-template Usage</h1>
956956
<div class="lead">Helm-template Usage.</div>
957957
<h2 id="using-helm-template">Using helm-template</h2>
958-
<p>Kpt packages are just configuration so any solution, like the <code>helm template</code> command, which emits configuration can also be used to generate kpt packages. The <code>helm-template</code> kpt function generates a new kpt package from a local Helm chart or upserts Helm chart configuration to an existing kpt package. In the context of a pipeline, these packages can then be further customized using other kpt functions.</p>
958+
<p>Kpt packages are just configuration so any solution, like the <code>helm template</code> command, which emits configuration can also be used to generate kpt packages. The <code>helm-template</code> config function generates a new kpt package from a local Helm chart or upserts Helm chart configuration to an existing kpt package. In the context of a pipeline, these packages can then be further customized using other config functions.</p>
959959
<h2 id="examples">Examples</h2>
960960
<h3 id="example-1-hello-world">Example 1: Hello World</h3>
961961
<h4 id="hello-world-prerequisites">Hello World: Prerequisites</h4>
@@ -1036,7 +1036,7 @@ <h3 id="how-can-i-set-arbitrary-values-in-my-chart">How can I set arbitrary valu
10361036
</code></pre></div>
10371037

10381038

1039-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 19, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/7bf1a36d19747d493ad7972c23b53c7070f7ae57">Transfer kpt-functions sdk and catalog docs to kpt (7bf1a36d)</a>
1039+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 24, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/e97fd3815e38a1a9c6fc33db1936b6a027063acd">Clarify links, add functions to catalog (e97fd381)</a>
10401040
</div>
10411041
</div>
10421042

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222
<link rel="icon" type="image/png" href="/kpt/favicons/android-192x192.png" sizes="192x192">
2323

2424
<title>Functions Catalog | Kpt</title><meta property="og:title" content="Functions Catalog" />
25-
<meta property="og:description" content="Catalog of kpt functions.
25+
<meta property="og:description" content="Catalog of Config Functions.
2626
" />
2727
<meta property="og:type" content="website" />
2828
<meta property="og:url" content="https://googlecontainertools.github.io/kpt/guides/consumer/function/catalog/" />
2929
<meta property="og:site_name" content="Kpt" />
3030
<meta itemprop="name" content="Functions Catalog">
31-
<meta itemprop="description" content="Catalog of kpt functions.
31+
<meta itemprop="description" content="Catalog of Config Functions.
3232
"><meta name="twitter:card" content="summary"/>
3333
<meta name="twitter:title" content="Functions Catalog"/>
34-
<meta name="twitter:description" content="Catalog of kpt functions.
34+
<meta name="twitter:description" content="Catalog of Config Functions.
3535
"/>
3636

3737

@@ -932,7 +932,7 @@
932932

933933
<div class="td-content">
934934
<h1>Functions Catalog</h1>
935-
<div class="lead">Catalog of kpt functions.</div>
935+
<div class="lead">Catalog of Config Functions.</div>
936936
<!---
937937
DO NOT EDIT. Generated by: "cd catalog; npm run gen-docs"
938938
-->
@@ -1281,7 +1281,7 @@ <h5>
12811281

12821282

12831283

1284-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 19, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/4be5d836e58fc37df9edf072ac187c45cfca5c8f">Add structured results section and link to toolchain used to make catalog functions (4be5d836)</a>
1284+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 24, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/e97fd3815e38a1a9c6fc33db1936b6a027063acd">Clarify links, add functions to catalog (e97fd381)</a>
12851285
</div>
12861286
</div>
12871287

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
&lt;h2 id=&#34;using-helm-template&#34;&gt;Using helm-template&lt;/h2&gt;
26-
&lt;p&gt;Kpt packages are just configuration so any solution, like the &lt;code&gt;helm template&lt;/code&gt; command, which emits configuration can also be used to generate kpt packages. The &lt;code&gt;helm-template&lt;/code&gt; kpt function generates a new kpt package from a local Helm chart or upserts Helm chart configuration to an existing kpt package. In the context of a pipeline, these packages can then be further customized using other kpt functions.&lt;/p&gt;
26+
&lt;p&gt;Kpt packages are just configuration so any solution, like the &lt;code&gt;helm template&lt;/code&gt; command, which emits configuration can also be used to generate kpt packages. The &lt;code&gt;helm-template&lt;/code&gt; config function generates a new kpt package from a local Helm chart or upserts Helm chart configuration to an existing kpt package. In the context of a pipeline, these packages can then be further customized using other config functions.&lt;/p&gt;
2727
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
2828
&lt;h3 id=&#34;example-1-hello-world&#34;&gt;Example 1: Hello World&lt;/h3&gt;
2929
&lt;h4 id=&#34;hello-world-prerequisites&#34;&gt;Hello World: Prerequisites&lt;/h4&gt;

docs/guides/consumer/function/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ <h2 id="calling-functions-imperatively">Calling Functions Imperatively</h2>
960960
this information to a container running <code>gcr.io/kpt-functions/label-namespace</code>, and wrote the resources
961961
back to the package.</p>
962962
<h2 id="calling-functions-declaratively">Calling Functions Declaratively</h2>
963-
<p>The most common way of invoking kpt functions in production will be the <a href="../../../reference/fn/run/#declaratively-run-one-or-more-functions">declarative method</a>.</p>
963+
<p>The most common way of invoking config functions in production will be the <a href="../../../reference/fn/run/#declaratively-run-one-or-more-functions">declarative method</a>.</p>
964964
<p>Let&rsquo;s run the same <a href="https://github.com/GoogleContainerTools/kpt-functions-sdk/blob/master/ts/hello-world/src/label_namespace.ts">label-namespace</a> function declaratively, which means we make a reusable function
965965
configuration resource which contains all information necessary to run the function, from container
966966
image to argument values. Once we create file with this information we can check it into <a href="https://en.wikipedia.org/wiki/Version_control">VCS</a> and
@@ -1068,7 +1068,7 @@ <h5>
10681068
<h5>
10691069
<a href="/kpt/guides/consumer/function/catalog/">Functions Catalog</a>
10701070
</h5>
1071-
<p>Catalog of kpt functions.</p>
1071+
<p>Catalog of Config Functions.</p>
10721072
</div>
10731073

10741074

@@ -1083,7 +1083,7 @@ <h5>
10831083

10841084

10851085

1086-
<div class="text-muted mt-5 pt-3 border-top">Last modified June 19, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/4be5d836e58fc37df9edf072ac187c45cfca5c8f">Add structured results section and link to toolchain used to make catalog functions (4be5d836)</a>
1086+
<div class="text-muted mt-5 pt-3 border-top">Last modified June 24, 2020: <a href="https://github.com/GoogleContainerTools/kpt/commit/e97fd3815e38a1a9c6fc33db1936b6a027063acd">Clarify links, add functions to catalog (e97fd381)</a>
10871087
</div>
10881088
</div>
10891089

0 commit comments

Comments
 (0)