Skip to content

Commit

Permalink
fix policy
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBugwadia committed Aug 19, 2020
1 parent dbd3583 commit 66b660d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions samples/DisallowNewCapabilities.md
Expand Up @@ -27,11 +27,11 @@ spec:
validate:
message: "New capabilities cannot be added"
pattern:
- spec:
spec:
containers:
- name: "*"
=(securityContext):
=(capabilities):
X(add): null
- name: "*"
=(securityContext):
=(capabilities):
X(add): null

````
10 changes: 5 additions & 5 deletions samples/best_practices/disallow_new_capabilities.yaml
Expand Up @@ -20,9 +20,9 @@ spec:
validate:
message: "New capabilities cannot be added"
pattern:
- spec:
spec:
containers:
- name: "*"
=(securityContext):
=(capabilities):
X(add): null
- name: "*"
=(securityContext):
=(capabilities):
X(add): null

0 comments on commit 66b660d

Please sign in to comment.