github.com/loafoe/helm@v1.0.1/cmd/helm/testdata/testcharts/object-order/templates/02-b.yml (about)

     1  # 5
     2  apiVersion: networking.k8s.io/v1
     3  kind: NetworkPolicy
     4  metadata:
     5    name: fifth
     6  spec:
     7    podSelector: {}
     8    policyTypes:
     9      - Egress
    10      - Ingress
    11  
    12  ---
    13  
    14  # 6 (implementation detail: currently, 'helm template' outputs hook manifests last; and yes, NetworkPolicy won't make a reasonable hook, this is just a dummy unit test manifest)
    15  apiVersion: networking.k8s.io/v1
    16  kind: NetworkPolicy
    17  metadata:
    18    annotations:
    19      "helm.sh/hook": pre-install
    20    name: sixth
    21  spec:
    22    podSelector: {}
    23    policyTypes:
    24      - Egress
    25      - Ingress
    26  
    27  ---
    28  
    29  # 7
    30  apiVersion: networking.k8s.io/v1
    31  kind: NetworkPolicy
    32  metadata:
    33    name: seventh
    34  spec:
    35    podSelector: {}
    36    policyTypes:
    37      - Egress
    38      - Ingress
    39  
    40  ---
    41  
    42  # 8
    43  apiVersion: networking.k8s.io/v1
    44  kind: NetworkPolicy
    45  metadata:
    46    name: eighth
    47  spec:
    48    podSelector: {}
    49    policyTypes:
    50      - Egress
    51      - Ingress
    52  
    53  ---
    54  
    55  # 9
    56  apiVersion: networking.k8s.io/v1
    57  kind: NetworkPolicy
    58  metadata:
    59    name: ninth
    60  spec:
    61    podSelector: {}
    62    policyTypes:
    63      - Egress
    64      - Ingress
    65  
    66  ---
    67  
    68  # 10
    69  apiVersion: networking.k8s.io/v1
    70  kind: NetworkPolicy
    71  metadata:
    72    name: tenth
    73  spec:
    74    podSelector: {}
    75    policyTypes:
    76      - Egress
    77      - Ingress
    78  
    79  ---
    80  
    81  # 11
    82  apiVersion: networking.k8s.io/v1
    83  kind: NetworkPolicy
    84  metadata:
    85    name: eleventh
    86  spec:
    87    podSelector: {}
    88    policyTypes:
    89      - Egress
    90      - Ingress
    91  
    92  ---
    93  
    94  # 12
    95  apiVersion: networking.k8s.io/v1
    96  kind: NetworkPolicy
    97  metadata:
    98    name: twelfth
    99  spec:
   100    podSelector: {}
   101    policyTypes:
   102      - Egress
   103      - Ingress
   104  
   105  ---
   106  
   107  # 13
   108  apiVersion: networking.k8s.io/v1
   109  kind: NetworkPolicy
   110  metadata:
   111    name: thirteenth
   112  spec:
   113    podSelector: {}
   114    policyTypes:
   115      - Egress
   116      - Ingress
   117  
   118  ---
   119  
   120  # 14
   121  apiVersion: networking.k8s.io/v1
   122  kind: NetworkPolicy
   123  metadata:
   124    name: fourteenth
   125  spec:
   126    podSelector: {}
   127    policyTypes:
   128      - Egress
   129      - Ingress
   130  
   131  ---
   132  
   133  # 15 (11th object within 02-b.yml, in order to test `SplitManifests` which assigns `manifest-10`
   134  # to this object which should then come *after* `manifest-9`)
   135  apiVersion: networking.k8s.io/v1
   136  kind: NetworkPolicy
   137  metadata:
   138    name: fifteenth
   139  spec:
   140    podSelector: {}
   141    policyTypes:
   142      - Egress
   143      - Ingress