Add default labels

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

View File

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

View File

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

View File

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