Preserve unknown in remote_ip_prefixes in NP CRD
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.
@@ -45,6 +45,7 @@ spec:
properties:
remote_ip_prefixes:
type: object
+ x-kubernetes-preserve-unknown-fields: true
namespace:
type: string
security_group_rule:
@@ -78,6 +79,7 @@ spec:
- security_group_rule
properties:
remote_ip_prefixes:
+ x-kubernetes-preserve-unknown-fields: true
type: object
namespace:
type: string
