Skip to content

Commit

Permalink
Fix namespace label
Browse files Browse the repository at this point in the history
This patch set fixes the namespace labels and adds in a new log file to
describe all namespaces to troubleshoot gate issues where labels are not
applied properly.

Change-Id: I34c43c345f9a49df8d7fcf2e7824220a22698d46
Signed-off-by: Tin Lam <[email protected]>
  • Loading branch information
stannum-l committed Feb 5, 2018
1 parent cf02db5 commit ae54ad7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,9 @@
docker_container:
name: "kubeadm-{{ kubeadm_aio_action }}"
state: absent
- name: add labels to namespace
command: kubectl label --overwrite namespace {{ item }} name={{ item }}
with_items:
- default
- kube-system
ignore_errors: True
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- name: "Gathering descriptions for cluster scoped objects"
shell: |-
set -e
export OBJECT_TYPE=node,clusterrole,clusterrolebinding,storageclass
export OBJECT_TYPE=node,clusterrole,clusterrolebinding,storageclass,namespace
export PARALLELISM_FACTOR=2
function list_objects () {
Expand Down

0 comments on commit ae54ad7

Please sign in to comment.