Add default labels

This commit is contained in:
Stefan Reimer 2020-08-06 17:15:20 +00:00
parent f32cca216b
commit 5e17b545a9
3 changed files with 10 additions and 2 deletions

View File

@ -5,6 +5,8 @@ kind: AuthorizationPolicy
metadata:
name: argocd-deny-not-in-ipblocks
namespace: istio-system
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
spec:
selector:
matchLabels:

View File

@ -5,6 +5,8 @@ kind: AuthorizationPolicy
metadata:
name: grafana-deny-not-in-ipblocks
namespace: istio-system
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
spec:
selector:
matchLabels:
@ -30,6 +32,8 @@ kind: AuthorizationPolicy
metadata:
name: prometheus-deny-not-in-ipblocks
namespace: istio-system
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
spec:
selector:
matchLabels:

View File

@ -3,7 +3,8 @@ apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: grafana
namespace: monitoring
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
spec:
hosts:
- {{ .Values.grafana.istio.url }}
@ -20,7 +21,8 @@ apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: prometheus
namespace: monitoring
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
spec:
hosts:
- {{ .Values.prometheus.istio.url }}