@@ -229,14 +229,14 @@ es_ops_host=${es_host}
229
229
230
230
if [[ -n " ${KIBANA_NODESELECTOR} " ]]; then
231
231
sed " /serviceAccountName/ i\
232
- \ ${kibana_nodeselector} " templates/kibana.yaml | oc process -v " OAP_PUBLIC_MASTER_URL=${public_master_url} ,OAP_MASTER_URL=${master_url} " | oc create -f -
232
+ \ ${kibana_nodeselector} " templates/kibana.yaml | oc process -v " OAP_PUBLIC_MASTER_URL=${public_master_url} ,OAP_MASTER_URL=${master_url} " -f - | oc create -f -
233
233
else
234
234
oc process -f templates/kibana.yaml -v " OAP_PUBLIC_MASTER_URL=${public_master_url} ,OAP_MASTER_URL=${master_url} " | oc create -f -
235
235
fi
236
236
237
237
if [[ -n " ${CURATOR_NODESELECTOR} " ]]; then
238
238
sed " /serviceAccountName/ i\
239
- \ ${curator_nodeselector} " templates/curator.yaml | oc process -v " ES_HOST=${es_host} ,MASTER_URL=${master_url} ,CURATOR_DEPLOY_NAME=curator" | oc create -f -
239
+ \ ${curator_nodeselector} " templates/curator.yaml | oc process -v " ES_HOST=${es_host} ,MASTER_URL=${master_url} ,CURATOR_DEPLOY_NAME=curator" -f - | oc create -f -
240
240
else
241
241
oc process -f templates/curator.yaml -v " ES_HOST=${es_host} ,MASTER_URL=${master_url} ,CURATOR_DEPLOY_NAME=curator" | oc create -f -
242
242
fi
@@ -254,14 +254,14 @@ if [ "${ENABLE_OPS_CLUSTER}" == true ]; then
254
254
255
255
if [[ -n " ${KIBANA_OPS_NODESELECTOR} " ]]; then
256
256
sed " /serviceAccountName/ i\
257
- \ ${kibana_ops_nodeselector} " templates/kibana.yaml | oc process -v " OAP_PUBLIC_MASTER_URL=${public_master_url} ,OAP_MASTER_URL=${master_url} ,KIBANA_DEPLOY_NAME=kibana-ops,ES_HOST=${es_ops_host} " | oc create -f -
257
+ \ ${kibana_ops_nodeselector} " templates/kibana.yaml | oc process -v " OAP_PUBLIC_MASTER_URL=${public_master_url} ,OAP_MASTER_URL=${master_url} ,KIBANA_DEPLOY_NAME=kibana-ops,ES_HOST=${es_ops_host} " -f - | oc create -f -
258
258
else
259
259
oc process -f templates/kibana.yaml -v " OAP_PUBLIC_MASTER_URL=${public_master_url} ,OAP_MASTER_URL=${master_url} ,KIBANA_DEPLOY_NAME=kibana-ops,ES_HOST=logging-es-ops" | oc create -f -
260
260
fi
261
261
262
262
if [[ -n " ${CURATOR_OPS_NODESELECTOR} " ]]; then
263
263
sed " /serviceAccountName/ i\
264
- \ ${curator_ops_nodeselector} " templates/curator.yaml | oc process -v " ES_HOST=${es_ops_host} ,MASTER_URL=${master_url} ,CURATOR_DEPLOY_NAME=curator-ops" | oc create -f -
264
+ \ ${curator_ops_nodeselector} " templates/curator.yaml | oc process -v " ES_HOST=${es_ops_host} ,MASTER_URL=${master_url} ,CURATOR_DEPLOY_NAME=curator-ops" -f - | oc create -f -
265
265
else
266
266
oc process -f templates/curator.yaml -v " ES_HOST=${es_ops_host} ,MASTER_URL=${master_url} ,CURATOR_DEPLOY_NAME=curator-ops" | oc create -f -
267
267
fi
0 commit comments