{"action":"created","issue":{"url":"https://api.github.com/repos/openfaas/faas/issues/799","repository_url":"https://api.github.com/repos/openfaas/faas","labels_url":"https://api.github.com/repos/openfaas/faas/issues/799/labels{/name}","comments_url":"https://api.github.com/repos/openfaas/faas/issues/799/comments","events_url":"https://api.github.com/repos/openfaas/faas/issues/799/events","html_url":"https://github.com/openfaas/faas/issues/799","id":347049384,"node_id":"MDU6SXNzdWUzNDcwNDkzODQ=","number":799,"title":"expending template.yml file","user":{"login":"ArieLevs","id":34907201,"node_id":"MDQ6VXNlcjM0OTA3MjAx","avatar_url":"https://avatars0.githubusercontent.com/u/34907201?v=4","gravatar_id":"","url":"https://api.github.com/users/ArieLevs","html_url":"https://github.com/ArieLevs","followers_url":"https://api.github.com/users/ArieLevs/followers","following_url":"https://api.github.com/users/ArieLevs/following{/other_user}","gists_url":"https://api.github.com/users/ArieLevs/gists{/gist_id}","starred_url":"https://api.github.com/users/ArieLevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArieLevs/subscriptions","organizations_url":"https://api.github.com/users/ArieLevs/orgs","repos_url":"https://api.github.com/users/ArieLevs/repos","events_url":"https://api.github.com/users/ArieLevs/events{/privacy}","received_events_url":"https://api.github.com/users/ArieLevs/received_events","type":"User","site_admin":false},"labels":[{"id":505489875,"node_id":"MDU6TGFiZWw1MDU0ODk4NzU=","url":"https://api.github.com/repos/openfaas/faas/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-08-02T14:56:48Z","updated_at":"2018-08-06T06:45:58Z","closed_at":"2018-08-02T16:57:09Z","author_association":"NONE","body":"\r\nHi,\r\nfunctions are running as pods at openfaas-fn namespace,\r\nbut there is very poor ability to manipulate these pods, does that makes sense to provide ability to mount volumes to a faas framework?\r\n\r\nis there an option to pass Kubernetes secrets as environment vars?\r\n\r\n## Expected Behaviour\r\nAble to use Kubernetes deployment syntax on template.yml\r\nexample 1: \r\nHave the ability to add `volumeMounts` and point it to a `persistentVolumeClaim` in the  template.yml file, does that makes sense on a faas?\r\n\r\nUsing encrypted environment variables\r\nexample 2:\r\nIs there an option to provide environment secrets?\r\n```\r\nsecrets:\r\n    - secret-password <- need to be used as a env var\r\nenvironment:\r\n    write_debug: true\r\n    blabla: \"some value\"\r\n    \r\n```\r\n\r\n## Current Behaviour\r\npoor ability to manipulate containers at openfaas-fn namespace\r\n\r\n## Context\r\nUsing encrypted strings in my functions\r\nProviding my function a local path\r\n\r\n## Your Environment\r\n* Docker version: 17.06.2-ce\r\n* Kubernetes\r\n* Operating System and version: Amazon Linux 2 (2017.12) (EKS Cluster)"},"comment":{"url":"https://api.github.com/repos/openfaas/faas/issues/comments/410605300","html_url":"https://github.com/openfaas/faas/issues/799#issuecomment-410605300","issue_url":"https://api.github.com/repos/openfaas/faas/issues/799","id":410605300,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDYwNTMwMA==","user":{"login":"ArieLevs","id":34907201,"node_id":"MDQ6VXNlcjM0OTA3MjAx","avatar_url":"https://avatars0.githubusercontent.com/u/34907201?v=4","gravatar_id":"","url":"https://api.github.com/users/ArieLevs","html_url":"https://github.com/ArieLevs","followers_url":"https://api.github.com/users/ArieLevs/followers","following_url":"https://api.github.com/users/ArieLevs/following{/other_user}","gists_url":"https://api.github.com/users/ArieLevs/gists{/gist_id}","starred_url":"https://api.github.com/users/ArieLevs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArieLevs/subscriptions","organizations_url":"https://api.github.com/users/ArieLevs/orgs","repos_url":"https://api.github.com/users/ArieLevs/repos","events_url":"https://api.github.com/users/ArieLevs/events{/privacy}","received_events_url":"https://api.github.com/users/ArieLevs/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T06:45:58Z","updated_at":"2018-08-06T06:45:58Z","author_association":"NONE","body":"Hi @alexellis \r\n\r\nWe are currently running a POC with OpenFaaS, Let me check this option, will update."}}
{"actor":{"display_login":"ArieLevs"}}