This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 292fef6  Add double dash to kubectl exec commands (#7666)
292fef6 is described below

commit 292fef67c5fd38b4e5d303c5a1d4150905155ed7
Author: Kristi <kristi....@gmail.com>
AuthorDate: Wed Jul 29 08:42:44 2020 -0700

    Add double dash to kubectl exec commands (#7666)
    
    ### Motivation
    
    kubectl 1.18.6 warns that not using the double dashes is deprecated. Adding 
the double dashes to the kubectl exec commands in the docs will remove this 
warning and future-proof the commands if kubectl drops support for running a 
command without the double dashes.
    
    ### Modifications
    
    Documentation update
---
 site2/docs/getting-started-helm.md                                 | 2 +-
 site2/website/versioned_docs/version-2.5.0/getting-started-helm.md | 2 +-
 site2/website/versioned_docs/version-2.6.0/getting-started-helm.md | 2 +-
 site2/website/versioned_docs/version-2.6.1/getting-started-helm.md | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/site2/docs/getting-started-helm.md 
b/site2/docs/getting-started-helm.md
index 0ab5fd4..ba51fb0 100644
--- a/site2/docs/getting-started-helm.md
+++ b/site2/docs/getting-started-helm.md
@@ -137,7 +137,7 @@ We use 
[Minikube](https://kubernetes.io/docs/getting-started-guides/minikube/) i
 1. Enter the `toolset` container.
 
     ```bash
-    kubectl exec -it -n pulsar pulsar-mini-toolset-0 /bin/bash
+    kubectl exec -it -n pulsar pulsar-mini-toolset-0 -- /bin/bash
     ```
 
 2. In the `toolset` container, create a tenant named `apache`.
diff --git a/site2/website/versioned_docs/version-2.5.0/getting-started-helm.md 
b/site2/website/versioned_docs/version-2.5.0/getting-started-helm.md
index 610efd5..30efd7f 100644
--- a/site2/website/versioned_docs/version-2.5.0/getting-started-helm.md
+++ b/site2/website/versioned_docs/version-2.5.0/getting-started-helm.md
@@ -131,7 +131,7 @@ We use 
[Minikube](https://kubernetes.io/docs/getting-started-guides/minikube/) i
 1. Enter the `toolset` container.
 
     ```bash
-    kubectl exec -it -n pulsar pulsar-mini-toolset-0 /bin/bash
+    kubectl exec -it -n pulsar pulsar-mini-toolset-0 -- /bin/bash
     ```
 
 2. In the `toolset` container, create a tenant named `apache`.
diff --git a/site2/website/versioned_docs/version-2.6.0/getting-started-helm.md 
b/site2/website/versioned_docs/version-2.6.0/getting-started-helm.md
index b0d10af..ec77a71 100644
--- a/site2/website/versioned_docs/version-2.6.0/getting-started-helm.md
+++ b/site2/website/versioned_docs/version-2.6.0/getting-started-helm.md
@@ -138,7 +138,7 @@ We use 
[Minikube](https://kubernetes.io/docs/getting-started-guides/minikube/) i
 1. Enter the `toolset` container.
 
     ```bash
-    kubectl exec -it -n pulsar pulsar-mini-toolset-0 /bin/bash
+    kubectl exec -it -n pulsar pulsar-mini-toolset-0 -- /bin/bash
     ```
 
 2. In the `toolset` container, create a tenant named `apache`.
diff --git a/site2/website/versioned_docs/version-2.6.1/getting-started-helm.md 
b/site2/website/versioned_docs/version-2.6.1/getting-started-helm.md
index cca1f63..ba988ce 100644
--- a/site2/website/versioned_docs/version-2.6.1/getting-started-helm.md
+++ b/site2/website/versioned_docs/version-2.6.1/getting-started-helm.md
@@ -130,7 +130,7 @@ We use 
[Minikube](https://kubernetes.io/docs/getting-started-guides/minikube/) i
 1. Enter the `toolset` container.
 
     ```bash
-    kubectl exec -it -n pulsar pulsar-mini-toolset-0 /bin/bash
+    kubectl exec -it -n pulsar pulsar-mini-toolset-0 -- /bin/bash
     ```
 
 2. In the `toolset` container, create a tenant named `apache`.

Reply via email to