Skip to content

Commit

Permalink
Kuryr: Preserve unknown in remote_ip_prefixes in NP CRD
Browse files Browse the repository at this point in the history
The remote_ip_prefixes field in KuryrNetPolicy CRD is an object. As it's
not defined with correct schema, it needs
x-kubernetes-preserve-unknown-fields property. This commit fixes that.

I'm not defining the field correctly as we're moving to new CRD anyway.
  • Loading branch information
dulek committed Mar 18, 2020
1 parent e22bda3 commit 1de51b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bindata/network/kuryr/002-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ spec:
properties:
remote_ip_prefixes:
type: object
x-kubernetes-preserve-unknown-fields: true
namespace:
type: string
security_group_rule:
Expand Down Expand Up @@ -125,6 +126,7 @@ spec:
properties:
remote_ip_prefixes:
type: object
x-kubernetes-preserve-unknown-fields: true
namespace:
type: string
security_group_rule:
Expand Down

0 comments on commit 1de51b9

Please sign in to comment.