-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
policy: symlink default policy to /run/peerpod
Since policy is provisioned by initdata to /run/peerpod/policy.rego we need to point the symlink to that file. In case no init-data is provided allow-all.rego is copied by systemd to /run/peerpod/policy.rego Signed-off-by: Magnus Kulke <[email protected]>
- Loading branch information
Showing
3 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/cloud-api-adaptor/podvm/files/etc/kata-opa/default-policy.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
allow-all.rego | ||
/run/peerpod/policy.rego |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Type Path Mode User Group Age Argument | ||
C /run/peerpod/policy.rego - - - - /etc/kata-opa/allow-all.rego |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters