Backport of Fix HCL into release/1.16.x (#18514)
* backport of commit b47758dac2a9b7ce2142953cae03372332eb45a3 * backport of commit 7befe3e7e505b876496e9d02684222119631d6a7 --------- Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
This commit is contained in:
parent
72f88041ae
commit
5d6ed679d0
|
@ -224,53 +224,59 @@ The following example demonstrates how to format three different `service-intent
|
|||
|
||||
<CodeTabs tabs={[ "dc1-partition-1", "dc1-partition-2", "dc2-partition-1" ]}>
|
||||
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-9">
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-11">
|
||||
|
||||
|
||||
```hcl
|
||||
Kind = "service-intentions"
|
||||
Name = "api"
|
||||
Namespace= "store"
|
||||
Partition="partition-1"
|
||||
Namespace = "store"
|
||||
Partition = "partition-1"
|
||||
Sources = [
|
||||
{
|
||||
Name = "api"
|
||||
Action = "allow"
|
||||
Namespace = "store"
|
||||
SamenessGroup = "sameness-group-a"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
</CodeBlockConfig>
|
||||
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-9">
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-11">
|
||||
|
||||
```hcl
|
||||
Kind = "service-intentions"
|
||||
Name = "api"
|
||||
Namespace= "store"
|
||||
Partition= "partition-2"
|
||||
Namespace = "store"
|
||||
Partition = "partition-2"
|
||||
Sources = [
|
||||
{
|
||||
Name = "api"
|
||||
Action = "allow"
|
||||
Namespace = "store"
|
||||
SamenessGroup = "sameness-group-a"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
</CodeBlockConfig>
|
||||
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-9">
|
||||
<CodeBlockConfig hideClipboard lineNumbers highlight="3-4,6-11">
|
||||
|
||||
```hcl
|
||||
Kind = "service-intentions"
|
||||
Name = "api"
|
||||
Namespace= "store"
|
||||
Partition= "partition-1"
|
||||
Namespace = "store"
|
||||
Partition = "partition-1"
|
||||
Sources = [
|
||||
{
|
||||
Name = "api"
|
||||
Action = "allow"
|
||||
Namespace = "store"
|
||||
SamenessGroup = "sameness-group-a"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue