Skip to content

Commit

Permalink
set default zookeeper image to latest
Browse files Browse the repository at this point in the history
Signed-off-by: pbelgundi <[email protected]>
  • Loading branch information
pbelgundi committed Oct 9, 2019
1 parent 2c9d271 commit 0df1c39
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- '1.10'
- '1.12'
- tip
sudo: required
env:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.10.1-alpine3.7 as go-builder
FROM golang:1.12.10-alpine3.10 as go-builder

ARG PROJECT_NAME=zookeeper-operator
ARG REPO_PATH=github.com/pravega/$PROJECT_NAME
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ $ kubectl delete -f deploy/all_ns
### Build the operator image

Requirements:
- Go 1.10+
- Go 1.12+

Use the `make` command to build the Zookeeper operator image.

Expand All @@ -157,7 +157,7 @@ REPOSITORY TAG IMAGE ID CREATED S
pravega/zookeeper-operator 0.1.1-3-dirty 2b2d5bcbedf5 10 minutes ago 41.7MB
pravega/zookeeper-operator latest 2b2d5bcbedf5 10 minutes ago 41.7MB
pravega/zookeeper-operator latest 2b2d5bcbedf5 10 minutes ago 41.7MB
```
Optionally push it to a Docker registry.
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/zookeeper/v1beta1/zookeepercluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package v1beta1
import (
"fmt"

"k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand All @@ -25,7 +25,7 @@ const (

// DefaultZkContainerVersion is the default tag used for for the zookeeper
// container
DefaultZkContainerVersion = "0.2.3"
DefaultZkContainerVersion = "latest"

// DefaultZkContainerPolicy is the default container pull policy used
DefaultZkContainerPolicy = "Always"
Expand Down

0 comments on commit 0df1c39

Please sign in to comment.