compose2kube
compose2kube copied to clipboard
Don't use env vars for namespace
Current getting the following issue on master:
Error from server: error when creating "output/cache-rc.yml": namespaces "${NAMESPACE}" not found
Error from server: error when creating "output/cache-srv.yml": namespaces "${NAMESPACE}" not found
Error from server: error when creating "output/database-rc.yml": namespaces "${NAMESPACE}" not found
Error from server: error when creating "output/database-srv.yml": namespaces "${NAMESPACE}" not found
Error from server: error when creating "output/web-rc.yml": namespaces "${NAMESPACE}" not found
Error from server: error when creating "output/web-srv.yml": namespaces "${NAMESPACE}" not found
same here. Whats the plan? What if to set namespace via flag or env variable? Or wait for templates in 1.4 ? (https://github.com/kubernetes/kubernetes/blob/release-1.4/docs/proposals/templates.md)
For now i'm just replacing env vars with statics, is there a k8s friendly way to source vars from the env without config maps?
Submitted PR https://github.com/kelseyhightower/compose2kube/pull/40 to work around this for now.
I just hit this problem as well.
Same issue
Is this project still active?
+1, ran into this, a word on activity would be helpful.
Edit: did see this https://github.com/kubernetes-incubator/kompose