mirror of https://github.com/istio/istio.io.git
update index.md (#6027)
* update index.md * Update index.md * Updation * updated config
This commit is contained in:
parent
ef932a9bb7
commit
b67b652561
|
|
@ -10,7 +10,7 @@ This task shows you how to enable Istio policy enforcement.
|
||||||
## At install time
|
## At install time
|
||||||
|
|
||||||
In the default Istio installation profile, policy enforcement is disabled. To install Istio
|
In the default Istio installation profile, policy enforcement is disabled. To install Istio
|
||||||
with policy enforcement on, use the `--set values.global.disablePolicyChecks=false` install option.
|
with policy enforcement on, use the `--set values.global.disablePolicyChecks=false` and `--set values.pilot.policy.enabled=true` install option.
|
||||||
|
|
||||||
Alternatively, you may [install Istio using the demo profile](/docs/setup/getting-started/),
|
Alternatively, you may [install Istio using the demo profile](/docs/setup/getting-started/),
|
||||||
which enables policy checks by default.
|
which enables policy checks by default.
|
||||||
|
|
@ -26,13 +26,13 @@ which enables policy checks by default.
|
||||||
|
|
||||||
If policy enforcement is enabled (`disablePolicyChecks` is false), no further action is needed.
|
If policy enforcement is enabled (`disablePolicyChecks` is false), no further action is needed.
|
||||||
|
|
||||||
1. Edit the `istio` configmap to enable policy checks.
|
1. Update the `istio` configuration to enable policy checks.
|
||||||
|
|
||||||
Execute the following command from the root Istio directory:
|
Execute the following command from the root Istio directory:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ istioctl manifest apply --set values.global.disablePolicyChecks=false
|
$ istioctl manifest apply --set values.global.disablePolicyChecks=false --set values.pilot.policy.enabled=true
|
||||||
configmap "istio" replaced
|
configuration "istio" replaced
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
1. Validate that policy enforcement is now enabled.
|
1. Validate that policy enforcement is now enabled.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue