-
Notifications
You must be signed in to change notification settings - Fork 6
Conversation
Codecov Report
@@ Coverage Diff @@
## master #42 +/- ##
==========================================
+ Coverage 86.03% 86.44% +0.41%
==========================================
Files 13 13
Lines 580 583 +3
==========================================
+ Hits 499 504 +5
+ Misses 54 53 -1
+ Partials 27 26 -1
Continue to review full report at Codecov.
|
replace the master server URL for docker desktop from localhost to host.docker.internal so that it can be discovered from within the container executing CNAB install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This level of sniffing and hacking will be very fragile. I'd rather we didn't sniff anything and instead expose the knobs necessary for a user to target the environment via documentation for their environment.
How does the CNAB community manage k8s configurations? I have to imagine the Docker folks have solved this.
I tried to come up with instructions first, but there is no good way to simplify the steps. The problem is outlined here: #39 (comment)
Then repeat the same steps for uninstall. Also, if the user has If the user misses any of the steps outlined, they are going to have problems installing OR running kubectl after install. I feel that the above prescriptive flow for our users is more brittle than us trying to patch kubeconfig. |
Yea, we don't want users to manually edit the kube config. We can do better by either:
We can figure out what the right balance of config options. |
Another option, run the invocation image inside the k8s cluster. This way we don’t need a local docker daemon. |
I'm investigating this. |
docker-app patches the kube config for docker desktop when creating a CNAB from a docker application package. However, they hit the same problem as duffle when using an CNAB which has not undergone this patching. |
We now run the invocationImage in cluster, hence this is not longer applicable. |
replaces #37 by fixing unit test failures.
Also, replace the master server URL for docker desktop from localhost to host.docker.internal
so that it can be discovered from within the container executing CNAB install
closes #39.