-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
95 additions
and
20 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
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,25 @@ | ||
# https://docs.codecov.com/docs/codecov-yaml | ||
coverage: | ||
# Display coverage percentage with 1 decimal point (XX.X%). | ||
precision: 1 | ||
round: down | ||
# The value range where you want the value to be green | ||
range: "50..100" | ||
status: | ||
project: | ||
default: | ||
# Do not use coverage drop as a reason to mark the CI check red | ||
threshold: "100%" | ||
# Do not fail Github checks for patches with low coverage: treat them as informational. | ||
# https://docs.codecov.com/docs/common-recipe-list#set-non-blocking-status-checks | ||
patch: | ||
default: | ||
informational: true | ||
|
||
fixes: | ||
- "github.com/tuxerrante/kapparmor/::github.com/tuxerrante/kapparmor/go/src/app/" | ||
|
||
# Disable codecov annotations in Github files changed tab in PRs. | ||
# https://docs.codecov.com/docs/github-checks#disabling-github-checks-patch-annotations-via-yaml | ||
github_checks: | ||
annotations: false |
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 was deleted.
Oops, something went wrong.
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,16 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: ubuntu-custom-profile | ||
annotations: | ||
container.apparmor.security.beta.kubernetes.io/ubuntu: "localhost/custom.deny-write-outside-home" | ||
|
||
spec: | ||
containers: | ||
- name: ubuntu | ||
image: ubuntu | ||
command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ] | ||
resources: {} | ||
securityContext: | ||
runAsUser: 0 | ||
restartPolicy: Always |
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,16 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: ubuntu-unconfined | ||
annotations: | ||
container.apparmor.security.beta.kubernetes.io/ubuntu-test: unconfined | ||
|
||
spec: | ||
containers: | ||
- name: ubuntu-test | ||
image: ubuntu | ||
command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ] | ||
resources: {} | ||
securityContext: | ||
runAsUser: 0 | ||
restartPolicy: Always |