File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 5050 --host=127.0.0.1
5151 --host=$(hostname -f)
5252 --host=$(hostname -f|cut -f 1-2 -d '.')
53- --host=cockroachdb-proxy
54- --host=cockroachdb-proxy .$(hostname -f|cut -f 3- -d '.')
53+ --host=$(COCKROACH_HOST)
54+ --host=$(COCKROACH_HOST) .$(hostname -f|cut -f 3- -d '.')
5555 env :
5656 - name : CERTIFICATE_TYPE
5757 value : " node"
7272 secretKeyRef :
7373 name : ca.auth
7474 key : key
75+ - name : COCKROACH_HOST
76+ valueFrom :
77+ configMapKeyRef :
78+ name : cockroach
79+ key : cockroach.host
7580 volumeMounts :
7681 - name : certs
7782 mountPath : /cockroach-certs
@@ -134,8 +139,8 @@ spec:
134139 --host=127.0.0.1
135140 --host=$(hostname -f)
136141 --host=$(hostname -f|cut -f 1-2 -d '.')
137- --host=cockroachdb-proxy
138- --host=cockroachdb-proxy .$(hostname -f|cut -f 3- -d '.')
142+ --host=$(COCKROACH_HOST)
143+ --host=$(COCKROACH_HOST) .$(hostname -f|cut -f 3- -d '.')
139144 refresh-and-forward
140145 env :
141146 - name : HTTP_PORT
@@ -165,6 +170,11 @@ spec:
165170 secretKeyRef :
166171 name : ca.auth
167172 key : key
173+ - name : COCKROACH_HOST
174+ valueFrom :
175+ configMapKeyRef :
176+ name : cockroach
177+ key : cockroach.host
168178 volumeMounts :
169179 - name : certs
170180 mountPath : /cockroach-certs
You can’t perform that action at this time.
0 commit comments