Skip to content

Commit

Permalink
Merge pull request kubernetes#86603 from npu21/doc/kustomize
Browse files Browse the repository at this point in the history
update defaultconfig link
  • Loading branch information
k8s-ci-robot authored Feb 20, 2020
2 parents d0983b5 + 1f0c7db commit cda2f5d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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" %}

Expand Down Expand Up @@ -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" %}

Expand Down Expand Up @@ -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" %}

Expand Down

0 comments on commit cda2f5d

Please sign in to comment.