)]}'
{"elasticsearch/templates/network_policy.yaml":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":5,"context_line":"you may not use this file except in compliance with the License."},{"line_number":6,"context_line":"You may obtain a copy of the License at"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Unless required by applicable law or agreed to in writing, software"},{"line_number":11,"context_line":"distributed under the License is distributed on an \"AS IS\" BASIS,"},{"line_number":12,"context_line":"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":13,"context_line":"See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"limitations under the License. */}}"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"{{- if .Values.manifests.network_policy -}}"},{"line_number":17,"context_line":"{{- $netpol_opts :\u003d dict \"envAll\" . \"name\" \"application\" \"label\" \"elasticsearch\" -}}"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"3f79a3b5_502742c9","line":14,"range":{"start_line":8,"start_character":0,"end_line":14,"end_character":35},"updated":"2018-10-11 17:06:41.000000000","message":"these ws changes are deliberate?","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":28592,"name":"Mike Pham","email":"tp6510@att.com","username":"tp6510"},"change_message_id":"d20b1b1e405fce67dd81366c8e909afda61db314","unresolved":false,"context_lines":[{"line_number":5,"context_line":"you may not use this file except in compliance with the License."},{"line_number":6,"context_line":"You may obtain a copy of the License at"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Unless required by applicable law or agreed to in writing, software"},{"line_number":11,"context_line":"distributed under the License is distributed on an \"AS IS\" BASIS,"},{"line_number":12,"context_line":"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":13,"context_line":"See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"limitations under the License. */}}"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"{{- if .Values.manifests.network_policy -}}"},{"line_number":17,"context_line":"{{- $netpol_opts :\u003d dict \"envAll\" . \"name\" \"application\" \"label\" \"elasticsearch\" -}}"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"3f79a3b5_569df7b8","line":14,"range":{"start_line":8,"start_character":0,"end_line":14,"end_character":35},"in_reply_to":"3f79a3b5_502742c9","updated":"2018-10-11 20:37:16.000000000","message":"Done","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"}],"grafana/templates/network_policy.yaml":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":5,"context_line":"you may not use this file except in compliance with the License."},{"line_number":6,"context_line":"You may obtain a copy of the License at"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Unless required by applicable law or agreed to in writing, software"},{"line_number":11,"context_line":"distributed under the License is distributed on an \"AS IS\" BASIS,"},{"line_number":12,"context_line":"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":13,"context_line":"See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"limitations under the License. */}}"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"{{- if .Values.manifests.network_policy -}}"},{"line_number":17,"context_line":"{{- $netpol_opts :\u003d dict \"envAll\" . \"name\" \"application\" \"label\" \"grafana\" -}}"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"3f79a3b5_10178a56","line":14,"range":{"start_line":8,"start_character":0,"end_line":14,"end_character":35},"updated":"2018-10-11 17:06:41.000000000","message":"again?  deliberate or editor quirk?","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":28592,"name":"Mike Pham","email":"tp6510@att.com","username":"tp6510"},"change_message_id":"d20b1b1e405fce67dd81366c8e909afda61db314","unresolved":false,"context_lines":[{"line_number":5,"context_line":"you may not use this file except in compliance with the License."},{"line_number":6,"context_line":"You may obtain a copy of the License at"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Unless required by applicable law or agreed to in writing, software"},{"line_number":11,"context_line":"distributed under the License is distributed on an \"AS IS\" BASIS,"},{"line_number":12,"context_line":"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":13,"context_line":"See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"limitations under the License. */}}"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"{{- if .Values.manifests.network_policy -}}"},{"line_number":17,"context_line":"{{- $netpol_opts :\u003d dict \"envAll\" . \"name\" \"application\" \"label\" \"grafana\" -}}"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"3f79a3b5_f69d23ba","line":14,"range":{"start_line":8,"start_character":0,"end_line":14,"end_character":35},"in_reply_to":"3f79a3b5_10178a56","updated":"2018-10-11 20:37:16.000000000","message":"Done","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"}],"helm-toolkit/templates/manifests/_egress.tpl":[{"author":{"_account_id":22477,"name":"Matt McEuen","email":"matt.mceuen@att.com","username":"mattmceuen"},"change_message_id":"a2a560cb8b7a38e41cf5214564074485eb309c82","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{{- define \"helm-toolkit.manifests.egress_network_policy\" -}}"},{"line_number":2,"context_line":"{{- $envAll :\u003d index . \"envAll\" -}}"},{"line_number":3,"context_line":"{{- $name :\u003d index . \"name\" -}}"},{"line_number":4,"context_line":"{{- $label :\u003d index . \"label\" -}}"}],"source_content_type":"text/x-smarty","patch_set":21,"id":"3f79a3b5_a759d48d","line":1,"updated":"2018-10-10 22:19:21.000000000","message":"Is this needed? #596888 defines helm-toolkit.manifests.kubernetes_network_policy, which has both ingress and egress powers.\n\nIf egress_network_policy is still needed, can we give it the standard documentation?  Thanks!","commit_id":"d27f91e434d95a26572e1619015e90d410283c2c"},{"author":{"_account_id":28592,"name":"Mike Pham","email":"tp6510@att.com","username":"tp6510"},"change_message_id":"3f927d4126551888f7fe14cbc8339e7d29ac5686","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{{- define \"helm-toolkit.manifests.egress_network_policy\" -}}"},{"line_number":2,"context_line":"{{- $envAll :\u003d index . \"envAll\" -}}"},{"line_number":3,"context_line":"{{- $name :\u003d index . \"name\" -}}"},{"line_number":4,"context_line":"{{- $label :\u003d index . \"label\" -}}"}],"source_content_type":"text/x-smarty","patch_set":21,"id":"3f79a3b5_d69d92ba","line":1,"in_reply_to":"3f79a3b5_562e628d","updated":"2018-10-11 13:16:59.000000000","message":"Done","commit_id":"d27f91e434d95a26572e1619015e90d410283c2c"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"819bdc8c413c167eca66504dd9fa67c0ede116bb","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{{- define \"helm-toolkit.manifests.egress_network_policy\" -}}"},{"line_number":2,"context_line":"{{- $envAll :\u003d index . \"envAll\" -}}"},{"line_number":3,"context_line":"{{- $name :\u003d index . \"name\" -}}"},{"line_number":4,"context_line":"{{- $label :\u003d index . \"label\" -}}"}],"source_content_type":"text/x-smarty","patch_set":21,"id":"3f79a3b5_562e628d","line":1,"in_reply_to":"3f79a3b5_a759d48d","updated":"2018-10-11 13:14:22.000000000","message":"Good catch.  This is remnant from previous patches.","commit_id":"d27f91e434d95a26572e1619015e90d410283c2c"}],"kibana/templates/network_policy.yaml":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":5,"context_line":"you may not use this file except in compliance with the License."},{"line_number":6,"context_line":"You may obtain a copy of the License at"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Unless required by applicable law or agreed to in writing, software"},{"line_number":11,"context_line":"distributed under the License is distributed on an \"AS IS\" BASIS,"},{"line_number":12,"context_line":"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":13,"context_line":"See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"limitations under the License. */}}"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"{{- if .Values.manifests.network_policy -}}"},{"line_number":17,"context_line":"{{- $netpol_opts :\u003d dict \"envAll\" . \"name\" \"application\" \"label\" \"kibana\" -}}"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"3f79a3b5_d00cb245","line":14,"range":{"start_line":8,"start_character":0,"end_line":14,"end_character":35},"updated":"2018-10-11 17:06:41.000000000","message":"again","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":28592,"name":"Mike Pham","email":"tp6510@att.com","username":"tp6510"},"change_message_id":"d20b1b1e405fce67dd81366c8e909afda61db314","unresolved":false,"context_lines":[{"line_number":5,"context_line":"you may not use this file except in compliance with the License."},{"line_number":6,"context_line":"You may obtain a copy of the License at"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Unless required by applicable law or agreed to in writing, software"},{"line_number":11,"context_line":"distributed under the License is distributed on an \"AS IS\" BASIS,"},{"line_number":12,"context_line":"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":13,"context_line":"See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"limitations under the License. */}}"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"{{- if .Values.manifests.network_policy -}}"},{"line_number":17,"context_line":"{{- $netpol_opts :\u003d dict \"envAll\" . \"name\" \"application\" \"label\" \"kibana\" -}}"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"3f79a3b5_16a3ff00","line":14,"range":{"start_line":8,"start_character":0,"end_line":14,"end_character":35},"in_reply_to":"3f79a3b5_d00cb245","updated":"2018-10-11 20:37:16.000000000","message":"Done","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"}],"nagios/templates/network_policy.yaml":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":5,"context_line":"you may not use this file except in compliance with the License."},{"line_number":6,"context_line":"You may obtain a copy of the License at"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Unless required by applicable law or agreed to in writing, software"},{"line_number":11,"context_line":"distributed under the License is distributed on an \"AS IS\" BASIS,"},{"line_number":12,"context_line":"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":13,"context_line":"See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"limitations under the License. */}}"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"{{- if .Values.manifests.network_policy -}}"},{"line_number":17,"context_line":"{{- $netpol_opts :\u003d dict \"envAll\" . \"name\" \"application\" \"label\" \"nagios\" -}}"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"3f79a3b5_f011ae5d","line":14,"range":{"start_line":8,"start_character":0,"end_line":14,"end_character":35},"updated":"2018-10-11 17:06:41.000000000","message":"...","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":28592,"name":"Mike Pham","email":"tp6510@att.com","username":"tp6510"},"change_message_id":"d20b1b1e405fce67dd81366c8e909afda61db314","unresolved":false,"context_lines":[{"line_number":5,"context_line":"you may not use this file except in compliance with the License."},{"line_number":6,"context_line":"You may obtain a copy of the License at"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    http://www.apache.org/licenses/LICENSE-2.0"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Unless required by applicable law or agreed to in writing, software"},{"line_number":11,"context_line":"distributed under the License is distributed on an \"AS IS\" BASIS,"},{"line_number":12,"context_line":"WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."},{"line_number":13,"context_line":"See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"limitations under the License. */}}"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"{{- if .Values.manifests.network_policy -}}"},{"line_number":17,"context_line":"{{- $netpol_opts :\u003d dict \"envAll\" . \"name\" \"application\" \"label\" \"nagios\" -}}"}],"source_content_type":"text/x-yaml","patch_set":23,"id":"3f79a3b5_b6ab2bd5","line":14,"range":{"start_line":8,"start_character":0,"end_line":14,"end_character":35},"in_reply_to":"3f79a3b5_f011ae5d","updated":"2018-10-11 20:37:16.000000000","message":"Done","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"}],"tools/deployment/developer/netpol/039-lockdown.sh":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":15,"context_line":"#    under the License."},{"line_number":16,"context_line":"set -xe"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"#NOTE: Lint and package chart"},{"line_number":19,"context_line":"make lockdown"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"#NOTE: Deploy command"}],"source_content_type":"text/x-sh","patch_set":23,"id":"3f79a3b5_0bfc3f0a","line":18,"range":{"start_line":18,"start_character":0,"end_line":18,"end_character":29},"updated":"2018-10-11 17:06:41.000000000","message":"i don\u0027t know if these comments are needed","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":18,"context_line":"#NOTE: Lint and package chart"},{"line_number":19,"context_line":"make lockdown"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"#NOTE: Deploy command"},{"line_number":22,"context_line":"helm upgrade --install lockdown ./lockdown \\"},{"line_number":23,"context_line":"    --namespace\u003dosh-infra"},{"line_number":24,"context_line":""}],"source_content_type":"text/x-sh","patch_set":23,"id":"3f79a3b5_cb016705","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":21},"updated":"2018-10-11 17:06:41.000000000","message":"...","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":22,"context_line":"helm upgrade --install lockdown ./lockdown \\"},{"line_number":23,"context_line":"    --namespace\u003dosh-infra"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"#NOTE: Wait for deploy"},{"line_number":26,"context_line":"./tools/deployment/common/wait-for-pods.sh openstack"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"#NOTE: Validate Deployment info"}],"source_content_type":"text/x-sh","patch_set":23,"id":"3f79a3b5_eb06a31b","line":25,"range":{"start_line":25,"start_character":0,"end_line":25,"end_character":22},"updated":"2018-10-11 17:06:41.000000000","message":"...","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"}],"tools/deployment/developer/netpol/901-test-networkpolicy.sh":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":14,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":15,"context_line":"#    under the License."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"set -xe"},{"line_number":18,"context_line":"# test_netpol(namespace, component, target_host, expected_result{fail,success})"},{"line_number":19,"context_line":"function test_netpol {"},{"line_number":20,"context_line":"  NS\u003d$1"}],"source_content_type":"text/x-sh","patch_set":23,"id":"3f79a3b5_4b2eb78d","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":7},"updated":"2018-10-11 17:06:41.000000000","message":"blank line after for consistency ?","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":28592,"name":"Mike Pham","email":"tp6510@att.com","username":"tp6510"},"change_message_id":"d20b1b1e405fce67dd81366c8e909afda61db314","unresolved":false,"context_lines":[{"line_number":14,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":15,"context_line":"#    under the License."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"set -xe"},{"line_number":18,"context_line":"# test_netpol(namespace, component, target_host, expected_result{fail,success})"},{"line_number":19,"context_line":"function test_netpol {"},{"line_number":20,"context_line":"  NS\u003d$1"}],"source_content_type":"text/x-sh","patch_set":23,"id":"3f79a3b5_765cb319","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":7},"in_reply_to":"3f79a3b5_4b2eb78d","updated":"2018-10-11 20:37:16.000000000","message":"Done","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"3223f8cfa621be734dca169fe28f4f0e0dba14f7","unresolved":false,"context_lines":[{"line_number":25,"context_line":"  POD\u003d$(kubectl -n $NS get pod | grep $COMPONENT | grep Running | awk \u0027{print $1}\u0027)"},{"line_number":26,"context_line":"  PID\u003d$(sudo docker inspect --format \u0027{{ .State.Pid }}\u0027 $(kubectl get pods --namespace $NS $POD -o jsonpath\u003d\u0027{.status.containerStatuses[0].containerID}\u0027 | cut -c 10-21))"},{"line_number":27,"context_line":"  if [ \"x${STATUS}\" \u003d\u003d \"xfail\" ]; then"},{"line_number":28,"context_line":"    if ! sudo nsenter -t $PID -n wget --spider --timeout\u003d5 --tries\u003d1 $HOST ; then"},{"line_number":29,"context_line":"      echo \"Connection timed out; as expected by policy.\""},{"line_number":30,"context_line":"    else"},{"line_number":31,"context_line":"      exit 1"}],"source_content_type":"text/x-sh","patch_set":23,"id":"3f79a3b5_eb5463ff","line":28,"range":{"start_line":28,"start_character":47,"end_line":28,"end_character":58},"updated":"2018-10-11 17:06:41.000000000","message":"5s timeout, is that reasonable? (might be, i have no idea but it seems short for example given poor gate performance)","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"},{"author":{"_account_id":28592,"name":"Mike Pham","email":"tp6510@att.com","username":"tp6510"},"change_message_id":"d20b1b1e405fce67dd81366c8e909afda61db314","unresolved":false,"context_lines":[{"line_number":25,"context_line":"  POD\u003d$(kubectl -n $NS get pod | grep $COMPONENT | grep Running | awk \u0027{print $1}\u0027)"},{"line_number":26,"context_line":"  PID\u003d$(sudo docker inspect --format \u0027{{ .State.Pid }}\u0027 $(kubectl get pods --namespace $NS $POD -o jsonpath\u003d\u0027{.status.containerStatuses[0].containerID}\u0027 | cut -c 10-21))"},{"line_number":27,"context_line":"  if [ \"x${STATUS}\" \u003d\u003d \"xfail\" ]; then"},{"line_number":28,"context_line":"    if ! sudo nsenter -t $PID -n wget --spider --timeout\u003d5 --tries\u003d1 $HOST ; then"},{"line_number":29,"context_line":"      echo \"Connection timed out; as expected by policy.\""},{"line_number":30,"context_line":"    else"},{"line_number":31,"context_line":"      exit 1"}],"source_content_type":"text/x-sh","patch_set":23,"id":"3f79a3b5_96594f2a","line":28,"range":{"start_line":28,"start_character":47,"end_line":28,"end_character":58},"in_reply_to":"3f79a3b5_eb5463ff","updated":"2018-10-11 20:37:16.000000000","message":"Done","commit_id":"86e00161ea74f94e3238e8e12228120869b50919"}]}
