github.com/loafoe/helm@v1.0.1/cmd/helm/testdata/output/object-order.txt (about) 1 --- 2 # Source: object-order/templates/01-a.yml 3 # 1 4 kind: NetworkPolicy 5 apiVersion: networking.k8s.io/v1 6 metadata: 7 name: first 8 spec: 9 podSelector: {} 10 policyTypes: 11 - Egress 12 - Ingress 13 --- 14 # Source: object-order/templates/01-a.yml 15 # 2 16 apiVersion: networking.k8s.io/v1 17 kind: NetworkPolicy 18 metadata: 19 name: second 20 spec: 21 podSelector: {} 22 policyTypes: 23 - Egress 24 - Ingress 25 --- 26 # Source: object-order/templates/01-a.yml 27 # 3 28 apiVersion: networking.k8s.io/v1 29 kind: NetworkPolicy 30 metadata: 31 name: third 32 spec: 33 podSelector: {} 34 policyTypes: 35 - Egress 36 - Ingress 37 --- 38 # Source: object-order/templates/02-b.yml 39 # 5 40 apiVersion: networking.k8s.io/v1 41 kind: NetworkPolicy 42 metadata: 43 name: fifth 44 spec: 45 podSelector: {} 46 policyTypes: 47 - Egress 48 - Ingress 49 --- 50 # Source: object-order/templates/02-b.yml 51 # 7 52 apiVersion: networking.k8s.io/v1 53 kind: NetworkPolicy 54 metadata: 55 name: seventh 56 spec: 57 podSelector: {} 58 policyTypes: 59 - Egress 60 - Ingress 61 --- 62 # Source: object-order/templates/02-b.yml 63 # 8 64 apiVersion: networking.k8s.io/v1 65 kind: NetworkPolicy 66 metadata: 67 name: eighth 68 spec: 69 podSelector: {} 70 policyTypes: 71 - Egress 72 - Ingress 73 --- 74 # Source: object-order/templates/02-b.yml 75 # 9 76 apiVersion: networking.k8s.io/v1 77 kind: NetworkPolicy 78 metadata: 79 name: ninth 80 spec: 81 podSelector: {} 82 policyTypes: 83 - Egress 84 - Ingress 85 --- 86 # Source: object-order/templates/02-b.yml 87 # 10 88 apiVersion: networking.k8s.io/v1 89 kind: NetworkPolicy 90 metadata: 91 name: tenth 92 spec: 93 podSelector: {} 94 policyTypes: 95 - Egress 96 - Ingress 97 --- 98 # Source: object-order/templates/02-b.yml 99 # 11 100 apiVersion: networking.k8s.io/v1 101 kind: NetworkPolicy 102 metadata: 103 name: eleventh 104 spec: 105 podSelector: {} 106 policyTypes: 107 - Egress 108 - Ingress 109 --- 110 # Source: object-order/templates/02-b.yml 111 # 12 112 apiVersion: networking.k8s.io/v1 113 kind: NetworkPolicy 114 metadata: 115 name: twelfth 116 spec: 117 podSelector: {} 118 policyTypes: 119 - Egress 120 - Ingress 121 --- 122 # Source: object-order/templates/02-b.yml 123 # 13 124 apiVersion: networking.k8s.io/v1 125 kind: NetworkPolicy 126 metadata: 127 name: thirteenth 128 spec: 129 podSelector: {} 130 policyTypes: 131 - Egress 132 - Ingress 133 --- 134 # Source: object-order/templates/02-b.yml 135 # 14 136 apiVersion: networking.k8s.io/v1 137 kind: NetworkPolicy 138 metadata: 139 name: fourteenth 140 spec: 141 podSelector: {} 142 policyTypes: 143 - Egress 144 - Ingress 145 --- 146 # Source: object-order/templates/02-b.yml 147 # 15 (11th object within 02-b.yml, in order to test `SplitManifests` which assigns `manifest-10` 148 # to this object which should then come *after* `manifest-9`) 149 apiVersion: networking.k8s.io/v1 150 kind: NetworkPolicy 151 metadata: 152 name: fifteenth 153 spec: 154 podSelector: {} 155 policyTypes: 156 - Egress 157 - Ingress 158 --- 159 # Source: object-order/templates/01-a.yml 160 # 4 (Deployment should come after all NetworkPolicy manifests, since 'helm template' outputs in install order) 161 apiVersion: apps/v1 162 kind: Deployment 163 metadata: 164 name: fourth 165 spec: 166 selector: 167 matchLabels: 168 pod: fourth 169 replicas: 1 170 template: 171 metadata: 172 labels: 173 pod: fourth 174 spec: 175 containers: 176 - name: hello-world 177 image: gcr.io/google-samples/node-hello:1.0 178 --- 179 # Source: object-order/templates/02-b.yml 180 # 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) 181 apiVersion: networking.k8s.io/v1 182 kind: NetworkPolicy 183 metadata: 184 annotations: 185 "helm.sh/hook": pre-install 186 name: sixth 187 spec: 188 podSelector: {} 189 policyTypes: 190 - Egress 191 - Ingress