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

/docs/tasks/observability/gateways/index.md #1972

Open
SataQiu opened this issue Mar 25, 2020 · 0 comments
Open

/docs/tasks/observability/gateways/index.md #1972

SataQiu opened this issue Mar 25, 2020 · 0 comments
Labels
lang/zh pending 待认领(新任务/有更新) priority/P0 sync/update 官方文档发生变更 version/1.6

Comments

@SataQiu
Copy link
Member

SataQiu commented Mar 25, 2020

Source File: /docs/tasks/observability/gateways/index.md
Diff:

 diff --git a/content/en/docs/tasks/observability/gateways/index.md b/content/en/docs/tasks/observability/gateways/index.md
index 643974efa..5cdba92fd 100644
--- a/content/en/docs/tasks/observability/gateways/index.md
+++ b/content/en/docs/tasks/observability/gateways/index.md
@@ -1,7 +1,7 @@
 ---
 title: Remotely Accessing Telemetry Addons
 description: This task shows you how to configure external access to the set of Istio telemetry addons.
-weight: 99
+weight: 98
 keywords: [telemetry,gateway,jaeger,zipkin,tracing,kiali,prometheus,addons]
 aliases:
  - /docs/tasks/telemetry/gateways/
@@ -84,7 +84,7 @@ the [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/confi
 
     {{< text bash >}}
     $ cat <<EOF | kubectl apply -f -
-    apiVersion: certmanager.k8s.io/v1alpha1
+    apiVersion: cert-manager.io/v1alpha2
     kind: Certificate
     metadata:
       name: telemetry-gw-cert
@@ -105,13 +105,13 @@ the [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/confi
           - $TELEMETRY_DOMAIN
     ---
     EOF
-    certificate.certmanager.k8s.io "telemetry-gw-cert" created
+    certificate.cert-manager.io "telemetry-gw-cert" created
     {{< /text >}}
 
 1. Wait until the server certificate is ready.
 
     {{< text syntax="bash" expandlinks="false" >}}
-    $ JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status}{end}{end}' && kubectl -n istio-system get certificates -o jsonpath="$JSONPATH"
+    $ JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status}{end}{end}' && kubectl -n istio-system get certificates.cert-manager.io -o jsonpath="$JSONPATH"
     telemetry-gw-cert:Ready=True
     {{< /text >}}
 
@@ -637,6 +637,6 @@ the [Secret Discovery Service](https://www.envoyproxy.io/docs/envoy/latest/confi
 * If installed, remove the gateway certificate:
 
     {{< text bash >}}
-    $ kubectl -n istio-system delete certificate telemetry-gw-cert
-    certificate.certmanager.k8s.io "telemetry-gw-cert" deleted
+    $ kubectl -n istio-system delete certificates.cert-manager.io telemetry-gw-cert
+    certificate.cert-manager.io "telemetry-gw-cert" deleted
     {{< /text >}}
@mesher-bot mesher-bot added the welcome 新 Issue,尚未处理 label Mar 25, 2020
@SataQiu SataQiu added lang/zh sync/update 官方文档发生变更 priority/P0 pending 待认领(新任务/有更新) and removed welcome 新 Issue,尚未处理 labels Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/zh pending 待认领(新任务/有更新) priority/P0 sync/update 官方文档发生变更 version/1.6
Projects
None yet
Development

No branches or pull requests

2 participants