Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[AUTHENTICATION] Restructured keycloak and Oauth2-proxy"
[oom.git]
/
kubernetes
/
common
/
mariadb-galera
/
templates
/
servicemonitor.yaml
diff --git
a/kubernetes/common/mariadb-galera/templates/servicemonitor.yaml
b/kubernetes/common/mariadb-galera/templates/servicemonitor.yaml
index
6d1ed40
..
4cbf7b3
100644
(file)
--- a/
kubernetes/common/mariadb-galera/templates/servicemonitor.yaml
+++ b/
kubernetes/common/mariadb-galera/templates/servicemonitor.yaml
@@
-14,6
+14,8
@@
# limitations under the License.
*/}}
# limitations under the License.
*/}}
-{{- if .Values.metrics.serviceMonitor.enabled }}
+{{- if not .Values.global.mariadbGalera.useOperator }}
+{{- if .Values.metrics.serviceMonitor.enabled }}
{{ include "common.serviceMonitor" . }}
{{ include "common.serviceMonitor" . }}
-{{- end }}
+{{- end }}
+{{- end }}
\ No newline at end of file