mirror of https://github.com/istio/istio.io.git
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:
parent
2c887f0e18
commit
96ca8ac221
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue