[Dev] [AF] Best way of creating Kubernetes API configuration from Fabric8 client in production environment

2015-12-07 Thread Lahiru Manohara
Hi All, In development environment, We have been using default Kubernetes API configuration of the Fabric8 client. But in production environment, We have to config those properties in cloud environment easily. The Fabric8 client has a object called Config and constructor has following

Re: [Dev] [AF] Best way of creating Kubernetes API configuration from Fabric8 client in production environment

2015-12-07 Thread Danushka Fernando
Cant we use kind of interfacing? Like mention a class name in a configuration and somewhere create an object of the class we mentioned. In that way we can get rid of the if AFAIU. WDYT? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729