1
0
Fork 0

Merge "cluster/crdb: make init job 'idempotent'"

master
q3k 2021-03-25 17:43:14 +00:00 committed by Gerrit Code Review
commit aa131447e5
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ local policies = import "../../../kube/policies.libsonnet";
command: [
"/bin/bash",
"-ecx",
"/cockroach/cockroach init --host=%s.cluster.local:%d" % [cluster.servers[0].service.host, cluster.cfg.portServe],
"/cockroach/cockroach init --host=%s.cluster.local:%d || true" % [cluster.servers[0].service.host, cluster.cfg.portServe],
],
volumeMounts: [
{