1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

update markdown tag for YAML blocks

This commit is contained in:
Jim Bugwadia 2020-07-03 09:12:05 -07:00
parent ca249894b0
commit 65ceaea58a

View file

@ -26,7 +26,7 @@ You can also install Kyverno using a [Helm chart](https://github.com/nirmata/kyv
Add the policy below. It requires that all pods have a `app.kubernetes.io/name` label:
```console
```yaml
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
@ -65,7 +65,7 @@ require-labels:
```
Create a pod with the required label. For example from this YAML:
```console
```yaml
kind: "Pod"
apiVersion: "v1"
metadata: