diff --git a/ack-system/base/user-config-cm.yaml b/ack-system/base/user-config-cm.yaml index 44d0522f..4258fb2f 100644 --- a/ack-system/base/user-config-cm.yaml +++ b/ack-system/base/user-config-cm.yaml @@ -11,3 +11,4 @@ data: AWS_ENDPOINT_URL: "" ENABLE_LEADER_ELECTION: "true" LEADER_ELECTION_NAMESPACE: "" + RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS: "1" diff --git a/ack-system/scripts/setup.sh b/ack-system/scripts/setup.sh index b192d2e8..b30ff727 100755 --- a/ack-system/scripts/setup.sh +++ b/ack-system/scripts/setup.sh @@ -31,9 +31,11 @@ ocp_aws_get_key(){ } # create secrets for ack controllers -aws_setup_ack_system(){ +ocp_aws_setup_ack_system(){ NAMESPACE=ack-system + ocp_aws_get_key + setup_namespace "${NAMESPACE}" oc apply -k ../"${NAMESPACE}"/aggregate/popular @@ -50,9 +52,8 @@ aws_setup_ack_system(){ < ../ack-${type}-controller/operator/overlays/alpha/user-secrets-secret.yaml \ sed "s@UPDATE_AWS_ACCESS_KEY_ID@${AWS_ACCESS_KEY_ID}@; s@UPDATE_AWS_SECRET_ACCESS_KEY@${AWS_SECRET_ACCESS_KEY}@" | \ - oc -n ${NAMESPACE} apply -f - + oc -n "${NAMESPACE}" apply -f - done } -ocp_aws_get_key -aws_setup_ack_system +ocp_aws_setup_ack_system