{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/almvm/issues/109","repository_url":"https://api.github.com/repos/Microsoft/almvm","labels_url":"https://api.github.com/repos/Microsoft/almvm/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/almvm/issues/109/comments","events_url":"https://api.github.com/repos/Microsoft/almvm/issues/109/events","html_url":"https://github.com/Microsoft/almvm/issues/109","id":352536646,"node_id":"MDU6SXNzdWUzNTI1MzY2NDY=","number":109,"title":"AKS lab: no imagePullSecrets in mhc-aks.yaml","user":{"login":"erjosito","id":9462396,"node_id":"MDQ6VXNlcjk0NjIzOTY=","avatar_url":"https://avatars2.githubusercontent.com/u/9462396?v=4","gravatar_id":"","url":"https://api.github.com/users/erjosito","html_url":"https://github.com/erjosito","followers_url":"https://api.github.com/users/erjosito/followers","following_url":"https://api.github.com/users/erjosito/following{/other_user}","gists_url":"https://api.github.com/users/erjosito/gists{/gist_id}","starred_url":"https://api.github.com/users/erjosito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjosito/subscriptions","organizations_url":"https://api.github.com/users/erjosito/orgs","repos_url":"https://api.github.com/users/erjosito/repos","events_url":"https://api.github.com/users/erjosito/events{/privacy}","received_events_url":"https://api.github.com/users/erjosito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-21T13:24:47Z","updated_at":"2018-08-22T08:05:49Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nI am trying the AKS lab, but the frontend container image could not be downloaded. The pod mhc-front-xxxx would end up in ImagePullBackOff status. \r\n\r\n```\r\nIn the pod events I found the error:\r\nFailed to pull image \"myacr.azurecr.io/myhealth.web:95\": rpc error: code = Unknown desc = Error response from daemon: Get https://myacr.azurecr.io/v2/myhealth.web/manifests/95: unauthorized: authentication required\r\n```\r\n\r\nIt looks like it is trying to pull the image without authenticating. I looked in the deployment description (`kubectl get deploy/mhc-front -o yaml`), and no imagePullSecrets are specified, although the secret (named mysecretkey per default) is correctly created.\r\n\r\nAdding these lines to `mhc-aks.yaml` fixed it (although now I have a CrashLoopBackOff situation, but at least the image is successfully downloaded, so probably not related)\r\n\r\n```\r\n      imagePullSecrets:\r\n      - name: mysecretkey\r\n```\r\nLet me know if you want a PR with the fix.\r\n\r\nCheers,\r\nJose"},"comment":{"url":"https://api.github.com/repos/Microsoft/almvm/issues/comments/414948232","html_url":"https://github.com/Microsoft/almvm/issues/109#issuecomment-414948232","issue_url":"https://api.github.com/repos/Microsoft/almvm/issues/109","id":414948232,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDk0ODIzMg==","user":{"login":"sriramdasbalaji","id":13716984,"node_id":"MDQ6VXNlcjEzNzE2OTg0","avatar_url":"https://avatars1.githubusercontent.com/u/13716984?v=4","gravatar_id":"","url":"https://api.github.com/users/sriramdasbalaji","html_url":"https://github.com/sriramdasbalaji","followers_url":"https://api.github.com/users/sriramdasbalaji/followers","following_url":"https://api.github.com/users/sriramdasbalaji/following{/other_user}","gists_url":"https://api.github.com/users/sriramdasbalaji/gists{/gist_id}","starred_url":"https://api.github.com/users/sriramdasbalaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriramdasbalaji/subscriptions","organizations_url":"https://api.github.com/users/sriramdasbalaji/orgs","repos_url":"https://api.github.com/users/sriramdasbalaji/repos","events_url":"https://api.github.com/users/sriramdasbalaji/events{/privacy}","received_events_url":"https://api.github.com/users/sriramdasbalaji/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T08:05:49Z","updated_at":"2018-08-22T08:05:49Z","author_association":"COLLABORATOR","body":"Hi Jose,\r\n\r\nCould you please let us know how did you get the Service Principal details when you created Azure resources (https://almvm.azurewebsites.net/labs/vstsextend/kubernetes/#setting-up-the-environment )\r\n\r\nThanks\r\nBalaji"}}
{"actor":{"display_login":"sriramdasbalaji"}}