spark-operator
spark-operator copied to clipboard
Always open the prometheus port on the pod if prometheus is enabled
Previously the port would not be opened if in container configuration was used. Thus, if you used custom configuration then prometheus would not be able to scrape the metrics port.
Now we will always open the port if prometheus is enabled, and only mount volumes if custom configuration is not used.