cloudflare/pint

Public

mirrored from https://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.82.1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

docs/examples/owners.hcl

22lines · modecode

1# Example owner validation configuration.
2# When running pint with --require-owner, every rule file must have
3# an owner comment. The 'owners' block restricts which owner names
4# are accepted.
5
6# Only allow owner names that match these regexp patterns.
7owners {
8 allowed = [
9 "sre-.*",
10 "platform",
11 "observability",
12 ]
13}
14
15# These are example comments you would add to your Prometheus rule YAML files.
16# They are NOT part of the pint HCL config above.
17#
18# Set owner for the entire file:
19# # pint file/owner sre-oncall
20#
21# Set owner for a single rule:
22# # pint rule/owner platform
23