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:
parent
6fd0eba337
commit
fe1627e271
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue