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.

Change-Id: I71a7bd16ca8e6b7d9acb7398360b58694ede073f
This commit is contained in:
Michał Dulko 2020-03-18 11:52:46 +01:00
parent 6fd0eba337
commit fe1627e271
1 changed files with 2 additions and 0 deletions

View File

@ -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