|
11 | 11 | "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/demo-functions/src/read_yaml.ts",
|
12 | 12 | "description": "Reads a directory of Kubernetes configuration recursively.",
|
13 | 13 | "type": "source",
|
14 |
| - "demo": true |
| 14 | + "demo": true, |
| 15 | + "toolchain": "../../../producer/functions/ts" |
15 | 16 | },
|
16 | 17 | {
|
17 | 18 | "image": "gcr.io/cloud-builders/kubectl",
|
|
20 | 21 | "description": "Get one or many resources from a Kubernetes cluster.",
|
21 | 22 | "type": "source"
|
22 | 23 | },
|
23 |
| - { |
24 |
| - "image": "gcr.io/kpt-functions/helm-template", |
25 |
| - "source": "https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/functions/helm-template/run.sh", |
26 |
| - "description": "Render chart templates locally using helm template. (See [usage](docs/helm-template/usage/index.html)).", |
27 |
| - "type": "source" |
28 |
| - }, |
29 | 24 | {
|
30 | 25 | "image": "gcr.io/kustomize-functions/create-application",
|
31 | 26 | "source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/application-cr/image/main.go",
|
32 | 27 | "description": "Add an Application CR to a group of resources.",
|
33 |
| - "type": "source" |
34 |
| - }, |
35 |
| - { |
36 |
| - "image": "gcr.io/kustomize-functions/example-nginx", |
37 |
| - "source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/template-go-nginx/image/main.go", |
38 |
| - "description": "Generate configuration from go templates using the functionConfig as the template input.", |
39 |
| - "type": "source" |
40 |
| - }, |
41 |
| - { |
42 |
| - "image": "gcr.io/kustomize-functions/example-cockroachdb", |
43 |
| - "source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/template-heredoc-cockroachdb/image/cockroachdb-template.sh", |
44 |
| - "description": "Generate configuration from heredoc template using the functionConfig as the template input.", |
45 |
| - "type": "source" |
| 28 | + "type": "source", |
| 29 | + "toolchain": "../../../producer/functions/golang" |
46 | 30 | },
|
47 | 31 | {
|
48 | 32 | "image": "gcr.io/kpt-dev/kpt",
|
|
56 | 40 | "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/demo-functions/src/write_yaml.ts",
|
57 | 41 | "description": "Writes a directory of Kubernetes configuration. It maintains the original directory structure as read by source functions.",
|
58 | 42 | "type": "sink",
|
59 |
| - "demo": true |
| 43 | + "demo": true, |
| 44 | + "toolchain": "../../../producer/functions/ts" |
60 | 45 | },
|
61 | 46 | {
|
62 | 47 | "image": "gcr.io/kpt-functions/gatekeeper-validate",
|
63 | 48 | "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/go/pkg/functions/gatekeeper/validate.go",
|
64 | 49 | "description": "Enforces OPA constraints on input objects. The constraints are also passed as part of the input to the function.",
|
65 |
| - "type": "validator" |
| 50 | + "type": "validator", |
| 51 | + "toolchain": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/go/pkg/framework" |
66 | 52 | },
|
67 | 53 | {
|
68 | 54 | "image": "gcr.io/kpt-functions/validate-rolebinding",
|
69 | 55 | "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/demo-functions/src/validate_rolebinding.ts",
|
70 | 56 | "description": "Enforces a blacklist of subjects in RoleBinding objects.",
|
71 | 57 | "type": "validator",
|
72 |
| - "demo": true |
| 58 | + "demo": true, |
| 59 | + "toolchain": "../../../producer/functions/ts" |
73 | 60 | },
|
74 | 61 | {
|
75 | 62 | "image": "gcr.io/kustomize-functions/example-validator-kubeval",
|
76 | 63 | "source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/validator-kubeval/image/main.go",
|
77 | 64 | "description": "Validates that all containers have cpu and memory reservations set.",
|
78 |
| - "type": "validator" |
| 65 | + "type": "validator", |
| 66 | + "toolchain": "../../../producer/functions/golang" |
79 | 67 | },
|
80 | 68 | {
|
81 | 69 | "image": "gcr.io/kustomize-functions/example-validator",
|
82 | 70 | "source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/validator-resource-requests/image/main.go",
|
83 | 71 | "description": "Validates Kubernetes configuration files using schemas from the Kubernetes OpenAPI spec.",
|
84 |
| - "type": "validator" |
| 72 | + "type": "validator", |
| 73 | + "toolchain": "../../../producer/functions/golang" |
| 74 | + }, |
| 75 | + { |
| 76 | + "image": "gcr.io/kpt-functions/suggest-psp", |
| 77 | + "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/demo-functions/src/suggest_psp.ts", |
| 78 | + "description": "Lints PodSecurityPolicy by suggesting 'spec.allowPrivilegeEscalation' field be set to 'false'.", |
| 79 | + "type": "validator", |
| 80 | + "demo": true, |
| 81 | + "toolchain": "../../../producer/functions/ts" |
85 | 82 | },
|
86 | 83 | {
|
87 | 84 | "image": "gcr.io/kpt-functions/mutate-psp",
|
88 | 85 | "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/demo-functions/src/mutate_psp.ts",
|
89 | 86 | "description": "Mutates PodSecurityPolicy objects by setting spec.allowPrivilegeEscalation to false.",
|
90 | 87 | "type": "transformer",
|
91 |
| - "demo": true |
| 88 | + "demo": true, |
| 89 | + "toolchain": "../../../producer/functions/ts" |
92 | 90 | },
|
93 | 91 | {
|
94 | 92 | "image": "gcr.io/kpt-functions/label-namespace",
|
95 | 93 | "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/hello-world/src/label_namespace.ts",
|
96 | 94 | "description": "Adds a label to all Namespaces.",
|
97 | 95 | "type": "transformer",
|
98 |
| - "demo": true |
| 96 | + "demo": true, |
| 97 | + "toolchain": "../../../producer/functions/ts" |
99 | 98 | },
|
100 | 99 | {
|
101 | 100 | "image": "gcr.io/kpt-functions/helm-template",
|
102 |
| - "source": "https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/functions/helm-template/run.sh", |
| 101 | + "source": "https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/functions/ts/src/helm_template.ts", |
103 | 102 | "description": "Render chart templates locally using helm template. (See [usage](docs/helm-template/usage/index.html)).",
|
104 |
| - "type": "transformer" |
| 103 | + "type": "transformer", |
| 104 | + "toolchain": "../../../producer/functions/ts" |
105 | 105 | },
|
106 | 106 | {
|
107 | 107 | "image": "gcr.io/kustomize-functions/example-tshirt",
|
108 | 108 | "source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/injection-tshirt-sizes/image/main.go",
|
109 | 109 | "description": "Sets cpu and memory reservations on all containers for Resources annotated with tshirt size.",
|
110 |
| - "type": "transformer" |
| 110 | + "type": "transformer", |
| 111 | + "toolchain": "../../../producer/functions/golang" |
111 | 112 | },
|
112 | 113 | {
|
113 | 114 | "image": "gcr.io/kpt-functions/expand-team-cr",
|
114 | 115 | "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/demo-functions/src/expand_team_cr.ts",
|
115 | 116 | "description": "Reads custom resources of type Team and generates multiple Namespace and RoleBinding objects.",
|
116 | 117 | "type": "generator",
|
117 |
| - "demo": true |
| 118 | + "demo": true, |
| 119 | + "toolchain": "../../../producer/functions/ts" |
| 120 | + }, |
| 121 | + { |
| 122 | + "image": "gcr.io/kpt-functions/helm-template", |
| 123 | + "source": "https://github.com/GoogleContainerTools/kpt-functions-catalog/tree/master/functions/ts/src/helm_template.ts", |
| 124 | + "description": "Render chart templates locally using helm template. (See [usage](docs/helm-template/usage/index.html)).", |
| 125 | + "type": "generator", |
| 126 | + "toolchain": "../../../producer/functions/ts" |
| 127 | + }, |
| 128 | + { |
| 129 | + "image": "gcr.io/kustomize-functions/example-nginx", |
| 130 | + "source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/template-go-nginx/image/main.go", |
| 131 | + "description": "Generate configuration from go templates using the functionConfig as the template input.", |
| 132 | + "type": "generator", |
| 133 | + "toolchain": "../../../producer/functions/golang" |
| 134 | + }, |
| 135 | + { |
| 136 | + "image": "gcr.io/kustomize-functions/example-cockroachdb", |
| 137 | + "source": "https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/template-heredoc-cockroachdb/image/cockroachdb-template.sh", |
| 138 | + "description": "Generate configuration from heredoc template using the functionConfig as the template input.", |
| 139 | + "type": "generator", |
| 140 | + "toolchain": "../../../producer/functions/golang" |
118 | 141 | },
|
119 | 142 | {
|
120 | 143 | "image": "gcr.io/kpt-functions/no-op",
|
121 | 144 | "source": "https://github.com/GoogleContainerTools/kpt-functions-sdk/tree/master/ts/demo-functions/src/no_op.ts",
|
122 | 145 | "description": "No Op function for testing purposes",
|
123 | 146 | "type": "misc",
|
124 |
| - "demo": true |
| 147 | + "demo": true, |
| 148 | + "toolchain": "../../../producer/functions/ts" |
125 | 149 | }
|
126 | 150 | ]
|
0 commit comments