From debdb5c07d114792256a762981c5cdae021aaa04 Mon Sep 17 00:00:00 2001 From: Casey Callendrello Date: Mon, 5 Feb 2018 18:31:33 +0100 Subject: [PATCH] Add a simple label to the `tectonic-system` namespace for NetworkPolicy --- modules/bootkube/resources/manifests/01-tectonic-namespace.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/bootkube/resources/manifests/01-tectonic-namespace.yaml b/modules/bootkube/resources/manifests/01-tectonic-namespace.yaml index 4b7570da62..845a8e2497 100644 --- a/modules/bootkube/resources/manifests/01-tectonic-namespace.yaml +++ b/modules/bootkube/resources/manifests/01-tectonic-namespace.yaml @@ -2,3 +2,5 @@ apiVersion: v1 kind: Namespace metadata: name: tectonic-system # Create the namespace first. + labels: # network policy can only select by labels + name: tectonic-system