Hello Hamza, so the current charts you're trying to install are not upgraded to work with k8s 1.25 yet. The partial solution is to disable the prometheus stack dependencies. That is not a good long term solution though as it is always recommended to enable metrics.
@Michael Marshall from our end is trying to cut a release soon to have this fixed. Just fyi, this is the same issue as
https://github.com/apache/pulsar-helm-chart/pull/260/files. We will get back soon on this. Thanks much. cc:
@Michael Marshall