It is not always bad to become the 'resident expert' on some technology that was not part of your original job description. Sometimes it can help you expand your horizons in something that is really interesting to you. Sometimes it can be great for job security when you are the only one who truly understands some critical piece of the infrastructure. But for every one of those tasks, there are probably two where you can get roped into maintaining some legacy system that is nothing but pain.