[COMMON] Adding Common Template for cassa-operator
[oom.git] / kubernetes / common / cassandra / templates / servicemonitor.yaml
index 5297e69..759586f 100644 (file)
@@ -14,6 +14,8 @@
 # limitations under the License.
 */}}
 
+{{- if not .Values.k8ssandraOperator.enabled }}
 {{- if .Values.metrics.serviceMonitor.enabled }}
 {{  include "common.serviceMonitor" . }}
+{{- end }}
 {{- end }}
\ No newline at end of file