-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resource policy can be updated in Trustee using the correspondent config map Signed-off-by: Leonardo Milleri <[email protected]>
- Loading branch information
Showing
14 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
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
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
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
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,12 @@ | ||
apiVersion: v1 | ||
data: | ||
policy.rego: | | ||
package policy | ||
default allow = false | ||
allow { | ||
input["tee"] != "sample" | ||
} | ||
kind: ConfigMap | ||
metadata: | ||
name: resource-policy-sample |
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
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
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 |
---|---|---|
|
@@ -4,6 +4,9 @@ metadata: | |
annotations: | ||
alm-examples: '[]' | ||
capabilities: Basic Install | ||
categories: Security | ||
containerImage: quay.io/confidential-containers/trustee-operator:v0.1.0 | ||
support: Confidential Containers Community | ||
name: trustee-operator.v0.0.0 | ||
namespace: placeholder | ||
spec: | ||
|
@@ -46,6 +49,8 @@ spec: | |
name: Pradipta Banerjee | ||
- email: [email protected] | ||
name: Jens Freimann | ||
- email: [email protected] | ||
name: Leonardo Milleri | ||
maturity: alpha | ||
provider: | ||
name: Confidential Containers Community | ||
|
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
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,7 @@ | ||
apiVersion: confidentialcontainers.org/v1alpha1 | ||
kind: KbsConfig | ||
metadata: | ||
name: kbsconfig-sample | ||
namespace: kbs-operator-system | ||
spec: | ||
kbsResourcePolicyConfigMapName: resource-policy |
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,13 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: resource-policy | ||
namespace: kbs-operator-system | ||
data: | ||
policy.rego: | | ||
package policy | ||
default allow = false | ||
allow { | ||
input["tee"] != "sample" | ||
} |
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
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,7 @@ | ||
apiVersion: confidentialcontainers.org/v1alpha1 | ||
kind: KbsConfig | ||
metadata: | ||
name: kbsconfig-sample | ||
namespace: kbs-operator-system | ||
spec: | ||
kbsResourcePolicyConfigMapName: resource-policy |
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,13 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: resource-policy | ||
namespace: kbs-operator-system | ||
data: | ||
policy.rego: | | ||
package policy | ||
default allow = false | ||
allow { | ||
input["tee"] != "sample" | ||
} |
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