mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
Added hcl language to snippet.
This commit is contained in:
parent
18efc981df
commit
2b5107656a
@ -64,7 +64,7 @@ The following are two examples of ACL policies with Sentinel rules.
|
|||||||
|
|
||||||
<CodeBlockConfig heading="Any values stored under the key 'dc1' end with 'dev'">
|
<CodeBlockConfig heading="Any values stored under the key 'dc1' end with 'dev'">
|
||||||
|
|
||||||
```text
|
```hcl
|
||||||
key "dc1" {
|
key "dc1" {
|
||||||
policy = "write"
|
policy = "write"
|
||||||
sentinel {
|
sentinel {
|
||||||
@ -82,7 +82,7 @@ EOF
|
|||||||
|
|
||||||
<CodeBlockConfig heading="The key 'haproxy_version' can only be updated during business hours">
|
<CodeBlockConfig heading="The key 'haproxy_version' can only be updated during business hours">
|
||||||
|
|
||||||
```text
|
```hcl
|
||||||
key "haproxy_version" {
|
key "haproxy_version" {
|
||||||
policy = "write"
|
policy = "write"
|
||||||
sentinel {
|
sentinel {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user