)]}'
{"helm/microservice/ceph-rbd-daemonset/templates/ceph_rbd_daemonset.yaml":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"3bdf576ed188959844847f3c2668ab91d288dd04","unresolved":false,"context_lines":[{"line_number":44,"context_line":"              if [ ! -x /host/rbd ]; then"},{"line_number":45,"context_line":"              echo IyEvYmluL2Jhc2gKCg\u003d\u003d | base64 -d \u003e /host/rbd;"},{"line_number":46,"context_line":"              echo \u0027ID\u003d$(docker ps -q -f label\u003dio.kubernetes.pod.namespace\u003d\u0027$POD_NAMESPACE\u0027 -f label\u003dio.kubernetes.pod.name\u003d\u0027$POD_NAME\u0027 -f label\u003dio.kubernetes.container.name\u003dmain);\u0027 \u003e\u003e /host/rbd;"},{"line_number":47,"context_line":"              echo \u0027docker exec --privileged -u 0 -i $ID /usr/bin/rbd \"$@\"\u0027 \u003e\u003e /host/rbd;"},{"line_number":48,"context_line":"              chmod +x /host/rbd;"},{"line_number":49,"context_line":"              fi;"},{"line_number":50,"context_line":"              while true; do sleep 1000; done"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"ba5201f7_1a461d4f","line":47,"range":{"start_line":47,"start_character":20,"end_line":47,"end_character":69},"updated":"2017-01-11 15:59:41.000000000","message":"Could you explain the rationale behind this?","commit_id":"c680689f70131bdb956b6a632aaa2c1745cbf1b5"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"67785fcd77aa81166530dc7daf8cd81234f1495e","unresolved":false,"context_lines":[{"line_number":44,"context_line":"              if [ ! -x /host/rbd ]; then"},{"line_number":45,"context_line":"              echo IyEvYmluL2Jhc2gKCg\u003d\u003d | base64 -d \u003e /host/rbd;"},{"line_number":46,"context_line":"              echo \u0027ID\u003d$(docker ps -q -f label\u003dio.kubernetes.pod.namespace\u003d\u0027$POD_NAMESPACE\u0027 -f label\u003dio.kubernetes.pod.name\u003d\u0027$POD_NAME\u0027 -f label\u003dio.kubernetes.container.name\u003dmain);\u0027 \u003e\u003e /host/rbd;"},{"line_number":47,"context_line":"              echo \u0027docker exec --privileged -u 0 -i $ID /usr/bin/rbd \"$@\"\u0027 \u003e\u003e /host/rbd;"},{"line_number":48,"context_line":"              chmod +x /host/rbd;"},{"line_number":49,"context_line":"              fi;"},{"line_number":50,"context_line":"              while true; do sleep 1000; done"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"ba5201f7_d5e54609","line":47,"range":{"start_line":47,"start_character":20,"end_line":47,"end_character":69},"in_reply_to":"ba5201f7_1a461d4f","updated":"2017-01-11 16:22:33.000000000","message":"This daemonset allows ceph rbd to be used from the host without installing ceph on the host. It uses the rbd from the container and lays down a shell script that calls rbd back in the daemonset\u0027s container.\n\nThis basically allows ceph rbd mounts to be used by kubelet with the same version of ceph the containers are using trivially. I wrote this all they way back when we were using minikube, as there was no way to install rbd on the host image without a huge amount of work.\n\nThis PS just takes the existing jinja2 code and makes it available via helm.","commit_id":"c680689f70131bdb956b6a632aaa2c1745cbf1b5"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"be57dee2faf0e66ee4b325a6c01024cd69cfd3ea","unresolved":false,"context_lines":[{"line_number":44,"context_line":"              if [ ! -x /host/rbd ]; then"},{"line_number":45,"context_line":"              echo IyEvYmluL2Jhc2gKCg\u003d\u003d | base64 -d \u003e /host/rbd;"},{"line_number":46,"context_line":"              echo \u0027ID\u003d$(docker ps -q -f label\u003dio.kubernetes.pod.namespace\u003d\u0027$POD_NAMESPACE\u0027 -f label\u003dio.kubernetes.pod.name\u003d\u0027$POD_NAME\u0027 -f label\u003dio.kubernetes.container.name\u003dmain);\u0027 \u003e\u003e /host/rbd;"},{"line_number":47,"context_line":"              echo \u0027docker exec --privileged -u 0 -i $ID /usr/bin/rbd \"$@\"\u0027 \u003e\u003e /host/rbd;"},{"line_number":48,"context_line":"              chmod +x /host/rbd;"},{"line_number":49,"context_line":"              fi;"},{"line_number":50,"context_line":"              while true; do sleep 1000; done"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"ba5201f7_e0d9a7f4","line":47,"range":{"start_line":47,"start_character":20,"end_line":47,"end_character":69},"in_reply_to":"ba5201f7_d5e54609","updated":"2017-01-11 17:44:32.000000000","message":"cool - neat trick.","commit_id":"c680689f70131bdb956b6a632aaa2c1745cbf1b5"}]}
