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

Remove static namespace declaration

This commit is contained in:
Frank Jogeleit 2021-02-24 16:50:57 +01:00
parent 62c5a7b6db
commit 82d8dda2eb
7 changed files with 3 additions and 7 deletions

View file

@ -3,5 +3,5 @@ name: policy-reporter
description: K8s PolicyReporter watches for wgpolicyk8s.io/v1alpha1.PolicyReport resources. It creates Prometheus Metrics and can send rule validation events to Loki
type: application
version: 0.7.0
version: 0.7.1
appVersion: 0.6.0

View file

@ -9,4 +9,4 @@ roleRef:
subjects:
- kind: "ServiceAccount"
name: {{ include "policyreporter.serviceAccountName" . }}
namespace: policy-reporter
namespace: {{ .Release.Namespace }}

View file

@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "policyreporter.fullname" . }}
namespace: policy-reporter
labels:
{{- include "policyreporter.labels" . | nindent 4 }}
spec:

View file

@ -9,4 +9,4 @@ roleRef:
subjects:
- kind: "ServiceAccount"
name: {{ include "policyreporter.serviceAccountName" . }}
namespace: policy-reporter
namespace: {{ .Release.Namespace }}

View file

@ -2,7 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "policyreporter.fullname" . }}
namespace: policy-reporter
labels:
{{- include "policyreporter.labels" . | nindent 4 }}
spec:

View file

@ -2,6 +2,5 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "policyreporter.serviceAccountName" . }}
namespace: policy-reporter
labels:
{{- include "policyreporter.labels" . | nindent 4 }}

View file

@ -3,7 +3,6 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "policyreporter.fullname" . }}
namespace: policy-reporter
spec:
selector:
matchLabels: