Skip to content

Commit

Permalink
linting, MD updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chipzoller committed Nov 12, 2020
1 parent e76ce41 commit a991124
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions samples/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sample Policies

Sample policies are designed to be applied to your Kubernetes clusters with minimal changes.
Sample policies are designed to be applied to your Kubernetes clusters with minimal changes.

The policies are mostly validation rules in `audit` mode i.e. your existing workloads will not be impacted, but will be audited for policy complaince.

Expand Down Expand Up @@ -28,7 +28,7 @@ These policies are highly recommended.

## Additional Policies

These policies provide additional best practices and are worthy of close consideration. These policies may require specific changes for your workloads and environments.
These policies provide additional best practices and are worthy of close consideration. These policies may require specific changes for your workloads and environments.

1. [Restrict image registries](RestrictImageRegistries.md)
1. [Restrict `NodePort` services](RestrictNodePort.md)
Expand All @@ -43,14 +43,15 @@ These policies provide additional best practices and are worthy of close conside

To apply these policies to your cluster, install Kyverno and import the policies as follows:

**Install Kyverno**
### Install Kyverno**

````sh
kubectl create -f https://github.com/kyverno/kyverno/raw/master/definitions/install.yaml
````

<small>[(installation docs)](../documentation/installation.md)</small>

**Apply Kyverno Policies**
### Apply Kyverno Policies**

To start applying policies to your cluster, first clone the repo:

Expand All @@ -70,4 +71,3 @@ Import addition policies from [here](more):
````bash
kubectl create -f samples/more/
````

0 comments on commit a991124

Please sign in to comment.