From ffeec1f4d444e070f5c297f5786bff1a65d9e2e5 Mon Sep 17 00:00:00 2001 From: Ricardo Katz Date: Mon, 1 May 2023 15:18:56 -0300 Subject: [PATCH] Update compatibility data test --- ...v1beta1.NetworkPolicy.after_roundtrip.json | 163 ++++++++++++++++++ ...s.v1beta1.NetworkPolicy.after_roundtrip.pb | Bin 0 -> 950 bytes ...v1beta1.NetworkPolicy.after_roundtrip.yaml | 97 +++++++++++ ...s.io.v1.NetworkPolicy.after_roundtrip.json | 163 ++++++++++++++++++ ...k8s.io.v1.NetworkPolicy.after_roundtrip.pb | Bin 0 -> 952 bytes ...s.io.v1.NetworkPolicy.after_roundtrip.yaml | 97 +++++++++++ ...v1beta1.NetworkPolicy.after_roundtrip.json | 163 ++++++++++++++++++ ...s.v1beta1.NetworkPolicy.after_roundtrip.pb | Bin 0 -> 950 bytes ...v1beta1.NetworkPolicy.after_roundtrip.yaml | 97 +++++++++++ ...s.io.v1.NetworkPolicy.after_roundtrip.json | 163 ++++++++++++++++++ ...k8s.io.v1.NetworkPolicy.after_roundtrip.pb | Bin 0 -> 952 bytes ...s.io.v1.NetworkPolicy.after_roundtrip.yaml | 97 +++++++++++ 12 files changed, 1040 insertions(+) create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.pb create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.yaml create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.pb create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.yaml create mode 100644 staging/src/k8s.io/api/testdata/v1.27.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.27.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.pb create mode 100644 staging/src/k8s.io/api/testdata/v1.27.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.yaml create mode 100644 staging/src/k8s.io/api/testdata/v1.27.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.27.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.pb create mode 100644 staging/src/k8s.io/api/testdata/v1.27.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.yaml diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.json new file mode 100644 index 00000000000..41d542a9bbd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.json @@ -0,0 +1,163 @@ +{ + "kind": "NetworkPolicy", + "apiVersion": "extensions/v1beta1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ingress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "from": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "egress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "to": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "policyTypes": [ + "policyTypesValue" + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.pb new file mode 100644 index 0000000000000000000000000000000000000000..4c7ce5ac9cbe0c9bb442c01cf47cd081b9649266 GIT binary patch literal 950 zcmds$F;4<96vyv`grf+Y7YB0VnK-a0Bqqd>Q3+u%4sN~Uf%T5|(iQ}btAn3HXLlFB zfe9bM#5g$n4Ybz^5@#m2e_vnU`~6?rxFsyKgFKi@pn@ z@_=Vub+lDzJI?&!<2mnIM@l_@z9`j0XEjtza0rPwhM89~QlAI|RKb)oiDibKZM!RL zopW)3iZP+4vH!~-ENSXhoRU?LeY<7z>VQz3kShhK>)hEP+8kkuhro5ftFSclzrgqZ zmI;)H_xV@OwVJ9JBzU|z{ka9J`GCJ=pO}i^=(|i{> zG0coE8xUr={L&;VWvIPZTa_!PoJkh3#N<~U+qL{+%DB{lTF!g2*W7olE`0R@BGUhv bdkLlyqz2vp=l%jW)!#3BIp#)vE3m!+^a4PJ literal 0 HcmV?d00001 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.yaml new file mode 100644 index 00000000000..176cbe3313c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.yaml @@ -0,0 +1,97 @@ +apiVersion: extensions/v1beta1 +kind: NetworkPolicy +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +spec: + egress: + - ports: + - endPort: 3 + port: portValue + protocol: protocolValue + to: + - ipBlock: + cidr: cidrValue + except: + - exceptValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + ingress: + - from: + - ipBlock: + cidr: cidrValue + except: + - exceptValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + ports: + - endPort: 3 + port: portValue + protocol: protocolValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + policyTypes: + - policyTypesValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.json new file mode 100644 index 00000000000..e61daad40ed --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.json @@ -0,0 +1,163 @@ +{ + "kind": "NetworkPolicy", + "apiVersion": "networking.k8s.io/v1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ingress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "from": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "egress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "to": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "policyTypes": [ + "policyTypesValue" + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.pb new file mode 100644 index 0000000000000000000000000000000000000000..90efd44a0496b6572f877083d78332cd71ab148b GIT binary patch literal 952 zcmds0u};G<6inJmOdvJ3>`;Kn!e7>K2pKj_jlm5Gw;;0W&)b ze}L3aKtc@6`~f&NEfsSow)6S<-rchu`CJ2Aph-}AL0N>!q!anPgXzv}&#?xI9nu(w zxpP|uZzW(7I7KHg&XBV?K?E_FqQQc4>%}flV5mwwi=%kl$0U*`+D3*)5_Ovlahfqv zhZx6{NY=0R3}gQA@m#UBLxCPYUj!P0(-tse7@(LRq1>q{C{F|)s6#?%3R58>x9yd+ ztU2EYrbwn5yTAUurJHsGCV17zuI}rsF~$VO_(~X*I(K>iHl~ok31X6P>NF|xFYLR2 zWjvALeg0LpwXP6D@rWPiiJHto1(dFDdN$93Q3+u%4sN~Uf%T5|(iQ}btAn3HXLlFB zfe9bM#5g$n4Ybz^5@#m2e_vnU`~6?rxFsyKgFKi@pn@ z@_=Vub+lDzJI?&!<2mnIM@l_@z9`j0XEjtza0rPwhM89~QlAI|RKb)oiDibKZM!RL zopW)3iZP+4vH!~-ENSXhoRU?LeY<7z>VQz3kShhK>)hEP+8kkuhro5ftFSclzrgqZ zmI;)H_xV@OwVJ9JBzU|z{ka9J`GCJ=pO}i^=(|i{> zG0coE8xUr={L&;VWvIPZTa_!PoJkh3#N<~U+qL{+%DB{lTF!g2*W7olE`0R@BGUhv bdkLlyqz2vp=l%jW)!#3BIp#)vE3m!+^a4PJ literal 0 HcmV?d00001 diff --git a/staging/src/k8s.io/api/testdata/v1.27.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.27.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.yaml new file mode 100644 index 00000000000..176cbe3313c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.27.0/extensions.v1beta1.NetworkPolicy.after_roundtrip.yaml @@ -0,0 +1,97 @@ +apiVersion: extensions/v1beta1 +kind: NetworkPolicy +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +spec: + egress: + - ports: + - endPort: 3 + port: portValue + protocol: protocolValue + to: + - ipBlock: + cidr: cidrValue + except: + - exceptValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + ingress: + - from: + - ipBlock: + cidr: cidrValue + except: + - exceptValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + ports: + - endPort: 3 + port: portValue + protocol: protocolValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + policyTypes: + - policyTypesValue diff --git a/staging/src/k8s.io/api/testdata/v1.27.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.27.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.json new file mode 100644 index 00000000000..e61daad40ed --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.27.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.json @@ -0,0 +1,163 @@ +{ + "kind": "NetworkPolicy", + "apiVersion": "networking.k8s.io/v1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ingress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "from": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "egress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "to": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "policyTypes": [ + "policyTypesValue" + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.27.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.27.0/networking.k8s.io.v1.NetworkPolicy.after_roundtrip.pb new file mode 100644 index 0000000000000000000000000000000000000000..90efd44a0496b6572f877083d78332cd71ab148b GIT binary patch literal 952 zcmds0u};G<6inJmOdvJ3>`;Kn!e7>K2pKj_jlm5Gw;;0W&)b ze}L3aKtc@6`~f&NEfsSow)6S<-rchu`CJ2Aph-}AL0N>!q!anPgXzv}&#?xI9nu(w zxpP|uZzW(7I7KHg&XBV?K?E_FqQQc4>%}flV5mwwi=%kl$0U*`+D3*)5_Ovlahfqv zhZx6{NY=0R3}gQA@m#UBLxCPYUj!P0(-tse7@(LRq1>q{C{F|)s6#?%3R58>x9yd+ ztU2EYrbwn5yTAUurJHsGCV17zuI}rsF~$VO_(~X*I(K>iHl~ok31X6P>NF|xFYLR2 zWjvALeg0LpwXP6D@rWPiiJHto1(dFDdN$93