Add default netpol to LMA charts
Change-Id: I86389085e922848a833d8787573e0b6be843ace4 Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
parent
d0b32ed88a
commit
aa2ce5fef4
@ -189,6 +189,13 @@ manifests:
|
||||
service_ingress: true
|
||||
statefulset: true
|
||||
|
||||
network_policy:
|
||||
alertmanager:
|
||||
ingress:
|
||||
- {}
|
||||
egress:
|
||||
- {}
|
||||
|
||||
conf:
|
||||
command_flags:
|
||||
storage:
|
||||
|
@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License. */}}
|
||||
|
||||
{{- if .Values.manifests.network_policy -}}
|
||||
{{- $netpol_opts := dict "envAll" . "name" "application" "label" "kube-state-metrics" -}}
|
||||
{{- $netpol_opts := dict "envAll" . "name" "application" "label" "kube_state_metrics" -}}
|
||||
{{ $netpol_opts | include "helm-toolkit.manifests.kubernetes_network_policy" }}
|
||||
{{- end -}}
|
||||
|
@ -148,6 +148,13 @@ endpoints:
|
||||
metrics:
|
||||
default: 10252
|
||||
|
||||
network_policy:
|
||||
kube_state_metrics:
|
||||
ingress:
|
||||
- {}
|
||||
egress:
|
||||
- {}
|
||||
|
||||
monitoring:
|
||||
prometheus:
|
||||
enabled: true
|
||||
|
@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License. */}}
|
||||
|
||||
{{- if .Values.manifests.network_policy -}}
|
||||
{{- $netpol_opts := dict "envAll" . "name" "application" "label" "prometheus-process-exporter" -}}
|
||||
{{- $netpol_opts := dict "envAll" . "name" "application" "label" "prometheus_process_exporter" -}}
|
||||
{{ $netpol_opts | include "helm-toolkit.manifests.kubernetes_network_policy" }}
|
||||
{{- end -}}
|
||||
|
@ -148,6 +148,13 @@ endpoints:
|
||||
metrics:
|
||||
default: 9256
|
||||
|
||||
network_policy:
|
||||
prometheus_process_exporter:
|
||||
ingress:
|
||||
- {}
|
||||
egress:
|
||||
- {}
|
||||
|
||||
manifests:
|
||||
configmap_bin: true
|
||||
daemonset: true
|
||||
|
Loading…
Reference in New Issue
Block a user