Change name of Policy and DestinationRule. (#1704)

The command uses istioctl replace to change Policy and DestinationRule.
However, there is no Policy or DestinationRule with the name example-2.
This commit is contained in:
Axel Siebenborn 2018-07-09 17:43:49 +02:00 committed by Martin Taillefer
parent 2c887f0e18
commit 96ca8ac221
1 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ $ cat <<EOF | istioctl replace -n bar -f -
apiVersion: "authentication.istio.io/v1alpha1"
kind: "Policy"
metadata:
name: "example-2"
name: "httpbin"
spec:
targets:
- name: httpbin
@ -343,7 +343,7 @@ $ cat <<EOF | istioctl replace -n bar -f -
apiVersion: "networking.istio.io/v1alpha3"
kind: "DestinationRule"
metadata:
name: "example-2"
name: "httpbin"
spec:
host: httpbin.bar.svc.cluster.local
trafficPolicy: