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