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:
parent
2f65d873d1
commit
d3359f79cf
4 changed files with 7 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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:
|
||||
|
|
|
@ -11,6 +11,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: arangodb-operator
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: arangodb/arangodb-operator:latest
|
||||
env:
|
||||
- name: MY_POD_NAMESPACE
|
||||
|
|
2
main.go
2
main.go
|
@ -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,
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue