Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing broken links in examples #4879

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/breakfast.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[kubernetes API object style]: https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/#required-fields
[variant]: ../docs/glossary.md#variant
[variant]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#variant

# Demo: configure breakfast

Expand Down
2 changes: 1 addition & 1 deletion examples/chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[last mile]: https://testingclouds.wordpress.com/2018/07/20/844/
[artifact hub]: https://artifacthub.io
[_minecraft_]: https://artifacthub.io/packages/helm/minecraft-server-charts/minecraft
[plugin]: ../docs/plugins
[plugin]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#plugin
[built]: https://kubectl.docs.kubernetes.io/references/kustomize/kustomization

Kustomize is [built] from _generators_ and
Expand Down
4 changes: 2 additions & 2 deletions examples/combineConfigs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[overlay]: ../docs/glossary.md#overlay
[target]: ../docs/glossary.md#target
[overlay]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#overlay
[target]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#target

# Demo: combining config data from devops and developers

Expand Down
6 changes: 3 additions & 3 deletions examples/configGeneration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[patch]: ../docs/glossary.md#patch
[resource]: ../docs/glossary.md#resource
[variant]: ../docs/glossary.md#variant
[patch]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#patch
[resource]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#resource
[variant]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#variant

## ConfigMap generation and rolling updates

Expand Down
14 changes: 7 additions & 7 deletions examples/configureBuiltinPlugin.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[builtin operations]: ../docs/plugins/builtins.md
[builtin plugins]: ../docs/plugins/builtins.md
[plugins]: ../docs/plugins
[plugin]: ../docs/plugins
[fields]: ../docs/fields.md
[fields in a kustomization file]: ../docs/fields.md
[builtin operations]: https://kubectl.docs.kubernetes.io/references/kustomize/builtins/
[builtin plugins]: https://kubectl.docs.kubernetes.io/references/kustomize/builtins/
[plugins]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#plugin
[plugin]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#plugin
[fields]: https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/
[fields in a kustomization file]: https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/
[TransformerConfig]: ../api/internal/plugins/builtinconfig/transformerconfig.go
[kustomization]: ../docs/glossary.md#kustomization
[kustomization]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#kustomization

# Customizing kustomize

Expand Down
14 changes: 7 additions & 7 deletions examples/ldap/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[base]: ../../docs/glossary.md#base
[gitops]: ../../docs/glossary.md#gitops
[kustomization]: ../../docs/glossary.md#kustomization
[overlay]: ../../docs/glossary.md#overlay
[overlays]: ../../docs/glossary.md#overlay
[variant]: ../../docs/glossary.md#variant
[variants]: ../../docs/glossary.md#variant
[base]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#base
[gitops]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#gitops
[kustomization]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#kustomization
[overlay]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#overlay
[overlays]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#overlay
[variant]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#variant
[variants]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#variant

# Demo: LDAP with variants

Expand Down
7 changes: 3 additions & 4 deletions examples/secretGeneratorPlugin.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[ConfigMaps]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#configmap-v1-core
[ConfigMaps]: https://kubernetes.io/docs/concepts/configuration/configmap/
[ELF]: https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
[Go plugin]: https://golang.org/pkg/plugin
[Secrets]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#secret-v1-core
[Secrets]: https://kubernetes.io/docs/concepts/configuration/secret/
[base64]: https://tools.ietf.org/html/rfc4648#section-4
[configuration directory]: https://wiki.archlinux.org/index.php/XDG_Base_Directory#Specification
[grpc]: https://grpc.io
[tag]: /../../releases
[v2.0.3]: /../../releases/tag/v2.0.3
[tag]: /releasing
[`exec.Command`]: https://golang.org/pkg/os/exec/#Command

# Generating Secrets
Expand Down
2 changes: 1 addition & 1 deletion examples/validationTransformer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[base]: ../../docs/glossary.md#base
[kubeval]: https://github.com/instrumenta/kubeval
[plugin]: ../../docs/plugins
[plugin]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#plugin

kustomize doesn't validate either its input or
output beyond the validation provided by the
Expand Down
2 changes: 1 addition & 1 deletion examples/zh/breakfast.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[kubernetes API 对象样式]: https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/#required-fields
[variant]: ../../docs/glossary.md#variant
[variant]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#variant

# 示例:早餐配置

Expand Down
2 changes: 1 addition & 1 deletion examples/zh/chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[stable chart]: https://github.com/helm/charts/tree/master/stable
[Helm charts]: https://github.com/helm/charts
[_minecraft_]: https://github.com/helm/charts/tree/master/stable/minecraft
[插件]: ../../docs/plugins
[插件]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#plugin

kustomize 并不会读取 [Helm charts] ,但可以使用 generator 来访问 [Helm charts] 。

Expand Down
4 changes: 2 additions & 2 deletions examples/zh/combineConfigs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[overlay]: ../docs/glossary.md#overlay
[target]: ../docs/glossary.md#target
[overlay]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#overlay
[target]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#target

# 示例:devops和开发配合管理配置数据

Expand Down
6 changes: 3 additions & 3 deletions examples/zh/configGeneration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[patch]: ../../docs/glossary.md#patch
[resource]: ../../docs/glossary.md#resource
[variant]: ../../docs/glossary.md#variant
[patch]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#patch
[resource]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#resource
[variant]: https://kubectl.docs.kubernetes.io/references/kustomize/glossary/#variant

## ConfigMap 的生成和滚动更新

Expand Down
7 changes: 3 additions & 4 deletions examples/zh/secretGeneratorPlugin.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[ConfigMaps]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#configmap-v1-core
[ConfigMaps]: https://kubernetes.io/docs/concepts/configuration/configmap/
[ELF]: https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
[Go plugin]: https://golang.org/pkg/plugin
[Secrets]: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#secret-v1-core
[Secrets]: https://kubernetes.io/docs/concepts/configuration/secret/
[base64]: https://tools.ietf.org/html/rfc4648#section-4
[configuration directory]: https://wiki.archlinux.org/index.php/XDG_Base_Directory#Specification
[grpc]: https://grpc.io
[tag]: /../../releases
[v2.0.3]: /../../releases/tag/v2.0.3
[tag]: /releasing
[`exec.Command`]: https://golang.org/pkg/os/exec/#Command

# 生成 Secrets
Expand Down