Debugging
This commit is contained in:
parent
5e3262a62c
commit
316b81f790
@ -2,6 +2,7 @@ package kubernetes
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/micro/go-micro/v2/logger"
|
||||
@ -40,6 +41,7 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
|
||||
|
||||
// set the image pull secrets
|
||||
kdeploy.Spec.Template.PodSpec.ImagePullSecrets = c.ImagePullSecrets
|
||||
fmt.Printf("Setting ImagePullSecrets to %v\n", strings.Join(c.ImagePullSecrets, ", "))
|
||||
|
||||
// create if non existent
|
||||
if s.Metadata == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user