)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":28719,"name":"Phil Sphicas","email":"phil.sphicas@att.com","username":"ps3910"},"change_message_id":"cd99fd05a8acc8eb1a2524432c9f69a57c502e78","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"e3203523_dcc567a3","updated":"2021-11-02 07:24:55.000000000","message":"(For the author of the PS being reverted ..):\n\nNot sure exactly what the requirement was or why the ks-user job in particular needs to have the security context applied, but it may be easier to use the existing snippets, maybe something like:\n\n  spec:\n    template:\n      spec:\n        ...\n  {{ dict \"envAll\" $envAll \"application\" \"ks_user\" | include \"helm-toolkit.snippets.kubernetes_pod_security_context\" | indent 6 }}\n        ...\n        containers:\n          - name: ks-user\n            ...\n  {{ dict \"envAll\" $envAll \"application\" \"ks_user\" \"container\" \"ks_user\" | include \"helm-toolkit.snippets.kubernetes_container_security_context\" | indent 10 }}\n\n\nTo apply the security context:\n\n  pod:\n    security_context:\n      ks_user:\n        pod:\n          runAsUser: 1234\n        container:\n          ks_user:\n            runAsUser: 4321\n            readOnlyRootFileystem: false\n            ...\n","commit_id":"55e7706f7e8760603efe0409c3458ef52a8ed0cb"},{"author":{"_account_id":21420,"name":"Gage Hugo","email":"gagehugo@gmail.com","username":"ghugo"},"change_message_id":"f4838554f5aa94c27d262d2eed1a9a25f071cfd8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"6c6c38c2_848e48f4","updated":"2021-11-01 22:35:28.000000000","message":"We should setup a linter in osh-infra that runs against osh when someone touches helm-toolkit.","commit_id":"55e7706f7e8760603efe0409c3458ef52a8ed0cb"}],"helm-toolkit/templates/manifests/_job-ks-user.yaml.tpl":[{"author":{"_account_id":28719,"name":"Phil Sphicas","email":"phil.sphicas@att.com","username":"ps3910"},"change_message_id":"cd99fd05a8acc8eb1a2524432c9f69a57c502e78","unresolved":true,"context_lines":[{"line_number":71,"context_line":"    spec:"},{"line_number":72,"context_line":"      serviceAccountName: {{ $serviceAccountName | quote }}"},{"line_number":73,"context_line":"      restartPolicy: {{ $restartPolicy }}"},{"line_number":74,"context_line":"      nodeSelector:"},{"line_number":75,"context_line":"{{ toYaml $nodeSelector | indent 8 }}"},{"line_number":76,"context_line":"      initContainers:"},{"line_number":77,"context_line":"{{ tuple $envAll \"ks_user\" list | include \"helm-toolkit.snippets.kubernetes_entrypoint_init_container\" | indent 8 }}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"7d7b91ce_b80535d4","line":74,"updated":"2021-11-02 07:24:55.000000000","message":"Add this to the pod:\n\n  {{ dict \"envAll\" $envAll \"application\" \"ks_user\" | include \"helm-toolkit.snippets.kubernetes_pod_security_context\" | indent 6 }}","commit_id":"55e7706f7e8760603efe0409c3458ef52a8ed0cb"},{"author":{"_account_id":28719,"name":"Phil Sphicas","email":"phil.sphicas@att.com","username":"ps3910"},"change_message_id":"a660ff9bf8be9b4a3fd6439a43a68b3b7ab76573","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    spec:"},{"line_number":72,"context_line":"      serviceAccountName: {{ $serviceAccountName | quote }}"},{"line_number":73,"context_line":"      restartPolicy: {{ $restartPolicy }}"},{"line_number":74,"context_line":"      nodeSelector:"},{"line_number":75,"context_line":"{{ toYaml $nodeSelector | indent 8 }}"},{"line_number":76,"context_line":"      initContainers:"},{"line_number":77,"context_line":"{{ tuple $envAll \"ks_user\" list | include \"helm-toolkit.snippets.kubernetes_entrypoint_init_container\" | indent 8 }}"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"1001d794_b179a1a7","line":74,"in_reply_to":"7d7b91ce_b80535d4","updated":"2021-11-02 07:25:50.000000000","message":"Done","commit_id":"55e7706f7e8760603efe0409c3458ef52a8ed0cb"},{"author":{"_account_id":28719,"name":"Phil Sphicas","email":"phil.sphicas@att.com","username":"ps3910"},"change_message_id":"cd99fd05a8acc8eb1a2524432c9f69a57c502e78","unresolved":true,"context_lines":[{"line_number":77,"context_line":"{{ tuple $envAll \"ks_user\" list | include \"helm-toolkit.snippets.kubernetes_entrypoint_init_container\" | indent 8 }}"},{"line_number":78,"context_line":"      containers:"},{"line_number":79,"context_line":"        - name: ks-user"},{"line_number":80,"context_line":"          image: {{ $envAll.Values.images.tags.ks_user }}"},{"line_number":81,"context_line":"          imagePullPolicy: {{ $envAll.Values.images.pull_policy }}"},{"line_number":82,"context_line":"{{ tuple $envAll $envAll.Values.pod.resources.jobs.ks_user | include \"helm-toolkit.snippets.kubernetes_resources\" | indent 10 }}"},{"line_number":83,"context_line":"          command:"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"71cd6854_95358356","line":80,"updated":"2021-11-02 07:24:55.000000000","message":"Add this to the ks-user container:\n\n  {{ dict \"envAll\" $envAll \"application\" \"ks_user\" \"container\" \"ks_user\" | include \"helm-toolkit.snippets.kubernetes_container_security_context\" | indent 10 }}","commit_id":"55e7706f7e8760603efe0409c3458ef52a8ed0cb"},{"author":{"_account_id":28719,"name":"Phil Sphicas","email":"phil.sphicas@att.com","username":"ps3910"},"change_message_id":"a660ff9bf8be9b4a3fd6439a43a68b3b7ab76573","unresolved":false,"context_lines":[{"line_number":77,"context_line":"{{ tuple $envAll \"ks_user\" list | include \"helm-toolkit.snippets.kubernetes_entrypoint_init_container\" | indent 8 }}"},{"line_number":78,"context_line":"      containers:"},{"line_number":79,"context_line":"        - name: ks-user"},{"line_number":80,"context_line":"          image: {{ $envAll.Values.images.tags.ks_user }}"},{"line_number":81,"context_line":"          imagePullPolicy: {{ $envAll.Values.images.pull_policy }}"},{"line_number":82,"context_line":"{{ tuple $envAll $envAll.Values.pod.resources.jobs.ks_user | include \"helm-toolkit.snippets.kubernetes_resources\" | indent 10 }}"},{"line_number":83,"context_line":"          command:"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"1267c28f_39339ba5","line":80,"in_reply_to":"71cd6854_95358356","updated":"2021-11-02 07:25:50.000000000","message":"Done","commit_id":"55e7706f7e8760603efe0409c3458ef52a8ed0cb"}]}
