...

Text file src/k8s.io/api/testdata/v1.28.0/extensions.v1beta1.NetworkPolicy.yaml

Documentation: k8s.io/api/testdata/v1.28.0

     1apiVersion: extensions/v1beta1
     2kind: NetworkPolicy
     3metadata:
     4  annotations:
     5    annotationsKey: annotationsValue
     6  creationTimestamp: "2008-01-01T01:01:01Z"
     7  deletionGracePeriodSeconds: 10
     8  deletionTimestamp: "2009-01-01T01:01:01Z"
     9  finalizers:
    10  - finalizersValue
    11  generateName: generateNameValue
    12  generation: 7
    13  labels:
    14    labelsKey: labelsValue
    15  managedFields:
    16  - apiVersion: apiVersionValue
    17    fieldsType: fieldsTypeValue
    18    fieldsV1: {}
    19    manager: managerValue
    20    operation: operationValue
    21    subresource: subresourceValue
    22    time: "2004-01-01T01:01:01Z"
    23  name: nameValue
    24  namespace: namespaceValue
    25  ownerReferences:
    26  - apiVersion: apiVersionValue
    27    blockOwnerDeletion: true
    28    controller: true
    29    kind: kindValue
    30    name: nameValue
    31    uid: uidValue
    32  resourceVersion: resourceVersionValue
    33  selfLink: selfLinkValue
    34  uid: uidValue
    35spec:
    36  egress:
    37  - ports:
    38    - endPort: 3
    39      port: portValue
    40      protocol: protocolValue
    41    to:
    42    - ipBlock:
    43        cidr: cidrValue
    44        except:
    45        - exceptValue
    46      namespaceSelector:
    47        matchExpressions:
    48        - key: keyValue
    49          operator: operatorValue
    50          values:
    51          - valuesValue
    52        matchLabels:
    53          matchLabelsKey: matchLabelsValue
    54      podSelector:
    55        matchExpressions:
    56        - key: keyValue
    57          operator: operatorValue
    58          values:
    59          - valuesValue
    60        matchLabels:
    61          matchLabelsKey: matchLabelsValue
    62  ingress:
    63  - from:
    64    - ipBlock:
    65        cidr: cidrValue
    66        except:
    67        - exceptValue
    68      namespaceSelector:
    69        matchExpressions:
    70        - key: keyValue
    71          operator: operatorValue
    72          values:
    73          - valuesValue
    74        matchLabels:
    75          matchLabelsKey: matchLabelsValue
    76      podSelector:
    77        matchExpressions:
    78        - key: keyValue
    79          operator: operatorValue
    80          values:
    81          - valuesValue
    82        matchLabels:
    83          matchLabelsKey: matchLabelsValue
    84    ports:
    85    - endPort: 3
    86      port: portValue
    87      protocol: protocolValue
    88  podSelector:
    89    matchExpressions:
    90    - key: keyValue
    91      operator: operatorValue
    92      values:
    93      - valuesValue
    94    matchLabels:
    95      matchLabelsKey: matchLabelsValue
    96  policyTypes:
    97  - policyTypesValue

View as plain text