1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-15 20:20:22 +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: Add the policy below. It requires that all pods have a `app.kubernetes.io/name` label:
```console ```yaml
apiVersion: kyverno.io/v1 apiVersion: kyverno.io/v1
kind: ClusterPolicy kind: ClusterPolicy
metadata: metadata:
@ -65,7 +65,7 @@ require-labels:
``` ```
Create a pod with the required label. For example from this YAML: Create a pod with the required label. For example from this YAML:
```console ```yaml
kind: "Pod" kind: "Pod"
apiVersion: "v1" apiVersion: "v1"
metadata: metadata: