From bb1eb9fec813a638d069283bebe83b73e70df612 Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Mon, 5 Mar 2018 23:05:19 +0800 Subject: [PATCH] Add labels for namespace --- roles/kubernetes-apps/registry/templates/registry-ns.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/kubernetes-apps/registry/templates/registry-ns.yml.j2 b/roles/kubernetes-apps/registry/templates/registry-ns.yml.j2 index bb1b209e9..c224337af 100644 --- a/roles/kubernetes-apps/registry/templates/registry-ns.yml.j2 +++ b/roles/kubernetes-apps/registry/templates/registry-ns.yml.j2 @@ -3,3 +3,5 @@ apiVersion: v1 kind: Namespace metadata: name: {{ registry_namespace }} + labels: + name: {{ registry_namespace }}