Skip to content

Commit

Permalink
feat(chart): add execute policy
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Becker <[email protected]>
  • Loading branch information
sbckr committed Nov 20, 2024
1 parent 465ff8f commit 71436c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/thymus/templates/access-control/default-policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ data:
default tag.update := false
default tag.delete := false
default use := false
default execute := false
owner-access.rego: |
package carbynestack.def
Expand Down Expand Up @@ -78,3 +79,9 @@ data:
programIds := split(input.tags[i].value, ",")
programIds[_] == input.subject
}
ephemeral-execute.rego: |
package carbynestack.def
import rego.v1
execute if input.playerCount >= 2

0 comments on commit 71436c8

Please sign in to comment.