{"action":"opened","issue":{"url":"https://api.github.com/repos/serverless/serverless-kubeless/issues/152","repository_url":"https://api.github.com/repos/serverless/serverless-kubeless","labels_url":"https://api.github.com/repos/serverless/serverless-kubeless/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless-kubeless/issues/152/comments","events_url":"https://api.github.com/repos/serverless/serverless-kubeless/issues/152/events","html_url":"https://github.com/serverless/serverless-kubeless/issues/152","id":365658300,"node_id":"MDU6SXNzdWUzNjU2NTgzMDA=","number":152,"title":"Unable to get serverless working on aks","user":{"login":"posix4e","id":806363,"node_id":"MDQ6VXNlcjgwNjM2Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/806363?v=4","gravatar_id":"","url":"https://api.github.com/users/posix4e","html_url":"https://github.com/posix4e","followers_url":"https://api.github.com/users/posix4e/followers","following_url":"https://api.github.com/users/posix4e/following{/other_user}","gists_url":"https://api.github.com/users/posix4e/gists{/gist_id}","starred_url":"https://api.github.com/users/posix4e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posix4e/subscriptions","organizations_url":"https://api.github.com/users/posix4e/orgs","repos_url":"https://api.github.com/users/posix4e/repos","events_url":"https://api.github.com/users/posix4e/events{/privacy}","received_events_url":"https://api.github.com/users/posix4e/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-01T21:53:24Z","updated_at":"2018-10-01T21:53:24Z","closed_at":null,"author_association":"NONE","body":"By default you don't have permission for my config map even though my kubectl config is properly configured.\r\n```\r\nserverless deploy -v\r\n\r\n/home/posix4e/src/serverlesstest/node_modules/serverless-kubeless/lib/config.js:56\r\n      return JSON.parse(this.configMag.data[key]);\r\n                                           ^\r\nTypeError: Cannot read property 'runtime-images' of undefined\r\n    at Config.get (/home/posix4e/src/serverlesstest/node_modules/serverless-kubeless/lib/config.js:56:44)\r\n    at Object.getRuntimeDepfile (/home/posix4e/src/serverlesstest/node_modules/serverless-kubeless/lib/helpers.js:182:34)\r\n    at ReadStream.s.on (/home/posix4e/src/serverlesstest/node_modules/serverless-kubeless/deploy/kubelessDeploy.js:103:39)\r\n    at ReadStream.emit (events.js:187:15)\r\n    at ReadStream.EventEmitter.emit (domain.js:442:20)\r\n    at endReadableNT (_stream_readable.js:1092:12)\r\n    at process._tickCallback (internal/process/next_tick.js:63:19)\r\n```\r\n\r\nWhen I run kubectl proxy and hard code the CM to localhost I get\r\n```\r\n-----------------------------------\r\n \r\nError: Found errors while processing the given functions:\r\nError: Unable to update the function hello. Received:\r\n  Code: 403\r\n  Message: functions.kubeless.io \"hello\" is forbidden: User \"clusterUser\" cannot patch functions.kubeless.io in the namespace \"default\"\r\n    at Object.checkFinished (/home/posix4e/src/serverlesstest/node_modules/serverless-kubeless/lib/helpers.js:209:14)\r\n    at deployFunction.catch.then (/home/posix4e/src/serverlesstest/node_modules/serverless-kubeless/lib/deploy.js:479:21)\r\nFrom previous event:\r\n    at PluginManager.invoke (/home/posix4e/.nvm/versions/node/v10.10.0/lib/node_modules/serverless/lib/classes/PluginManager.js:390:22)\r\n    at PluginManager.run (/home/posix4e/.nvm/versions/node/v10.10.0/lib/node_modules/serverless/lib/classes/PluginManager.js:421:17)\r\n    at variables.populateService.then.then (/home/posix4e/.nvm/versions/node/v10.10.0/lib/node_modules/serverless/lib/Serverless.js:157:33)\r\n    at runCallback (timers.js:694:18)\r\n    at tryOnImmediate (timers.js:665:5)\r\n    at processImmediate (timers.js:647:5)\r\n    at process.topLevelDomainCallback (domain.js:121:23)\r\nFrom previous event:\r\n    at Serverless.run (/home/posix4e/.nvm/versions/node/v10.10.0/lib/node_modules/serverless/lib/Serverless.js:144:8)\r\n    at serverless.init.then (/home/posix4e/.nvm/versions/node/v10.10.0/lib/node_modules/serverless/bin/serverless:43:50)\r\n \r\n```"}}
{"actor":{"display_login":"posix4e"}}