File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ function cleanUp(){
49
49
50
50
echo " Delete CRDs if exists"
51
51
if [[ $ADC_REGIONS == * " $REGION " * ]]; then
52
- kubectl delete -k " ../helm/aws-load-balancer-controller/crds" --timeout=30s || true
52
+ kubectl delete -k " $SCRIPT_DIR " / ../helm/aws-load-balancer-controller/crds --timeout=30s || true
53
53
else
54
54
kubectl delete -k " github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master" --timeout=30s || true
55
55
fi
@@ -125,7 +125,7 @@ kubectl annotate serviceaccount -n kube-system aws-load-balancer-controller eks.
125
125
126
126
function install_controller_for_adc_regions() {
127
127
echo " install cert-manager"
128
- cert_manager_yaml=" . /test/prow/cert_manager.yaml"
128
+ cert_manager_yaml=" $SCRIPT_DIR " /.. /test/prow/cert_manager.yaml
129
129
130
130
# replace the url to the test images registry in ADC regions
131
131
declare -A url_mapping
@@ -141,7 +141,7 @@ function install_controller_for_adc_regions() {
141
141
kubectl apply -f $cert_manager_yaml || true
142
142
143
143
echo " install the controller via yaml"
144
- controller_yaml=" . /test/prow/v2_6_0_adc.yaml"
144
+ controller_yaml=" $SCRIPT_DIR " /.. /test/prow/v2_6_0_adc.yaml
145
145
default_controller_image=" public.ecr.aws/eks/aws-load-balancer-controller"
146
146
sed -i " " " s#$default_controller_image #$IMAGE #g" " $controller_yaml "
147
147
echo " Image URL in $controller_yaml has been updated to $IMAGE "
You can’t perform that action at this time.
0 commit comments