{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/charts/issues/5088","repository_url":"https://api.github.com/repos/kubernetes/charts","labels_url":"https://api.github.com/repos/kubernetes/charts/issues/5088/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/charts/issues/5088/comments","events_url":"https://api.github.com/repos/kubernetes/charts/issues/5088/events","html_url":"https://github.com/kubernetes/charts/issues/5088","id":315141779,"number":5088,"title":"[stable/kube2iam] Support extra container environment variables, required for HTTP proxy","user":{"login":"ewbankkit","id":2404182,"avatar_url":"https://avatars3.githubusercontent.com/u/2404182?v=4","gravatar_id":"","url":"https://api.github.com/users/ewbankkit","html_url":"https://github.com/ewbankkit","followers_url":"https://api.github.com/users/ewbankkit/followers","following_url":"https://api.github.com/users/ewbankkit/following{/other_user}","gists_url":"https://api.github.com/users/ewbankkit/gists{/gist_id}","starred_url":"https://api.github.com/users/ewbankkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewbankkit/subscriptions","organizations_url":"https://api.github.com/users/ewbankkit/orgs","repos_url":"https://api.github.com/users/ewbankkit/repos","events_url":"https://api.github.com/users/ewbankkit/events{/privacy}","received_events_url":"https://api.github.com/users/ewbankkit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-17T16:38:17Z","updated_at":"2018-04-17T16:38:17Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing an issue! Before hitting the button, please answer these questions. It's helpful to search the existing GitHub issues first. It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware of-->\r\n\r\n**Is this a request for help?**: \r\nNo\r\n---\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?** (choose one):\r\nFEATURE REQUEST\r\n<!--\r\nIf this is a BUG REPORT, please:\r\n  - Fill in as much of the template below as you can.  If you leave out\r\n    information, we can't help you as well.\r\n\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Version of Helm and Kubernetes**:\r\n`kubectl version`\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.0\", GitCommit:\"fc32d2f3698e36b93322a3465f63a14e9f0eaead\", GitTreeState:\"clean\", BuildDate:\"2018-03-26T16:55:54Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"9+\", GitVersion:\"v1.9.2-eks.1\", GitCommit:\"e6c42d312ce5a80461ce10e6543e8fe0346bf065\", GitTreeState:\"clean\", BuildDate:\"2018-02-13T22:26:33Z\", GoVersion:\"go1.9.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n`helm version`\r\n```\r\nClient: &version.Version{SemVer:\"v2.9.0-rc3\", GitCommit:\"60abcdca41f544caaecb224acbfb92aee11e1f6e\", GitTreeState:\"clean\"}\r\nServer: &version.Version{SemVer:\"v2.9.0-rc3\", GitCommit:\"60abcdca41f544caaecb224acbfb92aee11e1f6e\", GitTreeState:\"clean\"}\r\n```\r\n\r\n**Which chart**:\r\nstable/kube2iam\r\n\r\n**What happened**:\r\nCommunication from kube2iam to the AWS STS/IAM APIs needs to be routed via an HTTP proxy.\r\nThis is usually done by setting the `HTTP_PROXY` environment variable for a container but the kube2iam chart does not allow container environment variables to be set so the API call times out:\r\n```\r\ntime=\"2018-04-16T20:45:08Z\" level=error msg=\"Error assuming role RequestError: send request failed\\ncaused by: Post https://sts.amazonaws.com/: dial tcp 54.239.29.25:443: i/o timeout\" ns.name=default pod.iam.role=\"arn:aws:iam::1111111111111:role/RRRRRRRR\" req.method=GET req.path=\"/latest/meta-data/iam/security-credentials/arn:aws:iam::1111111111111:role/RRRRRRRR\" req.remote=x.x.x.x\r\n```\r\n\r\n**What you expected to happen**:\r\nI expect to be able to specify additional environment variables for the container in the `values.yaml` or equivalent.\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\n\r\n\r\n**Anything else we need to know**:\r\n"}}
{"actor":{"display_login":"ewbankkit"}}