1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-10 21:52:01 +02:00

Runtime custom docker img (#1168)

* Add DeploymentOptions to K8s Client

* WithBaseImage for  Runtime

* Revert Change

* Fix sequencing
This commit is contained in:
ben-toogood
2020-02-06 08:52:25 +00:00
committed by GitHub
parent a44dc90d45
commit d8110b70a3
4 changed files with 42 additions and 4 deletions

View File

@@ -343,7 +343,8 @@ func (k *kubernetes) Delete(s *runtime.Service) error {
// create new kubernetes micro service
service := newService(s, runtime.CreateOptions{
Type: k.options.Type,
Type: k.options.Type,
BaseImage: k.options.Source,
})
return service.Stop(k.client)