Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Connect then sync (#54)
Browse files Browse the repository at this point in the history
Version update
  • Loading branch information
Rub& committed Jul 31, 2019
1 parent 87876c9 commit 978e4cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker/files/cli/commands/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ command_remove() {

commands_add "sync:default-hostgroup" "Synchronize the default hostgroup from backends to the cluster"
command_sync:default-hostgroup() {

proxysql_wait_for_admin

newDefaultHostgroup=-1
newDefaultHostgroupCount=-1

Expand Down
2 changes: 1 addition & 1 deletion k8s/proxysql-sync-default-hostgroup.cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
restartPolicy: OnFailure
containers:
- name: proxysql-sync-default-hostgroup
image: "scienta/k8s-proxysql-cluster:1.2.1"
image: "scienta/k8s-proxysql-cluster:1.2.2"
imagePullPolicy: Always
args: ["--sync_default_hostgroup"]

Expand Down

0 comments on commit 978e4cc

Please sign in to comment.