1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Various fixes

This commit is contained in:
Ewout Prangsma 2018-02-09 15:46:14 +01:00
parent 2f65d873d1
commit d3359f79cf
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698
4 changed files with 7 additions and 2 deletions

View file

@ -43,6 +43,10 @@ SOURCES := $(shell find $(SRCDIR) -name '*.go' -not -path './test/*')
all: verify-generated docker
#
# Tip: Run `eval $(minikube docker-env)` before calling make if you're developing on minikube.
#
build: docker
clean:

View file

@ -11,6 +11,7 @@ spec:
spec:
containers:
- name: arangodb-operator
imagePullPolicy: IfNotPresent
image: arangodb/arangodb-operator:latest
env:
- name: MY_POD_NAMESPACE

View file

@ -121,7 +121,7 @@ func cmdMainRun(cmd *cobra.Command, args []string) {
rl, err := resourcelock.New(resourcelock.EndpointsResourceLock,
namespace,
"arangodb_operator",
"arangodb-operator",
kubecli.CoreV1(),
resourcelock.ResourceLockConfig{
Identity: id,

View file

@ -58,7 +58,7 @@ type loggingService struct {
// NewRootLogger creates a new zerolog logger with default settings.
func NewRootLogger() zerolog.Logger {
return zerolog.New(os.Stdout).With().Timestamp().Logger()
return zerolog.New(zerolog.ConsoleWriter{Out: os.Stdout}).With().Timestamp().Logger()
}
// NewService creates a new Service.