Add default labels
This commit is contained in:
parent
f32cca216b
commit
5e17b545a9
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user