From b636736b541f71a3c6f9077fc99c034ddfaf4004 Mon Sep 17 00:00:00 2001
From: sg774j <sg774j@att.com>
Date: Mon, 30 Sep 2019 11:28:17 -0500
Subject: [PATCH] Memcached: Add ingress network policy overrides

This patch set adds in default memcached ingress overrides.

Change-Id: I331a5dadcaed5f5041a6bc9101b4f92291007423
---
 memcached/values_overrides/netpol.yaml | 73 ++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/memcached/values_overrides/netpol.yaml b/memcached/values_overrides/netpol.yaml
index 4a59c5277..fabb36e08 100644
--- a/memcached/values_overrides/netpol.yaml
+++ b/memcached/values_overrides/netpol.yaml
@@ -2,6 +2,79 @@ manifests:
   network_policy: true
 network_policy:
   memcached:
+    ingress:
+      - from:
+        - podSelector:
+            matchLabels:
+              application: ingress
+        - podSelector:
+            matchLabels:
+              application: keystone
+        - podSelector:
+            matchLabels:
+              application: heat
+        - podSelector:
+            matchLabels:
+              application: glance
+        - podSelector:
+            matchLabels:
+              application: cinder
+        - podSelector:
+            matchLabels:
+              application: congress
+        - podSelector:
+            matchLabels:
+              application: barbican
+        - podSelector:
+            matchLabels:
+              application: ceilometer
+        - podSelector:
+            matchLabels:
+              application: horizon
+        - podSelector:
+            matchLabels:
+              application: ironic
+        - podSelector:
+            matchLabels:
+              application: magnum
+        - podSelector:
+            matchLabels:
+              application: mistral
+        - podSelector:
+            matchLabels:
+              application: nova
+        - podSelector:
+            matchLabels:
+              application: neutron
+        - podSelector:
+            matchLabels:
+              application: senlin
+        - podSelector:
+            matchLabels:
+              application: placement
+        - podSelector:
+            matchLabels:
+              application: prometheus_memcached_exporter
+        - podSelector:
+            matchLabels:
+              application: aodh
+        - podSelector:
+            matchLabels:
+              application: panko
+        - podSelector:
+            matchLabels:
+              application: rally
+        - podSelector:
+            matchLabels:
+              application: memcached
+        - podSelector:
+            matchLabels:
+              application: gnocchi
+        ports:
+        - port: 11211
+          protocol: TCP
+        - port: 9150
+          protocol: TCP
     egress:
       - to:
         - ipBlock: