forked from hswaw/hscloud
Merge "cluster/crdb: make init job 'idempotent'"
commit
aa131447e5
|
@ -334,7 +334,7 @@ local policies = import "../../../kube/policies.libsonnet";
|
||||||
command: [
|
command: [
|
||||||
"/bin/bash",
|
"/bin/bash",
|
||||||
"-ecx",
|
"-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: [
|
volumeMounts: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue