From 1f0c7db589da1105f2009f935b7cd59b27eb8292 Mon Sep 17 00:00:00 2001 From: Zhang Yong Date: Wed, 25 Dec 2019 16:07:24 +0800 Subject: [PATCH] update defaultconfig link https://github.com/kubernetes/kubectl/issues/790 --- .../k8s.io/kubectl/docs/book/pages/reference/kustomize.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/staging/src/k8s.io/kubectl/docs/book/pages/reference/kustomize.md b/staging/src/k8s.io/kubectl/docs/book/pages/reference/kustomize.md index 6efc70d92efd2..fffba6e4a18dc 100644 --- a/staging/src/k8s.io/kubectl/docs/book/pages/reference/kustomize.md +++ b/staging/src/k8s.io/kubectl/docs/book/pages/reference/kustomize.md @@ -564,7 +564,7 @@ Meta Options control how Kustomize generates and transforms Resource Config. ### configurations `configurations` is used to configure the built-in Kustomize Transformers to work with CRDs. The built-in -Kustomize configurations can be found [here](https://github.com/kubernetes-sigs/kustomize/tree/master/pkg/transformers/config/defaultconfig) +Kustomize configurations can be found [here](https://github.com/kubernetes-sigs/kustomize/blob/master/api/konfig/builtinpluginconsts) Examples: @@ -605,7 +605,7 @@ to find additional annotation fields on CRDs. | **path** | string | Path to annotation field. | | **version** | string | API Version of the object to add the annotation to. If unset, applies to all Versions. | -[Built-in examples](https://github.com/kubernetes-sigs/kustomize/blob/master/pkg/transformers/config/defaultconfig/commonannotations.go) +[Built-in examples](https://github.com/kubernetes-sigs/kustomize/blob/master/api/konfig/builtinpluginconsts/commonannotations.go) {% sample lang="yaml" %} @@ -640,7 +640,7 @@ additional labels and selector fields on CRDs. | **path** | string | Path to label field. | | **version** | string | API Version of the object to add the label to. If unset, applies to all Versions. | -[Built-in examples](https://github.com/kubernetes-sigs/kustomize/blob/master/pkg/transformers/config/defaultconfig/commonlabels.go) +[Built-in examples](https://github.com/kubernetes-sigs/kustomize/blob/master/api/konfig/builtinpluginconsts/commonlabels.go) {% sample lang="yaml" %} @@ -737,7 +737,7 @@ names are modified - e.g. `namePrefix`, `secretGenerator`. | **path** | string | Path to the name field that is a reference. | | **version** | string | API Version of the object *that contains a reference**. If unset, applies to all Versions. | -[Built-In Examples](https://github.com/kubernetes-sigs/kustomize/blob/master/pkg/transformers/config/defaultconfig/namereference.go) +[Built-In Examples](https://github.com/kubernetes-sigs/kustomize/blob/master/api/konfig/builtinpluginconsts/namereference.go) {% sample lang="yaml" %}