mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-15 12:17:56 +00:00
update markdown tag for YAML blocks
This commit is contained in:
parent
ca249894b0
commit
65ceaea58a
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue