Skip to content

Commit

Permalink
Add options for branch protection rules
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolst committed Feb 23, 2024
1 parent d31cadc commit 04daaa8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/v1/kuben-team-definition.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,19 @@
"access": {
"type": "object",
"description": "Map of AD group to github role"
},
"branch_protection": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable the default Kuben set of branch protection rules"
},
"enforce_admins": {
"type": "boolean",
"description": "Do not allow repository admins to bypass branch protection rules (false required for Flux2 image update automation)"
}
}
}
}
}
Expand Down

0 comments on commit 04daaa8

Please sign in to comment.