You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by ab...@apache.org on 2023/03/10 10:41:40 UTC
[druid] branch master updated: add latest version of druid operator to integeration tests (#13883)
This is an automated email from the ASF dual-hosted git repository.
abhishek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 64b67c22c4 add latest version of druid operator to integeration tests (#13883)
64b67c22c4 is described below
commit 64b67c22c440cf6d1bf00fc1ae6f233d45edece8
Author: AdheipSingh <34...@users.noreply.github.com>
AuthorDate: Fri Mar 10 16:11:25 2023 +0530
add latest version of druid operator to integeration tests (#13883)
* add latest version of druid operator to integeration tests
* Update integration-tests/k8s/tiny-cluster.yaml
---
integration-tests/k8s/tiny-cluster.yaml | 10 ----------
integration-tests/script/setup_druid_operator_on_k8s.sh | 9 ++++-----
2 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/integration-tests/k8s/tiny-cluster.yaml b/integration-tests/k8s/tiny-cluster.yaml
index cfdacbea23..6db4dbf421 100644
--- a/integration-tests/k8s/tiny-cluster.yaml
+++ b/integration-tests/k8s/tiny-cluster.yaml
@@ -132,8 +132,6 @@ spec:
port: 8088
protocol: TCP
targetPort: 8088
- selector:
- nodeSpecUniqueStr: druid-tiny-cluster-brokers
metadata:
name: broker-%s-service
- spec:
@@ -181,8 +179,6 @@ spec:
port: 8088
protocol: TCP
targetPort: 8088
- selector:
- nodeSpecUniqueStr: druid-tiny-cluster-coordinators
metadata:
name: coordinator-%s-service
- spec:
@@ -229,8 +225,6 @@ spec:
port: 8088
protocol: TCP
targetPort: 8088
- selector:
- nodeSpecUniqueStr: druid-tiny-cluster-historicals
metadata:
name: historical-%s-service
- spec:
@@ -273,8 +267,6 @@ spec:
port: 8088
protocol: TCP
targetPort: 8088
- selector:
- nodeSpecUniqueStr: druid-tiny-cluster-routers
metadata:
name: router-%s-service
- spec:
@@ -312,8 +304,6 @@ spec:
port: 8088
protocol: TCP
targetPort: 8088
- selector:
- nodeSpecUniqueStr: druid-tiny-cluster-middleManagers
metadata:
name: middlemanager-%s-service
- spec:
diff --git a/integration-tests/script/setup_druid_operator_on_k8s.sh b/integration-tests/script/setup_druid_operator_on_k8s.sh
index b25d767438..1887413b2f 100755
--- a/integration-tests/script/setup_druid_operator_on_k8s.sh
+++ b/integration-tests/script/setup_druid_operator_on_k8s.sh
@@ -16,22 +16,21 @@
set -e
-export DRUID_OPERATOR_VERSION=0.0.3
+export DRUID_OPERATOR_VERSION=v1.0.0
export KUBECTL="/usr/local/bin/kubectl"
# Prepare For Druid-Operator
rm -rf druid-operator
-git clone https://github.com/druid-io/druid-operator.git
+git clone https://github.com/datainfrahq/druid-operator.git
cd druid-operator
-git checkout -b druid-operator-$DRUID_OPERATOR_VERSION druid-operator-$DRUID_OPERATOR_VERSION
+git checkout -b druid-operator-$DRUID_OPERATOR_VERSION $DRUID_OPERATOR_VERSION
cd ..
-sed -i "s|REPLACE_IMAGE|druidio/druid-operator:$DRUID_OPERATOR_VERSION|g" druid-operator/deploy/operator.yaml
# Deploy Druid Operator and Druid CR spec
$KUBECTL create -f druid-operator/deploy/service_account.yaml
$KUBECTL create -f druid-operator/deploy/role.yaml
$KUBECTL create -f druid-operator/deploy/role_binding.yaml
-$KUBECTL create -f druid-operator/deploy/crds/druid.apache.org_druids_crd.yaml
+$KUBECTL create -f druid-operator/deploy/crds/druid.apache.org_druids.yaml
$KUBECTL create -f druid-operator/deploy/operator.yaml
echo "Setup Druid Operator on K8S Done!"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org