Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update zookeeper-operator defaults for zookeeper image. #8

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ crds: ## Generate CRDs

# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
deploy: manifests kustomize
cd config/manager && $(KUSTOMIZE) edit set image pravega/zookeeper-operator=$(TEST_IMAGE)
cd config/manager && $(KUSTOMIZE) edit set image ghcr.io/mesosphere/zookeeper-operator=$(TEST_IMAGE)
$(KUSTOMIZE) build config/default | kubectl apply -f -

# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
Expand Down
4 changes: 2 additions & 2 deletions api/v1beta1/zookeepercluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import (
const (
// DefaultZkContainerRepository is the default docker repo for the zookeeper
// container
DefaultZkContainerRepository = "pravega/zookeeper"
DefaultZkContainerRepository = "ghcr.io/mesosphere/zookeeper"

// DefaultZkContainerVersion is the default tag used for for the zookeeper
// container
DefaultZkContainerVersion = "0.2.15"
DefaultZkContainerVersion = "0.2.15-d2iq"

// DefaultZkContainerPolicy is the default container pull policy used
DefaultZkContainerPolicy = "Always"
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/zookeepercluster_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var _ = Describe("ZookeeperCluster Types", func() {
})

It("Checking tostring() function", func() {
Ω(z.Spec.Image.ToString()).To(Equal("pravega/zookeeper:0.2.15"))
Ω(z.Spec.Image.ToString()).To(Equal("ghcr.io/mesosphere/zookeeper:0.2.15-d2iq"))
})

})
Expand Down
4 changes: 2 additions & 2 deletions charts/zookeeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ replicas: 3
maxUnavailableReplicas:

image:
repository: pravega/zookeeper
tag: 0.2.15
repository: ghcr.io/mesosphere/zookeeper
tag: 0.2.15-d2iq
pullPolicy: IfNotPresent

triggerRollingRestart: false
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
containers:
- name: zookeeper-operator
# Replace this with the built image name
image: pravega/zookeeper-operator:0.2.15
image: ghcr.io/mesosphere/zookeeper-operator:0.2.15-d2iq
ports:
- containerPort: 60000
name: metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
spec:
replicas: 3
image:
repository: pravega/zookeeper
tag: 0.2.15
repository: ghcr.io/mesosphere/zookeeper
tag: 0.2.15-d2iq
storageType: persistence
persistence:
reclaimPolicy: Retain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
spec:
replicas: 3
image:
repository: pravega/zookeeper
tag: 0.2.15
repository: ghcr.io/mesosphere/zookeeper
tag: 0.2.15-d2iq
storageType: persistence
persistence:
reclaimPolicy: Delete
Expand Down
Loading