File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 66 image :
77 imagePullPolicy : Always
88 updateStrategy : SmartUpdate
9+ tls :
10+ mode : preferTLS
911 backup :
1012 enabled : true
1113 image : perconalab/percona-server-mongodb-operator:1.1.0-backup
Original file line number Diff line number Diff line change @@ -81,16 +81,14 @@ echo "Find after restore: $count_no_auth_restored"
8181
8282desc ' enable authentication'
8383kubectl_bin apply -f " $conf_dir /secrets.yml"
84- apply_cluster " $test_dir /conf/cluster-with-auth.yml"
8584
86- desc ' wait for cluster to restart with auth enabled'
87- wait_for_running $cluster -rs0 3
88- wait_for_running $cluster -rs1 3
89- wait_for_running $cluster -rs2 3
90- wait_for_running $cluster -cfg 3 " false"
91- wait_for_running $cluster -mongos 3
85+ pause_cluster " $cluster "
86+ wait_for_cluster_state " ${cluster} " " paused"
87+
88+ apply_cluster " $test_dir /conf/cluster-with-auth.yml"
9289
93- sleep 30
90+ unpause_cluster " $cluster "
91+ wait_for_cluster_state " ${cluster} " " ready"
9492
9593desc ' create users with auth enabled'
9694run_mongos \
You can’t perform that action at this time.
0 commit comments