Add OSBS service account and worker cluster

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2018-04-04 10:55:35 +02:00
parent 7023422105
commit 43acb9144f
2 changed files with 5 additions and 0 deletions

View file

@ -36,6 +36,9 @@ osbs_orchestrator_cpu_limitrange: "95m"
osbs_worker_default_nodeselector: "worker=true"
osbs_orchestrator_default_nodeselector: "orchestrator=true"
osbs_conf_service_accounts:
- koji
osbs_conf_readwrite_users:
- system:serviceaccount:{{ osbs_namespace }}:default
- system:serviceaccount:{{ osbs_namespace }}:builder

View file

@ -451,12 +451,14 @@
roles:
- role: osbs-namespace
osbs_orchestrator: true
osbs_worker_clusters: "{{ osbs_conf_worker_clusters }}"
osbs_cpu_limitrange: "{{ osbs_orchestrator_cpu_limitrange }}"
osbs_nodeselector: "{{ osbs_orchestrator_default_nodeselector|default('') }}"
osbs_authoritative_registry: "{{ source_registry }}"
osbs_sources_command: "{{ osbs_conf_sources_command }}"
osbs_vendor: "{{ osbs_conf_vendor }}"
osbs_readwrite_users: "{{ osbs_conf_readwrite_users }}"
osbs_service_accounts: "{{ osbs_conf_service_accounts }}"
when: env == "staging"
- name: setup reactor config secret in orchestrator namespace