Skip to content

Commit

Permalink
fix: clean README
Browse files Browse the repository at this point in the history
Address a minor issue inside of one of the examples

Signed-off-by: Flavio Castelli <[email protected]>
  • Loading branch information
flavio committed Sep 19, 2024
1 parent 3987e94 commit 94e197c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ The policy settings look like that:
```yaml
# List of annotations that cannot be used
denied_annotations:
- foo
- bar
- foo
- bar

# List of annotations that must be defined
mandatory_annotations:
Expand Down Expand Up @@ -57,19 +57,18 @@ metadata:
name: minimal-ingress
annotations:
cost-center: cc-marketing
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /testpath
pathType: Prefix
backend:
service:
name: test
port:
number: 80
- http:
paths:
- path: /testpath
pathType: Prefix
backend:
service:
name: test
port:
number: 80
```
Policy's settings can also be used to force certain annotations to be specified,
Expand Down

0 comments on commit 94e197c

Please sign in to comment.