Debug
This commit is contained in:
parent
9983aea928
commit
243c6a4246
@ -2,6 +2,7 @@ package kubernetes
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@ -34,6 +35,7 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
|
|||||||
kservice := client.NewService(name, version, c.Type)
|
kservice := client.NewService(name, version, c.Type)
|
||||||
kdeploy := client.NewDeployment(name, version, c.Type)
|
kdeploy := client.NewDeployment(name, version, c.Type)
|
||||||
|
|
||||||
|
fmt.Printf("Source is %v", s.Source)
|
||||||
if len(s.Source) > 0 {
|
if len(s.Source) > 0 {
|
||||||
for _, c := range kdeploy.Spec.Template.PodSpec.Containers {
|
for _, c := range kdeploy.Spec.Template.PodSpec.Containers {
|
||||||
c.Image = s.Source
|
c.Image = s.Source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user