Skip to content

Commit bd72b29

Browse files
authored
Lint/improve YAML in policies docs (#581)
1 parent 7a2c28e commit bd72b29

File tree

5 files changed

+165
-190
lines changed

5 files changed

+165
-190
lines changed

examples/container_deny_latest_tag/src.rego

+11-11
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
#
77
# The following snippet is an example of how to satisfy this requirement:
88
#
9-
# ```
10-
# apiVersion: apps/v1
11-
# kind: Deployment
12-
# metadata:
13-
# name: redis
14-
# spec:
15-
# template:
16-
# spec:
17-
# containers:
18-
# - name: redis
19-
# image: redis:6.2
9+
# ```yaml
10+
# apiVersion: apps/v1
11+
# kind: Deployment
12+
# metadata:
13+
# name: redis
14+
# spec:
15+
# template:
16+
# spec:
17+
# containers:
18+
# - name: redis
19+
# image: redis:6.2
2020
# ```
2121
# custom:
2222
# matchers:

0 commit comments

Comments
 (0)