1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00

Merge pull request #194 from kyverno/helm-chart-namespace-value

remove service monitore namespace condition
This commit is contained in:
Frank Jogeleit 2022-09-07 18:48:48 +02:00 committed by GitHub
commit e193aa2c95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View file

@ -3,9 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "monitoring.fullname" . }}-kyverno-plugin
{{ if .Values.serviceMonitor.namespace }}
namespace: {{ include "monitoring.smNamespace" . }}
{{ end }}
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}

View file

@ -2,9 +2,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "monitoring.fullname" . }}
{{ if .Values.serviceMonitor.namespace }}
namespace: {{ include "monitoring.smNamespace" . }}
{{ end }}
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}