You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/content/en/docs/generators/kustomize.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,9 @@ and the well-known template function set that is available in Helm can be used;
47
47
|`mustLocalLookup <apiVersion string, kind string, namespace string, name string>`| Lookup a Kubernetes resource with the local client; fail in case of 404 (not found) errors. |
48
48
|`lookupWithKubeConfig <apiVersion string, kind string, namespace string, name string kubeConfig string> `| Lookup a Kubernetes resource with the given kubeconfig; return nil in case of 404 (not found) errors. |
49
49
|`mustLookupWithKubeConfig <apiVersion string, kind string, namespace string, name string, kubeConfig string>`| Lookup a Kubernetes resource with the given kubeconfig; fail in case of 404 (not found) errors. |
50
+
|`lookupList <apiVersion string, kind string, namespace string, labelSelector string>`| Lookup (list) Kubernetes resources with the target client. |
51
+
|`localLookupList <apiVersion string, kind string, namespace string, labelSelector string>`| Lookup (list) Kubernetes resources with the local client. |
52
+
|`lookupListWithKubeConfig <apiVersion string, kind string, namespace string, labelSelector string kubeConfig string> `| Lookup (list) Kubernetes resources with the given kubeconfig. |
50
53
|`listFiles <pattern string>`| List files relative to the provided kustomization directory, matching the given [pattern](https://pkg.go.dev/github.com/gobwas/glob). |
51
54
|`existsFile <path string>`| Check if the given file path exists, relative to the provided kustomization directory. |
52
55
|`readFile <path string>`| Read the given file, relative to the provided kustomization directory. |
0 commit comments