mirror of https://github.com/istio/istio.io.git
fix sample RbacConfig in concept page. (#2253)
This commit is contained in:
parent
beeb9c341d
commit
053efb78f9
|
@ -559,13 +559,12 @@ In the following example, Istio authorization is enabled for the `default`
|
||||||
namespace.
|
namespace.
|
||||||
|
|
||||||
{{< text yaml >}}
|
{{< text yaml >}}
|
||||||
apiVersion: "config.istio.io/v1alpha2"
|
apiVersion: "rbac.istio.io/v1alpha1"
|
||||||
kind: RbacConfig
|
kind: RbacConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: default
|
name: default
|
||||||
namespace: istio-system
|
|
||||||
spec:
|
spec:
|
||||||
mode: ON_WITH_INCLUSION
|
mode: 'ON_WITH_INCLUSION'
|
||||||
inclusion:
|
inclusion:
|
||||||
namespaces: ["default"]
|
namespaces: ["default"]
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
Loading…
Reference in New Issue