mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 22:34:55 +00:00
website: fix stray sentinel references using the old syntax (#5191)
[skip ci]
This commit is contained in:
parent
7fd03b3ba4
commit
3841e9e396
@ -737,8 +737,10 @@ Sentinel code policy looks like this:
|
|||||||
key "foo" {
|
key "foo" {
|
||||||
policy = "write"
|
policy = "write"
|
||||||
sentinel {
|
sentinel {
|
||||||
code = " import \"strings\"
|
code = <<EOF
|
||||||
main = rule { strings.has_suffix(value, \"bar\") } "
|
import "strings"
|
||||||
|
main = rule { strings.has_suffix(value, "bar") }
|
||||||
|
EOF
|
||||||
enforcementlevel = "hard-mandatory"
|
enforcementlevel = "hard-mandatory"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -847,8 +847,8 @@ key "foo" {
|
|||||||
policy = "write"
|
policy = "write"
|
||||||
sentinel {
|
sentinel {
|
||||||
code = <<EOF
|
code = <<EOF
|
||||||
import "strings\
|
import "strings"
|
||||||
main = rule { strings.has_suffix(value, "bar") }
|
main = rule { strings.has_suffix(value, "bar") }
|
||||||
EOF
|
EOF
|
||||||
enforcementlevel = "hard-mandatory"
|
enforcementlevel = "hard-mandatory"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user