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:
parent
62c5a7b6db
commit
82d8dda2eb
7 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -9,4 +9,4 @@ roleRef:
|
|||
subjects:
|
||||
- kind: "ServiceAccount"
|
||||
name: {{ include "policyreporter.serviceAccountName" . }}
|
||||
namespace: policy-reporter
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
|
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "policyreporter.fullname" . }}
|
||||
namespace: policy-reporter
|
||||
labels:
|
||||
{{- include "policyreporter.labels" . | nindent 4 }}
|
||||
spec:
|
||||
|
|
|
@ -9,4 +9,4 @@ roleRef:
|
|||
subjects:
|
||||
- kind: "ServiceAccount"
|
||||
name: {{ include "policyreporter.serviceAccountName" . }}
|
||||
namespace: policy-reporter
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
|
|
@ -2,7 +2,6 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "policyreporter.fullname" . }}
|
||||
namespace: policy-reporter
|
||||
labels:
|
||||
{{- include "policyreporter.labels" . | nindent 4 }}
|
||||
spec:
|
||||
|
|
|
@ -2,6 +2,5 @@ apiVersion: v1
|
|||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "policyreporter.serviceAccountName" . }}
|
||||
namespace: policy-reporter
|
||||
labels:
|
||||
{{- include "policyreporter.labels" . | nindent 4 }}
|
||||
|
|
|
@ -3,7 +3,6 @@ apiVersion: monitoring.coreos.com/v1
|
|||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ include "policyreporter.fullname" . }}
|
||||
namespace: policy-reporter
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
|
|
Loading…
Reference in a new issue