From 1edf6ea927cfe05d1325e710b08c918449d612b0 Mon Sep 17 00:00:00 2001 From: Steve Perry Date: Fri, 29 Sep 2017 13:39:35 -0700 Subject: [PATCH] Replace v1.7 with {{page.version}}. (#5688) --- docs/concepts/configuration/secret.md | 2 +- docs/concepts/configuration/taint-and-toleration.md | 2 +- .../working-with-objects/kubernetes-objects.md | 2 +- .../run-application/update-api-object-kubectl-patch.md | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/concepts/configuration/secret.md b/docs/concepts/configuration/secret.md index 936ae5fe5c..70e7c2d03e 100644 --- a/docs/concepts/configuration/secret.md +++ b/docs/concepts/configuration/secret.md @@ -121,7 +121,7 @@ The data field is a map. Its keys must match [`DNS_SUBDOMAIN`](https://git.k8s.io/community/contributors/design-proposals/architecture/identifiers.md), except that leading dots are also allowed. The values are arbitrary data, encoded using base64. -Create the secret using [`kubectl create`](/docs/user-guide/kubectl/v1.7/#create): +Create the secret using [`kubectl create`](/docs/user-guide/kubectl/{{page.version}}/#create): ```shell $ kubectl create -f ./secret.yaml diff --git a/docs/concepts/configuration/taint-and-toleration.md b/docs/concepts/configuration/taint-and-toleration.md index 7399f86159..cb51bfdb17 100644 --- a/docs/concepts/configuration/taint-and-toleration.md +++ b/docs/concepts/configuration/taint-and-toleration.md @@ -19,7 +19,7 @@ onto nodes with matching taints. ## Concepts -You add a taint to a node using [kubectl taint](/docs/user-guide/kubectl/v1.7/#taint). +You add a taint to a node using [kubectl taint](/docs/user-guide/kubectl/{{page.version}}/#taint). For example, ```shell diff --git a/docs/concepts/overview/working-with-objects/kubernetes-objects.md b/docs/concepts/overview/working-with-objects/kubernetes-objects.md index bb8358f617..8b68a3172b 100644 --- a/docs/concepts/overview/working-with-objects/kubernetes-objects.md +++ b/docs/concepts/overview/working-with-objects/kubernetes-objects.md @@ -36,7 +36,7 @@ Here's an example `.yaml` file that shows the required fields and object spec fo {% include code.html language="yaml" file="nginx-deployment.yaml" ghlink="/docs/concepts/overview/working-with-objects/nginx-deployment.yaml" %} -One way to create a Deployment using a `.yaml` file like the one above is to use the [`kubectl create`](/docs/user-guide/kubectl/v1.7/#create) command in the `kubectl` command-line interface, passing the `.yaml` file as an argument. Here's an example: +One way to create a Deployment using a `.yaml` file like the one above is to use the [`kubectl create`](/docs/user-guide/kubectl/{{page.version}}/#create) command in the `kubectl` command-line interface, passing the `.yaml` file as an argument. Here's an example: ```shell $ kubectl create -f docs/user-guide/nginx-deployment.yaml --record diff --git a/docs/tasks/run-application/update-api-object-kubectl-patch.md b/docs/tasks/run-application/update-api-object-kubectl-patch.md index 051865a2be..bb5b1d5c5a 100644 --- a/docs/tasks/run-application/update-api-object-kubectl-patch.md +++ b/docs/tasks/run-application/update-api-object-kubectl-patch.md @@ -250,11 +250,11 @@ In this exercise, you `kubectl patch` to change the live configuration of a Deployment object. You did not change the configuration file that you originally used to create the Deployment object. Other commands for updating API objects include [kubectl annotate](/docs/user-guide/kubectl/{{page.version}}/#annotate), -[kubectl edit](/docs/user-guide/kubectl/v1.7/#edit), -[kubectl replace](/docs/user-guide/kubectl/v1.7/#replace), -[kubectl scale](/docs/user-guide/kubectl/v1.7/#scale), -[kubectl update](/docs/user-guide/kubectl/v1.7/#update). and -[kubectl apply](/docs/user-guide/kubectl/v1.7/#apply). +[kubectl edit](/docs/user-guide/kubectl/{{page.version}}/#edit), +[kubectl replace](/docs/user-guide/kubectl/{{page.version}}/#replace), +[kubectl scale](/docs/user-guide/kubectl/{{page.version}}/#scale), +[kubectl update](/docs/user-guide/kubectl/{{page.version}}/#update). and +[kubectl apply](/docs/user-guide/kubectl/{{page.version}}/#apply). {% endcapture %}