Skip to content

Commit ef93855

Browse files
authored
chore: disable CARM when IRS is enabled (#752)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 9719f55 commit ef93855

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/controller-setup.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ EOF
108108

109109
local region=$(get_aws_region)
110110

111+
ENABLE_CARM="true"
111112
if [[ "$IRS_TESTS_ENABLED" = "true" ]]; then
112113
FEATURE_GATES=$FEATURE_GATES,"IAMRoleSelector=true"
114+
ENABLE_CARM="false"
113115
fi
114116

115117
kubectl -n $__controller_namespace set env deployment/ack-"$AWS_SERVICE"-controller \
@@ -119,7 +121,8 @@ EOF
119121
ACK_ENABLE_DEVELOPMENT_LOGGING="true" \
120122
ACK_LOG_LEVEL="debug" \
121123
FEATURE_GATES="$FEATURE_GATES" \
122-
AWS_REGION="$region" 1>/dev/null
124+
AWS_REGION="$region" 1>/dev/null \
125+
ENABLE_CARM="$ENABLE_CARM"
123126
# TODO: Support watch namespace configuration
124127
# ACK_WATCH_NAMESPACE="$ACK_WATCH_NAMESPACE" \
125128

0 commit comments

Comments
 (0)