{"action":"created","issue":{"url":"https://api.github.com/repos/fabric8io/fabric8/issues/6138","repository_url":"https://api.github.com/repos/fabric8io/fabric8","labels_url":"https://api.github.com/repos/fabric8io/fabric8/issues/6138/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/fabric8/issues/6138/comments","events_url":"https://api.github.com/repos/fabric8io/fabric8/issues/6138/events","html_url":"https://github.com/fabric8io/fabric8/issues/6138","id":164042053,"number":6138,"title":"Can't configure ConfigMap as volumes inside pod using kubernetes-generator in openshift v3","user":{"login":"ravishankarhassain","id":4846462,"avatar_url":"https://avatars.githubusercontent.com/u/4846462?v=3","gravatar_id":"","url":"https://api.github.com/users/ravishankarhassain","html_url":"https://github.com/ravishankarhassain","followers_url":"https://api.github.com/users/ravishankarhassain/followers","following_url":"https://api.github.com/users/ravishankarhassain/following{/other_user}","gists_url":"https://api.github.com/users/ravishankarhassain/gists{/gist_id}","starred_url":"https://api.github.com/users/ravishankarhassain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravishankarhassain/subscriptions","organizations_url":"https://api.github.com/users/ravishankarhassain/orgs","repos_url":"https://api.github.com/users/ravishankarhassain/repos","events_url":"https://api.github.com/users/ravishankarhassain/events{/privacy}","received_events_url":"https://api.github.com/users/ravishankarhassain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-06T10:07:41Z","updated_at":"2016-07-06T10:15:57Z","closed_at":null,"body":"Hi All, \r\n\r\nI am new to openshift v3. I am trying to modify the generated kubernetes.json using typesafe kubernetes dsl as per http://blog.christianposta.com/typesafe-kubernetes-dsl-for-yaml-json-generation/ to configure ConfigMap as volumes in pod. Then I executed the cmd mvn clean install docker:build fabric8:json fabric8:apply to build and deploy the app in my local openshift which is running inside cdk. I verified the generated kubernetes.json and it has the correct entries.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4846462/16613202/ecea60f8-4362-11e6-97aa-38d912a79585.png)\r\n\r\nBut when I checked in the openshift console the ReplicationController yaml file doesnt have the proper entires. I have pasted the ReplicationController and the pod yaml files along with the JsonModelProcessor.java in this gist\r\n\r\nhttps://gist.github.com/ravishankarhassain/eccf96585dd8793dd52c0a3eb54619dd\r\n\r\nAm I missing anything ?"},"comment":{"url":"https://api.github.com/repos/fabric8io/fabric8/issues/comments/230733428","html_url":"https://github.com/fabric8io/fabric8/issues/6138#issuecomment-230733428","issue_url":"https://api.github.com/repos/fabric8io/fabric8/issues/6138","id":230733428,"user":{"login":"jstrachan","id":30140,"avatar_url":"https://avatars.githubusercontent.com/u/30140?v=3","gravatar_id":"","url":"https://api.github.com/users/jstrachan","html_url":"https://github.com/jstrachan","followers_url":"https://api.github.com/users/jstrachan/followers","following_url":"https://api.github.com/users/jstrachan/following{/other_user}","gists_url":"https://api.github.com/users/jstrachan/gists{/gist_id}","starred_url":"https://api.github.com/users/jstrachan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstrachan/subscriptions","organizations_url":"https://api.github.com/users/jstrachan/orgs","repos_url":"https://api.github.com/users/jstrachan/repos","events_url":"https://api.github.com/users/jstrachan/events{/privacy}","received_events_url":"https://api.github.com/users/jstrachan/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T10:15:57Z","updated_at":"2016-07-06T10:15:57Z","body":"could you gist the generated json file in `target/classes/kubernetes.json' please?"}}
{"actor":{"display_login":"jstrachan"}}