mirror of https://github.com/istio/istio.io.git
Fix yaml indentation in ambient get started doc (#14163)
This commit is contained in:
parent
83bae38f99
commit
9e51c3822f
|
@ -304,19 +304,19 @@ $ kubectl apply -f - <<EOF
|
||||||
apiVersion: security.istio.io/v1beta1
|
apiVersion: security.istio.io/v1beta1
|
||||||
kind: AuthorizationPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: productpage-viewer
|
name: productpage-viewer
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: productpage
|
app: productpage
|
||||||
action: ALLOW
|
action: ALLOW
|
||||||
rules:
|
rules:
|
||||||
- from:
|
- from:
|
||||||
- source:
|
- source:
|
||||||
principals:
|
principals:
|
||||||
- cluster.local/ns/default/sa/sleep
|
- cluster.local/ns/default/sa/sleep
|
||||||
- cluster.local/$GATEWAY_SERVICE_ACCOUNT
|
- cluster.local/$GATEWAY_SERVICE_ACCOUNT
|
||||||
EOF
|
EOF
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
|
@ -374,8 +374,8 @@ $ kubectl apply -f - <<EOF
|
||||||
apiVersion: security.istio.io/v1beta1
|
apiVersion: security.istio.io/v1beta1
|
||||||
kind: AuthorizationPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: productpage-viewer
|
name: productpage-viewer
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
targetRef:
|
targetRef:
|
||||||
kind: Gateway
|
kind: Gateway
|
||||||
|
|
|
@ -166,19 +166,19 @@ kubectl apply -f - <<EOF
|
||||||
apiVersion: security.istio.io/v1beta1
|
apiVersion: security.istio.io/v1beta1
|
||||||
kind: AuthorizationPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: productpage-viewer
|
name: productpage-viewer
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: productpage
|
app: productpage
|
||||||
action: ALLOW
|
action: ALLOW
|
||||||
rules:
|
rules:
|
||||||
- from:
|
- from:
|
||||||
- source:
|
- source:
|
||||||
principals:
|
principals:
|
||||||
- cluster.local/ns/default/sa/sleep
|
- cluster.local/ns/default/sa/sleep
|
||||||
- cluster.local/$GATEWAY_SERVICE_ACCOUNT
|
- cluster.local/$GATEWAY_SERVICE_ACCOUNT
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -238,8 +238,8 @@ kubectl apply -f - <<EOF
|
||||||
apiVersion: security.istio.io/v1beta1
|
apiVersion: security.istio.io/v1beta1
|
||||||
kind: AuthorizationPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: productpage-viewer
|
name: productpage-viewer
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
targetRef:
|
targetRef:
|
||||||
kind: Gateway
|
kind: Gateway
|
||||||
|
|
Loading…
Reference in New Issue