From a6ffe2f161a463d7c56ff8b2758e809e1802d0a9 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Thu, 26 Sep 2019 11:33:39 -0500 Subject: [PATCH] Define default netpol for openstack-exporter This change adds default network policy definitions for ingress/egress in the prometheus-openstack-exporter chart to allow all traffic. This also adds a netpol value override to enable network policy for various network policy checks. Change-Id: If1314420d5038174e8641c9809de65b23853d3f3 --- prometheus-openstack-exporter/values.yaml | 7 +++++++ prometheus-openstack-exporter/values_overrides/netpol.yaml | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 prometheus-openstack-exporter/values_overrides/netpol.yaml diff --git a/prometheus-openstack-exporter/values.yaml b/prometheus-openstack-exporter/values.yaml index 0b6329684..5205999b2 100644 --- a/prometheus-openstack-exporter/values.yaml +++ b/prometheus-openstack-exporter/values.yaml @@ -204,6 +204,13 @@ network: openstack_metrics_exporter: port: 9103 +network_policy: + prometheus-openstack-exporter: + ingress: + - {} + egress: + - {} + manifests: configmap_bin: true deployment: true diff --git a/prometheus-openstack-exporter/values_overrides/netpol.yaml b/prometheus-openstack-exporter/values_overrides/netpol.yaml new file mode 100644 index 000000000..7a8575320 --- /dev/null +++ b/prometheus-openstack-exporter/values_overrides/netpol.yaml @@ -0,0 +1,2 @@ +manifests: + network_policy: true