Remove debugging
This commit is contained in:
parent
020476614c
commit
88176dca53
@ -350,7 +350,6 @@ func (k *kubeStream) Stop() error {
|
||||
|
||||
// Creates a service
|
||||
func (k *kubernetes) Create(s *runtime.Service, opts ...runtime.CreateOption) error {
|
||||
fmt.Println("KUBECTL CREATE")
|
||||
k.Lock()
|
||||
defer k.Unlock()
|
||||
|
||||
|
@ -2,7 +2,6 @@ package kubernetes
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/micro/go-micro/v2/logger"
|
||||
@ -27,8 +26,6 @@ func parseError(err error) *api.Status {
|
||||
}
|
||||
|
||||
func newService(s *runtime.Service, c runtime.CreateOptions) *service {
|
||||
fmt.Println("KUBECTL newService")
|
||||
|
||||
// use pre-formatted name/version
|
||||
name := client.Format(s.Name)
|
||||
version := client.Format(s.Version)
|
||||
@ -43,7 +40,6 @@ 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…
x
Reference in New Issue
Block a user