Skip to content

Commit

Permalink
Fix metadata
Browse files Browse the repository at this point in the history
Ensure the rules section are referencing Ingress resources.

Co-authored-by: Rafael Fernández López <ereslibre@ereslibre.es>
  • Loading branch information
flavio and ereslibre committed Jun 4, 2021
1 parent 426db5f commit e83de44
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
rules:
- apiGroups: ["*"]
apiVersions: ["*"]
resources: ["*"]
- apiGroups: ["networking.k8s.io"]
apiVersions: ["v1"]
resources: ["ingresses"]
operations: ["CREATE", "UPDATE"]
mutating: false
annotations:
io.kubewarden.policy.title: ingress-policy
io.kubewarden.policy.description: Policy to enforce requirements on Kubernetes Ingress resources
io.kubewarden.policy.author: Flavio Castelli, Rafael Fernández López
io.kubewarden.policy.url: https://github.com/kubewarden/ingress-policy
io.kubewarden.policy.source: https://github.com/kubewarden/ingress-policy
Expand Down

0 comments on commit e83de44

Please sign in to comment.