{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/helm/issues/3456","repository_url":"https://api.github.com/repos/kubernetes/helm","labels_url":"https://api.github.com/repos/kubernetes/helm/issues/3456/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/helm/issues/3456/comments","events_url":"https://api.github.com/repos/kubernetes/helm/issues/3456/events","html_url":"https://github.com/kubernetes/helm/issues/3456","id":294423318,"node_id":"MDU6SXNzdWUyOTQ0MjMzMTg=","number":3456,"title":"Error: unknown flag: --tls","user":{"login":"erwbgy","id":51121,"node_id":"MDQ6VXNlcjUxMTIx","avatar_url":"https://avatars0.githubusercontent.com/u/51121?v=4","gravatar_id":"","url":"https://api.github.com/users/erwbgy","html_url":"https://github.com/erwbgy","followers_url":"https://api.github.com/users/erwbgy/followers","following_url":"https://api.github.com/users/erwbgy/following{/other_user}","gists_url":"https://api.github.com/users/erwbgy/gists{/gist_id}","starred_url":"https://api.github.com/users/erwbgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwbgy/subscriptions","organizations_url":"https://api.github.com/users/erwbgy/orgs","repos_url":"https://api.github.com/users/erwbgy/repos","events_url":"https://api.github.com/users/erwbgy/events{/privacy}","received_events_url":"https://api.github.com/users/erwbgy/received_events","type":"User","site_admin":false},"labels":[{"id":562687520,"node_id":"MDU6TGFiZWw1NjI2ODc1MjA=","url":"https://api.github.com/repos/kubernetes/helm/labels/feature","name":"feature","color":"0052cc","default":false},{"id":778129496,"node_id":"MDU6TGFiZWw3NzgxMjk0OTY=","url":"https://api.github.com/repos/kubernetes/helm/labels/lifecycle/stale","name":"lifecycle/stale","color":"795548","default":false},{"id":427152958,"node_id":"MDU6TGFiZWw0MjcxNTI5NTg=","url":"https://api.github.com/repos/kubernetes/helm/labels/starter","name":"starter","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-05T15:02:08Z","updated_at":"2018-06-02T08:38:12Z","closed_at":null,"author_association":"NONE","body":"Including the TLS command-line options on every call is tedious so I created a wrapper script that does:\r\n\r\n    #!/bin/bash\r\n    exec helm \\\r\n      --tls \\\r\n      --tls-verify \\\r\n      --tls-ca-cert=/path/to/ca.pem \\\r\n      --tls-cert=/path/to/cert.pem \\\r\n      --tls-key=/path/to/key.pem \\\r\n      \"$@\"\r\n \r\nThis works fine for commands like \"helm ls\" or \"helm install\" that communicate with Tiller but fails with *Error: unknown flag: --tls* with \"helm\", \"helm search\" or \"helm repo list\" for those that don't.  \r\n\r\nCould this be changed to that these command-line options are allowed for all helm commands, but are ignored  when not communicating with Tiller?\r\n\r\nAnother alternative would be to add support for for a TILLER_TLS_* environment variables that are used like HELM_HOST or TILLER_NAMESPACE.  Then we could set the environment variables:\r\n\r\n    export HELM_TLS_ENABLE=true\r\n    export HELM_TLS_VERIFY=true\r\n    export HELM_TLS_CA_CERT=/path/to/ca.pem\r\n    export HELM_TLS_CERT=/path/to/cert.pem\r\n    export HELM_TLS_KEY=/path/to/key.pem\r\n\r\nand all helm commands would work without lots of command-line options.  Perhaps doing both would make sense.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/kubernetes/helm/issues/comments/394070347","html_url":"https://github.com/kubernetes/helm/issues/3456#issuecomment-394070347","issue_url":"https://api.github.com/repos/kubernetes/helm/issues/3456","id":394070347,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDA3MDM0Nw==","user":{"login":"erwbgy","id":51121,"node_id":"MDQ6VXNlcjUxMTIx","avatar_url":"https://avatars0.githubusercontent.com/u/51121?v=4","gravatar_id":"","url":"https://api.github.com/users/erwbgy","html_url":"https://github.com/erwbgy","followers_url":"https://api.github.com/users/erwbgy/followers","following_url":"https://api.github.com/users/erwbgy/following{/other_user}","gists_url":"https://api.github.com/users/erwbgy/gists{/gist_id}","starred_url":"https://api.github.com/users/erwbgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwbgy/subscriptions","organizations_url":"https://api.github.com/users/erwbgy/orgs","repos_url":"https://api.github.com/users/erwbgy/repos","events_url":"https://api.github.com/users/erwbgy/events{/privacy}","received_events_url":"https://api.github.com/users/erwbgy/received_events","type":"User","site_admin":false},"created_at":"2018-06-02T08:38:12Z","updated_at":"2018-06-02T08:38:12Z","author_association":"NONE","body":"/remove-lifecycle stale"}}
{"actor":{"display_login":"erwbgy"}}