Update service-intentions.mdx

pull/17443/head
Luke Kysow 2023-05-24 08:27:50 -07:00 committed by GitHub
parent f9d14519e8
commit a6322d8c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 15 deletions

View File

@ -816,6 +816,8 @@ Sources = [
```yaml ```yaml
apiVersion: consul.hashicorp.com/v1alpha1 apiVersion: consul.hashicorp.com/v1alpha1
kind: ServiceIntentions kind: ServiceIntentions
metadata:
name: db
spec: spec:
destination: destination:
name: db name: db
@ -865,6 +867,8 @@ Sources = [
```yaml ```yaml
apiVersion: consul.hashicorp.com/v1alpha1 apiVersion: consul.hashicorp.com/v1alpha1
kind: ServiceIntentions kind: ServiceIntentions
metadata:
name: web-deny-all
spec: spec:
destination: destination:
name: * name: *
@ -908,6 +912,8 @@ Sources = [
```yaml ```yaml
apiVersion: consul.hashicorp.com/v1alpha1 apiVersion: consul.hashicorp.com/v1alpha1
kind: ServiceIntentions kind: ServiceIntentions
metadata:
name: db
spec: spec:
destination: destination:
name: db name: db
@ -1250,7 +1256,6 @@ When using cluster peering connections, intentions secure your deployments with
] ]
``` ```
```yaml
```yaml ```yaml
apiVersion: consul.hashicorp.com/v1alpha1 apiVersion: consul.hashicorp.com/v1alpha1
kind: ServiceIntentions kind: ServiceIntentions