cloudflare/pint
Publicmirrored from https://github.com/cloudflare/pintAvailable
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. |
| 7 | owners { |
| 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 | |