Skip to content

Commit

Permalink
Merge pull request #11312 from luis5tb/kuryr-namespace
Browse files Browse the repository at this point in the history
Ensure kuryr has its own namespace
  • Loading branch information
openshift-merge-robot committed Mar 7, 2019
2 parents 4c74808 + 22f981a commit 9a76c58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/kuryr/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ kuryr_openstack_user_domain_name: default
kuryr_openstack_project_domain_name: default

# Kuryr OpenShift namespace
kuryr_namespace: openshift-infra
kuryr_namespace: kuryr

# Default pod-in-VM link interface
kuryr_cni_link_interface: eth0
Expand Down
7 changes: 7 additions & 0 deletions roles/kuryr/tasks/master.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
- name: Ensure project exists
oc_project:
name: "{{ kuryr_namespace }}"
state: present
node_selector:
- ""

- name: Perform OpenShift ServiceAccount config
include_tasks: serviceaccount.yaml
run_once: true
Expand Down

0 comments on commit 9a76c58

Please sign in to comment.