File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ endif
310310 kubectl apply -f $(MANIFESTPATHDEPLOYMENTREPLICATION)
311311 kubectl apply -f $(MANIFESTPATHTEST)
312312 $(ROOTDIR)/scripts/kube_create_storage.sh $(DEPLOYMENTNAMESPACE)
313- $(ROOTDIR)/scripts/kube_create_license_key_secret.sh
313+ $(ROOTDIR)/scripts/kube_create_license_key_secret.sh "$(DEPLOYMENTNAMESPACE)"
314314 $(ROOTDIR)/scripts/kube_run_tests.sh $(DEPLOYMENTNAMESPACE) $(TESTIMAGE) "$(ARANGODIMAGE)" "$(ENTERPRISEIMAGE)" $(TESTTIMEOUT) $(TESTLENGTHOPTIONS)
315315
316316$(DURATIONTESTBIN ) : $(GOBUILDDIR ) $(SOURCES )
Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ if [ -z $ENTERPRISELICENSE ]; then
55fi
66
77LICENSE=$( echo " ${ENTERPRISELICENSE} " | base64 )
8+ NS=$1
9+
10+ if [ -z $NS ]; then
11+ echo " Specify a namespace argument"
12+ exit 1
13+ fi
814
915kubectl apply -f - << EOF
1016apiVersion: v1
1319kind: Secret
1420metadata:
1521 name: arangodb-jenkins-license-key
16- namespace: default
22+ namespace: ${NS}
1723type: Opaque
1824EOF
You can’t perform that action at this time.
0 commit comments