From 94e197cde4d3fa82dff905b1c36f0171e6bb4df5 Mon Sep 17 00:00:00 2001 From: Flavio Castelli Date: Thu, 19 Sep 2024 18:49:02 +0200 Subject: [PATCH] fix: clean README Address a minor issue inside of one of the examples Signed-off-by: Flavio Castelli --- README.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 2d408f1..ac5d269 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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,