OK, here are my ramblings on the subject.
Firstly you say that you have noticed a trend among astrologers to be averse to religion. I can't comment on what you have read or seen, nor your perception of it. It may be true that this was the belief of the majority of astrologers that you have come across.
In my own experience the majority of the people I know of an older generation were brought up with a religious background and religious schooling, they then experienced the 70s counter-culture and started studying astrology during that decade. They still have a healthy respect for those aspects of the religion they were brought up with which emphasise caring and compassion for their fellow human beings. Because they were brought up with religion they will never fully reject all the elements of the religion they learnt as children. Other people born in religious families or religious countries will be unlikely to discard everything they have learnt from religion even if they later read about astrology and see there is a correlation between what the astrology books say and the characters of the people they know.
I don't really know a great deal about what each of the individual religions say about astrology, except that Islam prohibits "fortune telling with divining rods" (divining rods being arrows that have been broken into pieces, or twigs, which are tossed and form shapes like runes) because only God can predict the future. This was largely to prevent gullible people being taken advantage of by unscrupulous & untrustworthy charlatans, and is interpreted as expressing the principle that all fortune telling should be avoided because of this.
I think there is a lot of truth in what the Ram says about religious leaders having oppressed astrology because it was a threat to their power structure in which the rules of their religion were absolute, and only they the priests had the skill and knowledge to pass the doctrine on. Astrology was a threat to the priesthood since the priests didn't understand it & sometimes it opposed what they were preaching. However I do know that Tibetan buddhist monks study astrology, albeit a different kind of astrology from western astrology, but I don't know anything about their system.
Also astrology, mainly vedic, is big in India, so my guess is that a lot of the astrologers who practice there are Hindu, or Buddhist, or Jain, or one of the other religions from India.
Also religions (the big 3 Abrahamic ones anyway) tend to assert things that are unprovable such as the existence of heaven and hell. If one believes this in a literal way there is no way to prove it with your own eyes, whereas in the case of astrology, after some time and practice we can see events unfolding in accordance with our understanding of the symbolism of astrology. We are largely powerless to affect the outcome of these events even with foreknowledge but we can see them and have proof that astrology works. There I think we have a big difference between astrology and religion - astrology can be proved, religion can't. Although it is different if one only believes in heaven and hell figuratively as meaning a happy, peaceful life in this lifetime if we are considerate to others and an unhappy, stressful life in this lifetime if we are mean to others, somewhat like karma.
I also agree with thelivingsky. The fact that astrology does work, and that the movement of things as large as the planets and the moon, which science has proved only came to orbit our sun, and in the case of the moon the earth, after a series of collisions, coincide with events on a micro scale in our daily lives suggests that something is behind both events. It is almost evidence for religion.
But it is true that in the past people believed that the earth was flat and everything orbited the earth. It is possible that one day astrology will be proved false and we will be proved to only be believing in this synchronicity of planets and events due to some kind of confirmation bias.
In my opinion the trouble is that each of the religions, even Islam which is said to be directly from God, is an attempt to convey the truth of how the universe functions to human beings in words that they can understand, and that has been distorted and solidified into customs and dogma since that is the easiest way for humans to remember to be kind and civil to each other and for them to remember to keep in mind that there is something bigger than themselves out there. But that is just my opinion. Some of the stories and allegories I have heard in relation to religion, whether from a book or from an oral tradition, are like a very opaque poem that we don't really understand on the first 10 or so hearings, but later we realise explained so much about life, so naturally a whole variety of different interpretations spring up, so it might not be that religion (whichever one we are talking about it) is contrary to astrology, just that some people's interpretation of it is.
My personal belief is that both religion and astrology have a place, but my religious views are largely figurative.