diff --git a/build/yamls/antrea-aks.yml b/build/yamls/antrea-aks.yml index 5d7697a4ae8..dc6f2f1ea7c 100644 --- a/build/yamls/antrea-aks.yml +++ b/build/yamls/antrea-aks.yml @@ -119,28 +119,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -156,51 +135,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -254,28 +191,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -291,51 +207,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -435,31 +309,10 @@ spec: type: object type: array matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true type: object podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -477,51 +330,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -551,51 +362,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -617,51 +386,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -678,51 +405,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -820,51 +505,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -882,51 +525,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -956,51 +557,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1022,51 +581,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1083,51 +600,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1207,51 +682,9 @@ spec: appliedTo: properties: namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object egressIP: oneOf: @@ -1433,28 +866,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1470,28 +883,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1513,28 +906,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1542,51 +914,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1606,28 +936,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1636,28 +946,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1665,51 +954,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1805,28 +1052,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1842,28 +1069,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1885,28 +1092,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1914,51 +1100,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1978,28 +1122,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -2008,28 +1132,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -2037,51 +1140,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: diff --git a/build/yamls/antrea-eks.yml b/build/yamls/antrea-eks.yml index f0960d8aa0e..56e9bd25cc2 100644 --- a/build/yamls/antrea-eks.yml +++ b/build/yamls/antrea-eks.yml @@ -119,28 +119,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -156,51 +135,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -254,28 +191,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -291,51 +207,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -435,31 +309,10 @@ spec: type: object type: array matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true type: object podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -477,51 +330,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -551,51 +362,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -617,51 +386,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -678,51 +405,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -820,51 +505,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -882,51 +525,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -956,51 +557,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1022,51 +581,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1083,51 +600,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1207,51 +682,9 @@ spec: appliedTo: properties: namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object egressIP: oneOf: @@ -1433,28 +866,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1470,28 +883,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1513,28 +906,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1542,51 +914,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1606,28 +936,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1636,28 +946,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1665,51 +954,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1805,28 +1052,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1842,28 +1069,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1885,28 +1092,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1914,51 +1100,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1978,28 +1122,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -2008,28 +1132,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -2037,51 +1140,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: diff --git a/build/yamls/antrea-gke.yml b/build/yamls/antrea-gke.yml index 5e388562456..5038b4942d3 100644 --- a/build/yamls/antrea-gke.yml +++ b/build/yamls/antrea-gke.yml @@ -119,28 +119,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -156,51 +135,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -254,28 +191,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -291,51 +207,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -435,31 +309,10 @@ spec: type: object type: array matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true type: object podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -477,51 +330,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -551,51 +362,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -617,51 +386,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -678,51 +405,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -820,51 +505,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -882,51 +525,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -956,51 +557,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1022,51 +581,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1083,51 +600,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1207,51 +682,9 @@ spec: appliedTo: properties: namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object egressIP: oneOf: @@ -1433,28 +866,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1470,28 +883,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1513,28 +906,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1542,51 +914,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1606,28 +936,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1636,28 +946,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1665,51 +954,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1805,28 +1052,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1842,28 +1069,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1885,28 +1092,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1914,51 +1100,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1978,28 +1122,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -2008,28 +1132,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -2037,51 +1140,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: diff --git a/build/yamls/antrea-ipsec.yml b/build/yamls/antrea-ipsec.yml index d1778011f35..b290ce0cac6 100644 --- a/build/yamls/antrea-ipsec.yml +++ b/build/yamls/antrea-ipsec.yml @@ -119,28 +119,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -156,51 +135,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -254,28 +191,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -291,51 +207,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -435,31 +309,10 @@ spec: type: object type: array matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true type: object podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -477,51 +330,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -551,51 +362,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -617,51 +386,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -678,51 +405,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -820,51 +505,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -882,51 +525,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -956,51 +557,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1022,51 +581,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1083,51 +600,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1207,51 +682,9 @@ spec: appliedTo: properties: namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object egressIP: oneOf: @@ -1433,28 +866,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1470,28 +883,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1513,28 +906,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1542,51 +914,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1606,28 +936,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1636,28 +946,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1665,51 +954,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1805,28 +1052,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1842,28 +1069,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1885,28 +1092,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1914,51 +1100,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1978,28 +1122,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -2008,28 +1132,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -2037,51 +1140,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: diff --git a/build/yamls/antrea.yml b/build/yamls/antrea.yml index bbdbbf82b7f..4ab148b221a 100644 --- a/build/yamls/antrea.yml +++ b/build/yamls/antrea.yml @@ -119,28 +119,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -156,51 +135,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -254,28 +191,7 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -291,51 +207,9 @@ spec: type: object type: array namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true serviceReference: properties: name: @@ -435,31 +309,10 @@ spec: type: object type: array matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true type: object podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -477,51 +330,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -551,51 +362,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -617,51 +386,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -678,51 +405,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -820,51 +505,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -882,51 +525,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -956,51 +557,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1022,51 +581,9 @@ spec: group: type: string namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1083,51 +600,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1207,51 +682,9 @@ spec: appliedTo: properties: namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object egressIP: oneOf: @@ -1433,28 +866,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1470,28 +883,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1513,28 +906,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1542,51 +914,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1606,28 +936,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1636,28 +946,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1665,51 +954,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: @@ -1805,28 +1052,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array egress: @@ -1842,28 +1069,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -1885,28 +1092,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -1914,51 +1100,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array required: @@ -1978,28 +1122,8 @@ spec: items: properties: podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array enableLogging: @@ -2008,28 +1132,7 @@ spec: items: properties: externalEntitySelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: properties: cidr: @@ -2037,51 +1140,9 @@ spec: type: string type: object namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - items: - type: string - type: array - type: object - type: array - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true type: object type: array name: diff --git a/build/yamls/base/crds.yml b/build/yamls/base/crds.yml index 99de0aa375f..66fc4256a64 100644 --- a/build/yamls/base/crds.yml +++ b/build/yamls/base/crds.yml @@ -25,51 +25,9 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true egressIP: type: string oneOf: @@ -476,29 +434,9 @@ spec: # Ensure that Spec.AppliedTo does not allow IPBlock field properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: + type: object properties: matchExpressions: type: array @@ -519,8 +457,7 @@ spec: items: type: string matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true group: type: string ingress: @@ -537,51 +474,9 @@ spec: # Ensure that rule AppliedTo does not allow IPBlock field properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true group: type: string # Ensure that Action field allows only ALLOW, DROP and REJECT values @@ -605,51 +500,9 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -676,51 +529,9 @@ spec: # Ensure that rule AppliedTo does not allow IPBlock field properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true group: type: string # Ensure that Action field allows only ALLOW, DROP and REJECT values @@ -744,51 +555,9 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -881,27 +650,7 @@ spec: properties: podSelector: type: object - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true ingress: type: array items: @@ -917,27 +666,7 @@ spec: properties: podSelector: type: object - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true # Ensure that Action field allows only ALLOW, DROP and REJECT values action: type: string @@ -959,74 +688,11 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -1052,27 +718,7 @@ spec: properties: podSelector: type: object - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true # Ensure that Action field allows only ALLOW, DROP and REJECT values action: type: string @@ -1094,74 +740,11 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -1269,74 +852,11 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -1706,51 +1226,9 @@ spec: # Ensure that Spec.AppliedTo does not allow IPBlock field properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true group: type: string ingress: @@ -1767,51 +1245,9 @@ spec: # Ensure that rule AppliedTo does not allow IPBlock field properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true group: type: string # Ensure that Action field allows only ALLOW, DROP and REJECT values @@ -1835,51 +1271,9 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -1906,51 +1300,9 @@ spec: # Ensure that rule AppliedTo does not allow IPBlock field properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true group: type: string # Ensure that Action field allows only ALLOW, DROP and REJECT values @@ -1974,51 +1326,9 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -2112,27 +1422,7 @@ spec: properties: podSelector: type: object - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true ingress: type: array items: @@ -2147,28 +1437,8 @@ spec: # Ensure that rule AppliedTo does not allow NamespaceSelector/IPBlock field properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object type: object + x-kubernetes-preserve-unknown-fields: true # Ensure that Action field allows only ALLOW, DROP and REJECT values action: type: string @@ -2190,74 +1460,11 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -2283,27 +1490,7 @@ spec: properties: podSelector: type: object - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object + x-kubernetes-preserve-unknown-fields: true # Ensure that Action field allows only ALLOW, DROP and REJECT values action: type: string @@ -2325,74 +1512,11 @@ spec: type: object properties: podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: @@ -2502,74 +1626,11 @@ spec: childGroups: x-kubernetes-preserve-unknown-fields: true podSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true namespaceSelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true externalEntitySelector: - properties: - matchExpressions: - type: array - items: - type: object - properties: - key: - type: string - operator: - enum: - - In - - NotIn - - Exists - - DoesNotExist - type: string - values: - type: array - items: - type: string - matchLabels: - type: object - type: object + x-kubernetes-preserve-unknown-fields: true ipBlock: type: object properties: diff --git a/test/e2e/k8s_util.go b/test/e2e/k8s_util.go index e9189ab89ef..a0959eab435 100644 --- a/test/e2e/k8s_util.go +++ b/test/e2e/k8s_util.go @@ -522,9 +522,11 @@ func (k *KubernetesUtils) CreateOrUpdateACNP(cnp *crdv1alpha1.ClusterNetworkPoli cnpReturned, err := k.crdClient.CrdV1alpha1().ClusterNetworkPolicies().Get(context.TODO(), cnp.Name, metav1.GetOptions{}) if err != nil { log.Debugf("Creating ClusterNetworkPolicy %s", cnp.Name) + log.Infof("Creating ClusterNetworkPolicy %s", cnp.Name) cnp, err = k.crdClient.CrdV1alpha1().ClusterNetworkPolicies().Create(context.TODO(), cnp, metav1.CreateOptions{}) if err != nil { log.Debugf("Unable to create ClusterNetworkPolicy: %s", err) + log.Infof("Unable to create ClusterNetworkPolicy: %s", err) } return cnp, err } else if cnpReturned.Name != "" {