)]}'
{"barbican/templates/secret-rabbitmq.yaml":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"0e758fab26b2ab9d891a6cef6dd6973b29d09691","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  name: {{ $secretName }}"},{"line_number":27,"context_line":"type: Opaque"},{"line_number":28,"context_line":"data:"},{"line_number":29,"context_line":"  RABBITMQ_USERNAME: {{ $userContext.username | b64enc }}"},{"line_number":30,"context_line":"  RABBITMQ_PASSWORD: {{ $userContext.password | b64enc }}"},{"line_number":31,"context_line":"{{- end }}"},{"line_number":32,"context_line":"{{- end }}"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_d9005b05","line":30,"range":{"start_line":29,"start_character":0,"end_line":30,"end_character":57},"updated":"2018-02-21 21:38:11.000000000","message":"It just occurred to me, could we use the connection string here - in the same way, we do with the DB init jobs - that way we could expand to manage vhosts etc simply without having to change the charts.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"53831e71a1ca232598f7198a5e94e2e659f51e04","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  name: {{ $secretName }}"},{"line_number":27,"context_line":"type: Opaque"},{"line_number":28,"context_line":"data:"},{"line_number":29,"context_line":"  RABBITMQ_USERNAME: {{ $userContext.username | b64enc }}"},{"line_number":30,"context_line":"  RABBITMQ_PASSWORD: {{ $userContext.password | b64enc }}"},{"line_number":31,"context_line":"{{- end }}"},{"line_number":32,"context_line":"{{- end }}"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_ff506934","line":30,"range":{"start_line":29,"start_character":0,"end_line":30,"end_character":57},"in_reply_to":"3fa0c359_bfd68ff1","updated":"2018-02-23 15:46:42.000000000","message":"What I\u0027d really like to see is the same format as here:\nhttps://github.com/openstack/openstack-helm/blob/master/cinder/templates/secret-db.yaml\nwhich will include all the required information for connecting to the message bus.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":24165,"name":"Renis Makadia","email":"renis.makadia@att.com","username":"renmak"},"change_message_id":"8fd7b432d8a3780ed5a1786bfb209a26c70fe621","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  name: {{ $secretName }}"},{"line_number":27,"context_line":"type: Opaque"},{"line_number":28,"context_line":"data:"},{"line_number":29,"context_line":"  RABBITMQ_USERNAME: {{ $userContext.username | b64enc }}"},{"line_number":30,"context_line":"  RABBITMQ_PASSWORD: {{ $userContext.password | b64enc }}"},{"line_number":31,"context_line":"{{- end }}"},{"line_number":32,"context_line":"{{- end }}"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_bfd68ff1","line":30,"range":{"start_line":29,"start_character":0,"end_line":30,"end_character":57},"in_reply_to":"3fa0c359_d9005b05","updated":"2018-02-23 14:32:06.000000000","message":"Should we also include port i","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"}],"ceilometer/values.yaml":[{"author":{"_account_id":20889,"name":"Niketu Parekh","email":"niketu.parekh@ericsson.com","username":"niketukparekh"},"change_message_id":"80d05f833a843ab96fba92dd80a59a8052f0a15e","unresolved":false,"context_lines":[{"line_number":1886,"context_line":"          cpu: \"2000m\""},{"line_number":1887,"context_line":"      db_init_mongodb:"},{"line_number":1888,"context_line":"        requests:"},{"line_number":1889,"context_line":"          memory: \"124Mi\""},{"line_number":1890,"context_line":"          cpu: \"100m\""},{"line_number":1891,"context_line":"        limits:"},{"line_number":1892,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_ed522e67","line":1889,"range":{"start_line":1889,"start_character":10,"end_line":1889,"end_character":25},"updated":"2018-02-22 05:27:04.000000000","message":"(Not related to this patch set) \nPlease change the memory allocation to 128Mi to align with power of 2 value.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":17591,"name":"Steve Wilkerson","email":"wilkers.steve@gmail.com","username":"srwilkers"},"change_message_id":"b1f990fd6aa89ad3f4e58ecfb589295aeea63b03","unresolved":false,"context_lines":[{"line_number":1886,"context_line":"          cpu: \"2000m\""},{"line_number":1887,"context_line":"      db_init_mongodb:"},{"line_number":1888,"context_line":"        requests:"},{"line_number":1889,"context_line":"          memory: \"124Mi\""},{"line_number":1890,"context_line":"          cpu: \"100m\""},{"line_number":1891,"context_line":"        limits:"},{"line_number":1892,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_09de60d9","line":1889,"range":{"start_line":1889,"start_character":10,"end_line":1889,"end_character":25},"in_reply_to":"3fa0c359_ed522e67","updated":"2018-02-22 15:17:19.000000000","message":"This is out of the scope of this change. It should be addressed separately.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":20889,"name":"Niketu Parekh","email":"niketu.parekh@ericsson.com","username":"niketukparekh"},"change_message_id":"80d05f833a843ab96fba92dd80a59a8052f0a15e","unresolved":false,"context_lines":[{"line_number":1893,"context_line":"          cpu: \"2000m\""},{"line_number":1894,"context_line":"      db_sync:"},{"line_number":1895,"context_line":"        requests:"},{"line_number":1896,"context_line":"          memory: \"124Mi\""},{"line_number":1897,"context_line":"          cpu: \"100m\""},{"line_number":1898,"context_line":"        limits:"},{"line_number":1899,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_2db336eb","line":1896,"range":{"start_line":1896,"start_character":10,"end_line":1896,"end_character":25},"updated":"2018-02-22 05:27:04.000000000","message":"(Not related to this patch set)\nPlease change the memory allocation to 128Mi to align with power of 2 value.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":17591,"name":"Steve Wilkerson","email":"wilkers.steve@gmail.com","username":"srwilkers"},"change_message_id":"b1f990fd6aa89ad3f4e58ecfb589295aeea63b03","unresolved":false,"context_lines":[{"line_number":1893,"context_line":"          cpu: \"2000m\""},{"line_number":1894,"context_line":"      db_sync:"},{"line_number":1895,"context_line":"        requests:"},{"line_number":1896,"context_line":"          memory: \"124Mi\""},{"line_number":1897,"context_line":"          cpu: \"100m\""},{"line_number":1898,"context_line":"        limits:"},{"line_number":1899,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_a9f08c68","line":1896,"range":{"start_line":1896,"start_character":10,"end_line":1896,"end_character":25},"in_reply_to":"3fa0c359_2db336eb","updated":"2018-02-22 15:17:19.000000000","message":"same","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":20889,"name":"Niketu Parekh","email":"niketu.parekh@ericsson.com","username":"niketukparekh"},"change_message_id":"80d05f833a843ab96fba92dd80a59a8052f0a15e","unresolved":false,"context_lines":[{"line_number":1907,"context_line":"          cpu: \"2000m\""},{"line_number":1908,"context_line":"      ks_endpoints:"},{"line_number":1909,"context_line":"        requests:"},{"line_number":1910,"context_line":"          memory: \"124Mi\""},{"line_number":1911,"context_line":"          cpu: \"100m\""},{"line_number":1912,"context_line":"        limits:"},{"line_number":1913,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_cdcbb250","line":1910,"range":{"start_line":1910,"start_character":10,"end_line":1910,"end_character":25},"updated":"2018-02-22 05:27:04.000000000","message":"(Not related to this patch set)\nPlease change the memory allocation to 128Mi to align with power of 2 value.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":17591,"name":"Steve Wilkerson","email":"wilkers.steve@gmail.com","username":"srwilkers"},"change_message_id":"b1f990fd6aa89ad3f4e58ecfb589295aeea63b03","unresolved":false,"context_lines":[{"line_number":1907,"context_line":"          cpu: \"2000m\""},{"line_number":1908,"context_line":"      ks_endpoints:"},{"line_number":1909,"context_line":"        requests:"},{"line_number":1910,"context_line":"          memory: \"124Mi\""},{"line_number":1911,"context_line":"          cpu: \"100m\""},{"line_number":1912,"context_line":"        limits:"},{"line_number":1913,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_69e604b3","line":1910,"range":{"start_line":1910,"start_character":10,"end_line":1910,"end_character":25},"in_reply_to":"3fa0c359_cdcbb250","updated":"2018-02-22 15:17:19.000000000","message":"same","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":20889,"name":"Niketu Parekh","email":"niketu.parekh@ericsson.com","username":"niketukparekh"},"change_message_id":"80d05f833a843ab96fba92dd80a59a8052f0a15e","unresolved":false,"context_lines":[{"line_number":1914,"context_line":"          cpu: \"2000m\""},{"line_number":1915,"context_line":"      ks_service:"},{"line_number":1916,"context_line":"        requests:"},{"line_number":1917,"context_line":"          memory: \"124Mi\""},{"line_number":1918,"context_line":"          cpu: \"100m\""},{"line_number":1919,"context_line":"        limits:"},{"line_number":1920,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_edc8ee55","line":1917,"range":{"start_line":1917,"start_character":10,"end_line":1917,"end_character":25},"updated":"2018-02-22 05:27:04.000000000","message":"(Not related to this patch set)\nPlease change the memory allocation to 128Mi to align with power of 2 value.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":17591,"name":"Steve Wilkerson","email":"wilkers.steve@gmail.com","username":"srwilkers"},"change_message_id":"b1f990fd6aa89ad3f4e58ecfb589295aeea63b03","unresolved":false,"context_lines":[{"line_number":1914,"context_line":"          cpu: \"2000m\""},{"line_number":1915,"context_line":"      ks_service:"},{"line_number":1916,"context_line":"        requests:"},{"line_number":1917,"context_line":"          memory: \"124Mi\""},{"line_number":1918,"context_line":"          cpu: \"100m\""},{"line_number":1919,"context_line":"        limits:"},{"line_number":1920,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_4901c837","line":1917,"range":{"start_line":1917,"start_character":10,"end_line":1917,"end_character":25},"in_reply_to":"3fa0c359_edc8ee55","updated":"2018-02-22 15:17:19.000000000","message":"same","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":20889,"name":"Niketu Parekh","email":"niketu.parekh@ericsson.com","username":"niketukparekh"},"change_message_id":"80d05f833a843ab96fba92dd80a59a8052f0a15e","unresolved":false,"context_lines":[{"line_number":1921,"context_line":"          cpu: \"2000m\""},{"line_number":1922,"context_line":"      ks_user:"},{"line_number":1923,"context_line":"        requests:"},{"line_number":1924,"context_line":"          memory: \"124Mi\""},{"line_number":1925,"context_line":"          cpu: \"100m\""},{"line_number":1926,"context_line":"        limits:"},{"line_number":1927,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_8d728a11","line":1924,"range":{"start_line":1924,"start_character":10,"end_line":1924,"end_character":25},"updated":"2018-02-22 05:27:04.000000000","message":"(Not related to this patch set)\nPlease change the memory allocation to 128Mi to align with power of 2 value.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":17591,"name":"Steve Wilkerson","email":"wilkers.steve@gmail.com","username":"srwilkers"},"change_message_id":"b1f990fd6aa89ad3f4e58ecfb589295aeea63b03","unresolved":false,"context_lines":[{"line_number":1921,"context_line":"          cpu: \"2000m\""},{"line_number":1922,"context_line":"      ks_user:"},{"line_number":1923,"context_line":"        requests:"},{"line_number":1924,"context_line":"          memory: \"124Mi\""},{"line_number":1925,"context_line":"          cpu: \"100m\""},{"line_number":1926,"context_line":"        limits:"},{"line_number":1927,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_09f7405b","line":1924,"range":{"start_line":1924,"start_character":10,"end_line":1924,"end_character":25},"in_reply_to":"3fa0c359_8d728a11","updated":"2018-02-22 15:17:19.000000000","message":"same","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":20889,"name":"Niketu Parekh","email":"niketu.parekh@ericsson.com","username":"niketukparekh"},"change_message_id":"80d05f833a843ab96fba92dd80a59a8052f0a15e","unresolved":false,"context_lines":[{"line_number":1928,"context_line":"          cpu: \"2000m\""},{"line_number":1929,"context_line":"      tests:"},{"line_number":1930,"context_line":"        requests:"},{"line_number":1931,"context_line":"          memory: \"124Mi\""},{"line_number":1932,"context_line":"          cpu: \"100m\""},{"line_number":1933,"context_line":"        limits:"},{"line_number":1934,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_0d58ba87","line":1931,"range":{"start_line":1931,"start_character":10,"end_line":1931,"end_character":25},"updated":"2018-02-22 05:27:04.000000000","message":"(Not related to this patch set) \nPlease change the memory allocation to 128Mi to align with power of 2 value.","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":17591,"name":"Steve Wilkerson","email":"wilkers.steve@gmail.com","username":"srwilkers"},"change_message_id":"b1f990fd6aa89ad3f4e58ecfb589295aeea63b03","unresolved":false,"context_lines":[{"line_number":1928,"context_line":"          cpu: \"2000m\""},{"line_number":1929,"context_line":"      tests:"},{"line_number":1930,"context_line":"        requests:"},{"line_number":1931,"context_line":"          memory: \"124Mi\""},{"line_number":1932,"context_line":"          cpu: \"100m\""},{"line_number":1933,"context_line":"        limits:"},{"line_number":1934,"context_line":"          memory: \"1024Mi\""}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_4986a8bb","line":1931,"range":{"start_line":1931,"start_character":10,"end_line":1931,"end_character":25},"in_reply_to":"3fa0c359_0d58ba87","updated":"2018-02-22 15:17:19.000000000","message":"same","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"}],"heat/templates/job-rabbitmq-user-init.yaml":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"7423d9651f2e43dccdf8a36e1dd25362fb7a7c7f","unresolved":false,"context_lines":[{"line_number":48,"context_line":"            - name: RABBITMQ_PORT"},{"line_number":49,"context_line":"              value: {{ .Values.endpoints.oslo_messaging.port.http.default | quote }}"},{"line_number":50,"context_line":"            - name: RABBITMQ_ADMIN_USER"},{"line_number":51,"context_line":"              value: {{ .Values.endpoints.oslo_messaging.auth.rabbitmq.username | quote }}"},{"line_number":52,"context_line":"            - name: RABBITMQ_ADMIN_USER_PASSWORD"},{"line_number":53,"context_line":"              value: {{ .Values.endpoints.oslo_messaging.auth.rabbitmq.password | quote }}"},{"line_number":54,"context_line":"            - name: RABBITMQ_NEW_USER"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"3fa0c359_d80d95e8","line":51,"range":{"start_line":51,"start_character":62,"end_line":51,"end_character":70},"updated":"2018-02-12 16:05:22.000000000","message":"admin","commit_id":"e2192573f71ad7576554b1aedbf5bce2fbfc3e41"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"7423d9651f2e43dccdf8a36e1dd25362fb7a7c7f","unresolved":false,"context_lines":[{"line_number":47,"context_line":"              value: {{ tuple \"oslo_messaging\" \"internal\" $envAll | include \"helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup\" | quote }}"},{"line_number":48,"context_line":"            - name: RABBITMQ_PORT"},{"line_number":49,"context_line":"              value: {{ .Values.endpoints.oslo_messaging.port.http.default | quote }}"},{"line_number":50,"context_line":"            - name: RABBITMQ_ADMIN_USER"},{"line_number":51,"context_line":"              value: {{ .Values.endpoints.oslo_messaging.auth.rabbitmq.username | quote }}"},{"line_number":52,"context_line":"            - name: RABBITMQ_ADMIN_USER_PASSWORD"},{"line_number":53,"context_line":"              value: {{ .Values.endpoints.oslo_messaging.auth.rabbitmq.password | quote }}"},{"line_number":54,"context_line":"            - name: RABBITMQ_NEW_USER"},{"line_number":55,"context_line":"              value: {{ .Values.endpoints.oslo_messaging.auth.heat.username | quote }}"},{"line_number":56,"context_line":"            - name: RABBITMQ_NEW_USER_PASSWORD"},{"line_number":57,"context_line":"              value: {{ .Values.endpoints.oslo_messaging.auth.heat.password | quote }}"},{"line_number":58,"context_line":"          command:"},{"line_number":59,"context_line":"            - /tmp/rabbitmq-user-init.sh"},{"line_number":60,"context_line":"          volumeMounts:"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"3fa0c359_3834b992","line":57,"range":{"start_line":50,"start_character":0,"end_line":57,"end_character":86},"updated":"2018-02-12 16:05:22.000000000","message":"rather than naked env vars, can we use secrets here. eg the same pattern as used here: https://github.com/openstack/openstack-helm/blob/master/helm-toolkit/templates/manifests/_job-ks-user.yaml.tpl#L63-L65","commit_id":"e2192573f71ad7576554b1aedbf5bce2fbfc3e41"}],"helm-toolkit/templates/manifests/_job-rabbit-init.yaml.tpl":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"0e758fab26b2ab9d891a6cef6dd6973b29d09691","unresolved":false,"context_lines":[{"line_number":55,"context_line":"              subPath: rabbit-init.sh"},{"line_number":56,"context_line":"              readOnly: true"},{"line_number":57,"context_line":"          env:"},{"line_number":58,"context_line":"          - name: RABBITMQ_HOSTNAME"},{"line_number":59,"context_line":"            value: {{ tuple \"oslo_messaging\" \"internal\" $envAll | include \"helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup\"}}"},{"line_number":60,"context_line":"          - name: RABBITMQ_PORT"},{"line_number":61,"context_line":"            value: {{ index $envAll.Values.endpoints.oslo_messaging.port.http.default | quote }}"},{"line_number":62,"context_line":"          - name: RABBITMQ_ADMIN_USERNAME"},{"line_number":63,"context_line":"            valueFrom:"},{"line_number":64,"context_line":"              secretKeyRef:"}],"source_content_type":"text/x-smarty","patch_set":56,"id":"3fa0c359_c4b4f238","line":61,"range":{"start_line":58,"start_character":0,"end_line":61,"end_character":96},"updated":"2018-02-21 21:38:11.000000000","message":"if we used the connection sring in the secrets, we could parse these (and any additional) params from there","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"b65c8424929bbf98ab831949d3ac9fe22f509554","unresolved":false,"context_lines":[{"line_number":70,"context_line":"          configMap:"},{"line_number":71,"context_line":"            name: {{ $configMapBin | quote }}"},{"line_number":72,"context_line":"            defaultMode: 0555"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"{{- end -}}"}],"source_content_type":"text/x-smarty","patch_set":67,"id":"3fa0c359_03b8490e","line":73,"updated":"2018-02-26 03:35:22.000000000","message":"extra ws","commit_id":"ad14028346dcdbf5257b9c0b14fcbe42f380a323"}],"helm-toolkit/templates/manifests/_job-rabbitmq-user-init.yaml.tpl":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"fc93cb0782440f2ec92b192122b383509dddedda","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# This function creates a manifest for rabbitmq user management."},{"line_number":18,"context_line":"# It can be used in charts dict created similar to the following:"},{"line_number":19,"context_line":"# {{- $rmqUserJob :\u003d dict \"envAll\" . \"serviceName\" \"heat\" -}}"},{"line_number":20,"context_line":"# {{ $rmqUserJob | include \"helm-toolkit.manifests.job_rabbitmq_user_init\" }}"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"{{- define \"helm-toolkit.manifests.job_rabbitmq_user_init\" -}}"}],"source_content_type":"text/x-smarty","patch_set":45,"id":"3fa0c359_30367be9","line":19,"range":{"start_line":19,"start_character":60,"end_line":19,"end_character":61},"updated":"2018-02-19 06:09:03.000000000","message":"ditto","commit_id":"e20df86cc3152920154d7f25ef608ea403d58e43"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"fc93cb0782440f2ec92b192122b383509dddedda","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# This function creates a manifest for rabbitmq user management."},{"line_number":18,"context_line":"# It can be used in charts dict created similar to the following:"},{"line_number":19,"context_line":"# {{- $rmqUserJob :\u003d dict \"envAll\" . \"serviceName\" \"heat\" -}}"},{"line_number":20,"context_line":"# {{ $rmqUserJob | include \"helm-toolkit.manifests.job_rabbitmq_user_init\" }}"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"{{- define \"helm-toolkit.manifests.job_rabbitmq_user_init\" -}}"}],"source_content_type":"text/x-smarty","patch_set":45,"id":"3fa0c359_103b3fd1","line":19,"range":{"start_line":19,"start_character":2,"end_line":19,"end_character":3},"updated":"2018-02-19 06:09:03.000000000","message":"remove, otherwise this may get rendered.","commit_id":"e20df86cc3152920154d7f25ef608ea403d58e43"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"fc93cb0782440f2ec92b192122b383509dddedda","unresolved":false,"context_lines":[{"line_number":17,"context_line":"# This function creates a manifest for rabbitmq user management."},{"line_number":18,"context_line":"# It can be used in charts dict created similar to the following:"},{"line_number":19,"context_line":"# {{- $rmqUserJob :\u003d dict \"envAll\" . \"serviceName\" \"heat\" -}}"},{"line_number":20,"context_line":"# {{ $rmqUserJob | include \"helm-toolkit.manifests.job_rabbitmq_user_init\" }}"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"{{- define \"helm-toolkit.manifests.job_rabbitmq_user_init\" -}}"},{"line_number":23,"context_line":"{{- $envAll :\u003d index . \"envAll\" -}}"}],"source_content_type":"text/x-smarty","patch_set":45,"id":"3fa0c359_702403b0","line":20,"range":{"start_line":20,"start_character":76,"end_line":20,"end_character":77},"updated":"2018-02-19 06:09:03.000000000","message":"ditto","commit_id":"e20df86cc3152920154d7f25ef608ea403d58e43"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"fc93cb0782440f2ec92b192122b383509dddedda","unresolved":false,"context_lines":[{"line_number":17,"context_line":"# This function creates a manifest for rabbitmq user management."},{"line_number":18,"context_line":"# It can be used in charts dict created similar to the following:"},{"line_number":19,"context_line":"# {{- $rmqUserJob :\u003d dict \"envAll\" . \"serviceName\" \"heat\" -}}"},{"line_number":20,"context_line":"# {{ $rmqUserJob | include \"helm-toolkit.manifests.job_rabbitmq_user_init\" }}"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"{{- define \"helm-toolkit.manifests.job_rabbitmq_user_init\" -}}"},{"line_number":23,"context_line":"{{- $envAll :\u003d index . \"envAll\" -}}"}],"source_content_type":"text/x-smarty","patch_set":45,"id":"3fa0c359_b02a8b7b","line":20,"range":{"start_line":20,"start_character":2,"end_line":20,"end_character":3},"updated":"2018-02-19 06:09:03.000000000","message":"remove, otherwise this may get rendered","commit_id":"e20df86cc3152920154d7f25ef608ea403d58e43"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"fc93cb0782440f2ec92b192122b383509dddedda","unresolved":false,"context_lines":[{"line_number":62,"context_line":"          env:"},{"line_number":63,"context_line":"          - name: RABBITMQ_HOSTNAME"},{"line_number":64,"context_line":"            value: {{ tuple \"oslo_messaging\" \"internal\" $envAll | include \"helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup\"}}"},{"line_number":65,"context_line":"          - name: RABBITMQ_PORT"},{"line_number":66,"context_line":"            value: {{ index $envAll.Values.endpoints.oslo_messaging.port.http.default | quote }}"},{"line_number":67,"context_line":"          - name: RABBITMQ_ADMIN_USERNAME"},{"line_number":68,"context_line":"            value: {{ index $envAll.Values.endpoints.oslo_messaging.auth.admin.username | quote }}"},{"line_number":69,"context_line":"          - name: RABBITMQ_ADMIN_PASSWORD"},{"line_number":70,"context_line":"            value: {{ index $envAll.Values.endpoints.oslo_messaging.auth.admin.password | quote }}"},{"line_number":71,"context_line":"          - name: RABBITMQ_USERNAME"},{"line_number":72,"context_line":"            value: {{ index $envAll.Values.endpoints.oslo_messaging.auth $serviceName \"username\" | quote }}"},{"line_number":73,"context_line":"          - name: RABBITMQ_PASSWORD"},{"line_number":74,"context_line":"            value: {{ index $envAll.Values.endpoints.oslo_messaging.auth $serviceName \"password\" | quote }}"},{"line_number":75,"context_line":"      volumes:"},{"line_number":76,"context_line":"        - name: rabbitmq-user-init-sh"},{"line_number":77,"context_line":"          configMap:"}],"source_content_type":"text/x-smarty","patch_set":45,"id":"3fa0c359_f016d349","line":74,"range":{"start_line":65,"start_character":0,"end_line":74,"end_character":107},"updated":"2018-02-19 06:09:03.000000000","message":"can we get these from secrets?","commit_id":"e20df86cc3152920154d7f25ef608ea403d58e43"}],"helm-toolkit/templates/scripts/_rabbit-init.sh.tpl":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"625a0be4132519b35805284209659842c4015221","unresolved":false,"context_lines":[{"line_number":51,"context_line":"# Declare permissions for new user"},{"line_number":52,"context_line":"rabbitmqadmin --host\u003d$RABBIT_HOSTNAME --port\u003d$RABBIT_PORT \\"},{"line_number":53,"context_line":"  --username\u003d$RABBITMQ_ADMIN_USERNAME --password\u003d$RABBITMQ_ADMIN_PASSWORD \\"},{"line_number":54,"context_line":"  declare permission vhost\u003d\"/\" user\u003d$RABBITMQ_USERNAME \\"},{"line_number":55,"context_line":"  configure\u003d\".*\" write\u003d\".*\" read\u003d\".*\""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"# Using new user creadential, list current rabbitmq users"}],"source_content_type":"text/x-smarty","patch_set":67,"id":"3fa0c359_63c90daa","line":54,"range":{"start_line":54,"start_character":28,"end_line":54,"end_character":29},"updated":"2018-02-26 03:34:19.000000000","message":"In a follow on PS we should encorp vhost management","commit_id":"ad14028346dcdbf5257b9c0b14fcbe42f380a323"}],"nova/values.yaml":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"3310da089c325a305b9509083d94259d5eedaf3c","unresolved":false,"context_lines":[{"line_number":1039,"context_line":"    admin: nova-db-api-admin"},{"line_number":1040,"context_line":"    nova: nova-db-api-user"},{"line_number":1041,"context_line":"  oslo_messaging:"},{"line_number":1042,"context_line":"    admin: admin-rabbitmq-user"},{"line_number":1043,"context_line":"    nova: nova-rabbitmq-user"},{"line_number":1044,"context_line":""},{"line_number":1045,"context_line":"# typically overriden by environmental"}],"source_content_type":"text/x-yaml","patch_set":36,"id":"3fa0c359_3d8b27c3","line":1042,"range":{"start_line":1042,"start_character":11,"end_line":1042,"end_character":30},"updated":"2018-02-13 18:24:05.000000000","message":"this name collides with others, try following the pattern for the db and keystone users, and we can avoid this.","commit_id":"1bf3417296dcdb1d00be07ebb8f1e66b646618e5"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"b852df3e53935ee2e565ac046f46336e6f7fac4b","unresolved":false,"context_lines":[{"line_number":196,"context_line":"    services:"},{"line_number":197,"context_line":"    - service: oslo_db"},{"line_number":198,"context_line":"      endpoint: internal"},{"line_number":199,"context_line":"  rabbitmq_user_init:"},{"line_number":200,"context_line":"    services:"},{"line_number":201,"context_line":"    - service: oslo_messaging"},{"line_number":202,"context_line":"      endpoint: internal"}],"source_content_type":"text/x-yaml","patch_set":47,"id":"3fa0c359_3f8ddc30","line":199,"range":{"start_line":199,"start_character":2,"end_line":199,"end_character":20},"updated":"2018-02-19 19:41:20.000000000","message":"can we just name this job `rabbit_init`","commit_id":"f11973e32401fc4dca758a58cf07bfde07366461"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"b852df3e53935ee2e565ac046f46336e6f7fac4b","unresolved":false,"context_lines":[{"line_number":230,"context_line":"    services:"},{"line_number":231,"context_line":"    - service: identity"},{"line_number":232,"context_line":"      endpoint: internal"},{"line_number":233,"context_line":"  compute:"},{"line_number":234,"context_line":"    jobs:"},{"line_number":235,"context_line":"    - nova-db-sync"},{"line_number":236,"context_line":"    services:"}],"source_content_type":"text/x-yaml","patch_set":47,"id":"3fa0c359_9f7d101e","line":233,"updated":"2018-02-19 19:41:20.000000000","message":"this and all other services that rely on rabbitmq should be dependant on the `nova-rabbit-init` job","commit_id":"f11973e32401fc4dca758a58cf07bfde07366461"},{"author":{"_account_id":20889,"name":"Niketu Parekh","email":"niketu.parekh@ericsson.com","username":"niketukparekh"},"change_message_id":"80d05f833a843ab96fba92dd80a59a8052f0a15e","unresolved":false,"context_lines":[{"line_number":308,"context_line":"    - service: compute"},{"line_number":309,"context_line":"      endpoint: internal"},{"line_number":310,"context_line":"  tests:"},{"line_number":311,"context_line":"    service:"},{"line_number":312,"context_line":"    - service: image"},{"line_number":313,"context_line":"      endpoint: internal"},{"line_number":314,"context_line":"    - service: compute"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"3fa0c359_305b89f6","line":311,"range":{"start_line":311,"start_character":4,"end_line":311,"end_character":12},"updated":"2018-02-22 05:27:04.000000000","message":"should this be \"services:\"?","commit_id":"b6322e60752dda896014f31e3f7ef01eb4fbe84e"}],"tools/deployment/armada/multinode/armada-osh.yaml":[{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"5373ac9622ff9a2cd33fe0d8a1fe137740c2c250","unresolved":false,"context_lines":[{"line_number":295,"context_line":"            password: ${KEYSTONE_DB_PASSWORD}"},{"line_number":296,"context_line":"      oslo_messaging:"},{"line_number":297,"context_line":"        auth:"},{"line_number":298,"context_line":"          admin:"},{"line_number":299,"context_line":"            username: keystone-rabbitmq"},{"line_number":300,"context_line":"            password: ${KEYSTONE_RABBITMQ_PASSWORD}"},{"line_number":301,"context_line":"          keystone:"},{"line_number":302,"context_line":"            username: keystone"},{"line_number":303,"context_line":"            password: ${KEYSTONE_RABBITMQ_USER_PASSWORD}"}],"source_content_type":"text/x-yaml","patch_set":71,"id":"3fa0c359_773bf99a","line":300,"range":{"start_line":298,"start_character":0,"end_line":300,"end_character":51},"updated":"2018-02-26 18:47:55.000000000","message":"should this not be the admin username and password, otherwise how does this work?","commit_id":"c5583781f99a3d2c14b3afa7806c8c510a70dc0c"},{"author":{"_account_id":24165,"name":"Renis Makadia","email":"renis.makadia@att.com","username":"renmak"},"change_message_id":"004a844d24a10513480829ef20270f53f9298fd8","unresolved":false,"context_lines":[{"line_number":295,"context_line":"            password: ${KEYSTONE_DB_PASSWORD}"},{"line_number":296,"context_line":"      oslo_messaging:"},{"line_number":297,"context_line":"        auth:"},{"line_number":298,"context_line":"          admin:"},{"line_number":299,"context_line":"            username: keystone-rabbitmq"},{"line_number":300,"context_line":"            password: ${KEYSTONE_RABBITMQ_PASSWORD}"},{"line_number":301,"context_line":"          keystone:"},{"line_number":302,"context_line":"            username: keystone"},{"line_number":303,"context_line":"            password: ${KEYSTONE_RABBITMQ_USER_PASSWORD}"}],"source_content_type":"text/x-yaml","patch_set":71,"id":"3fa0c359_9a190c7b","line":300,"range":{"start_line":298,"start_character":0,"end_line":300,"end_character":51},"in_reply_to":"3fa0c359_773bf99a","updated":"2018-02-26 19:51:46.000000000","message":"Yes this is admin user credentials. Look at line #214 above.","commit_id":"c5583781f99a3d2c14b3afa7806c8c510a70dc0c"},{"author":{"_account_id":24165,"name":"Renis Makadia","email":"renis.makadia@att.com","username":"renmak"},"change_message_id":"eada01785e5b37ae3f6b1ee70ac42fdc7dfecd03","unresolved":false,"context_lines":[{"line_number":295,"context_line":"            password: ${KEYSTONE_DB_PASSWORD}"},{"line_number":296,"context_line":"      oslo_messaging:"},{"line_number":297,"context_line":"        auth:"},{"line_number":298,"context_line":"          admin:"},{"line_number":299,"context_line":"            username: keystone-rabbitmq"},{"line_number":300,"context_line":"            password: ${KEYSTONE_RABBITMQ_PASSWORD}"},{"line_number":301,"context_line":"          keystone:"},{"line_number":302,"context_line":"            username: keystone"},{"line_number":303,"context_line":"            password: ${KEYSTONE_RABBITMQ_USER_PASSWORD}"}],"source_content_type":"text/x-yaml","patch_set":71,"id":"3fa0c359_daaf94e0","line":300,"range":{"start_line":298,"start_character":0,"end_line":300,"end_character":51},"in_reply_to":"3fa0c359_9a190c7b","updated":"2018-02-26 19:55:43.000000000","message":"\u003e Yes this is admin user credentials. Look at line #214 above.\n\nUser listed under keystone: (line #301) will be created during rabbit_init process.","commit_id":"c5583781f99a3d2c14b3afa7806c8c510a70dc0c"},{"author":{"_account_id":23928,"name":"Pete Birley","email":"petebirley@gmail.com","username":"portdirect"},"change_message_id":"86dc868a7cfc4e8b232725abbad6e2118b876991","unresolved":false,"context_lines":[{"line_number":295,"context_line":"            password: ${KEYSTONE_DB_PASSWORD}"},{"line_number":296,"context_line":"      oslo_messaging:"},{"line_number":297,"context_line":"        auth:"},{"line_number":298,"context_line":"          admin:"},{"line_number":299,"context_line":"            username: keystone-rabbitmq"},{"line_number":300,"context_line":"            password: ${KEYSTONE_RABBITMQ_PASSWORD}"},{"line_number":301,"context_line":"          keystone:"},{"line_number":302,"context_line":"            username: keystone"},{"line_number":303,"context_line":"            password: ${KEYSTONE_RABBITMQ_USER_PASSWORD}"}],"source_content_type":"text/x-yaml","patch_set":71,"id":"3fa0c359_7a51a00d","line":300,"range":{"start_line":298,"start_character":0,"end_line":300,"end_character":51},"in_reply_to":"3fa0c359_9a190c7b","updated":"2018-02-26 19:54:27.000000000","message":"got it - nice one - though for clarity, can we name this `keystone-rabbitmq-admin` or similar.","commit_id":"c5583781f99a3d2c14b3afa7806c8c510a70dc0c"}]}
