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
|
service_ingress: true
|
||||||
statefulset: true
|
statefulset: true
|
||||||
|
|
||||||
|
network_policy:
|
||||||
|
alertmanager:
|
||||||
|
ingress:
|
||||||
|
- {}
|
||||||
|
egress:
|
||||||
|
- {}
|
||||||
|
|
||||||
conf:
|
conf:
|
||||||
command_flags:
|
command_flags:
|
||||||
storage:
|
storage:
|
||||||
|
@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License. */}}
|
limitations under the License. */}}
|
||||||
|
|
||||||
{{- if .Values.manifests.network_policy -}}
|
{{- 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" }}
|
{{ $netpol_opts | include "helm-toolkit.manifests.kubernetes_network_policy" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -148,6 +148,13 @@ endpoints:
|
|||||||
metrics:
|
metrics:
|
||||||
default: 10252
|
default: 10252
|
||||||
|
|
||||||
|
network_policy:
|
||||||
|
kube_state_metrics:
|
||||||
|
ingress:
|
||||||
|
- {}
|
||||||
|
egress:
|
||||||
|
- {}
|
||||||
|
|
||||||
monitoring:
|
monitoring:
|
||||||
prometheus:
|
prometheus:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License. */}}
|
limitations under the License. */}}
|
||||||
|
|
||||||
{{- if .Values.manifests.network_policy -}}
|
{{- 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" }}
|
{{ $netpol_opts | include "helm-toolkit.manifests.kubernetes_network_policy" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -148,6 +148,13 @@ endpoints:
|
|||||||
metrics:
|
metrics:
|
||||||
default: 9256
|
default: 9256
|
||||||
|
|
||||||
|
network_policy:
|
||||||
|
prometheus_process_exporter:
|
||||||
|
ingress:
|
||||||
|
- {}
|
||||||
|
egress:
|
||||||
|
- {}
|
||||||
|
|
||||||
manifests:
|
manifests:
|
||||||
configmap_bin: true
|
configmap_bin: true
|
||||||
daemonset: true
|
daemonset: true
|
||||||
|
Loading…
Reference in New Issue
Block a user