Fix the wrong indent for docs and examples 49/4949/1
authorLe Yao <le.yao@intel.com>
Wed, 20 Jul 2022 06:19:22 +0000 (14:19 +0800)
committerLe Yao <le.yao@intel.com>
Wed, 20 Jul 2022 06:20:19 +0000 (14:20 +0800)
Signed-off-by: Le Yao <le.yao@intel.com>
Change-Id: I2ae296d38ef8da50c5b0191221820c8ed9ece3ac

central-controller/docs/istio/README.md
central-controller/docs/istio/istio-example-yaml/request_auth.yaml

index 8ad4b76..07f0f9d 100644 (file)
@@ -264,12 +264,12 @@ metadata:
   namespace: istio-system
 spec:
   jwtRules:
-    - issuer: "http://<keycloak-url>/auth/realms/enterprise1"
-      jwksUri: "http://<keycloak-url>/auth/realms/enterprise1/protocol/openid-connect/certs"
+  - issuer: "http://<keycloak-url>/auth/realms/enterprise1"
+    jwksUri: "http://<keycloak-url>/auth/realms/enterprise1/protocol/openid-connect/certs"
 # And you can create another keycloak service if you need
 # jwtRules:
-#   - issuer: "http://<ano-keycloak-url>/auth/realms/ano-enterprise"
-#     jwksUri: "http://<ano-keycloak-url>/auth/realms/ano-enterprise/protocol/openid-connect/certs"
+# - issuer: "http://<ano-keycloak-url>/auth/realms/ano-enterprise"
+#   jwksUri: "http://<ano-keycloak-url>/auth/realms/ano-enterprise/protocol/openid-connect/certs"
 ```
 
 #### Authorization Policies with Istio
index 9fc7257..00298b7 100644 (file)
@@ -5,5 +5,5 @@ metadata:
   namespace: istio-system
 spec:
   jwtRules:
-    - issuer: "http://<keycloak-url>/auth/realms/enterprise1"
-      jwksUri: "http://<keycloak-url>/auth/realms/enterprise1/protocol/openid-connect/certs"
+  - issuer: "http://<keycloak-url>/auth/realms/enterprise1"
+    jwksUri: "http://<keycloak-url>/auth/realms/enterprise1/protocol/openid-connect/certs"