File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
deploy/operator-web-installer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -141,9 +141,6 @@ check_envsubst_available
141141
142142# Manifest is expected to be ready-to-use manifest file
143143MANIFEST=" ${MANIFEST:- " " } "
144- # Template can have params to substitute
145- DEFAULT_TEMPLATE=" https://raw.githubusercontent.com/Altinity/clickhouse-operator/master/deploy/operator/clickhouse-operator-install-template.yaml"
146- TEMPLATE=" ${TEMPLATE:- " ${DEFAULT_TEMPLATE} " } "
147144# Namespace to install operator
148145OPERATOR_NAMESPACE=" ${OPERATOR_NAMESPACE:- " kube-system" } "
149146METRICS_EXPORTER_NAMESPACE=" ${OPERATOR_NAMESPACE} "
@@ -153,6 +150,9 @@ if [[ -z "${OPERATOR_VERSION}" ]]; then
153150 RELEASE_VERSION=$( get_file https://raw.githubusercontent.com/Altinity/clickhouse-operator/master/release)
154151fi
155152OPERATOR_VERSION=" ${OPERATOR_VERSION:- " ${RELEASE_VERSION} " } "
153+ # Template can have params to substitute
154+ DEFAULT_TEMPLATE=" https://raw.githubusercontent.com/Altinity/clickhouse-operator/${OPERATOR_VERSION:- master} /deploy/operator/clickhouse-operator-install-template.yaml"
155+ TEMPLATE=" ${TEMPLATE:- " ${DEFAULT_TEMPLATE} " } "
156156OPERATOR_IMAGE=" ${OPERATOR_IMAGE:- " altinity/clickhouse-operator:${OPERATOR_VERSION} " } "
157157OPERATOR_IMAGE_PULL_POLICY=" ${OPERATOR_IMAGE_PULL_POLICY:- " Always" } "
158158METRICS_EXPORTER_IMAGE=" ${METRICS_EXPORTER_IMAGE:- " altinity/metrics-exporter:${OPERATOR_VERSION} " } "
@@ -199,4 +199,4 @@ elif [[ ! -z "${TEMPLATE}" ]]; then
199199 )
200200else
201201 echo " Neither manifest nor template available. Abort."
202- fi
202+ fi
You can’t perform that action at this time.
0 commit comments