mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
26 lines
869 B
Plaintext
26 lines
869 B
Plaintext
////
|
|
This TASK module included in the following assemblies:
|
|
- ossm-tutorial-bookinfo.adoc
|
|
////
|
|
|
|
[id="ossm-tutorial-bookinfo-adding-destination-rules_{context}"]
|
|
= Adding default destination rules
|
|
|
|
Before you can use the Bookinfo application, you have to add default destination rules. There are two preconfigured YAML files, depending on whether or not you enabled mutual transport layer security (TLS) authentication.
|
|
|
|
.Procedure
|
|
|
|
. To add destination rules, run one of the following commands:
|
|
** If you did not enable mutual TLS:
|
|
+
|
|
----
|
|
$ oc apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.1/samples/bookinfo/networking/destination-rule-all.yaml
|
|
----
|
|
|
|
** If you enabled mutual TLS:
|
|
+
|
|
----
|
|
$ oc apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.1/samples/bookinfo/networking/destination-rule-all-mtls.yaml
|
|
----
|
|
|