OSBS: Use the env variable to make the reactor-config and client config name unique per env.
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
7990c366ea
commit
22d53e218c
2 changed files with 4 additions and 4 deletions
|
@ -442,7 +442,7 @@
|
|||
- role: osbs-secret
|
||||
osbs_secret_name: reactor-config-secret
|
||||
osbs_secret_files:
|
||||
- source: "/tmp/{{ osbs_namespace }}-reactor-config-secret.yml"
|
||||
- source: "/tmp/{{ osbs_namespace }}-{{ env }}-reactor-config-secret.yml"
|
||||
dest: config.yaml
|
||||
tags:
|
||||
- osbs-orchestrator-namespace
|
||||
|
@ -469,7 +469,7 @@
|
|||
- role: osbs-secret
|
||||
osbs_secret_name: client-config-secret
|
||||
osbs_secret_files:
|
||||
- source: "/tmp/{{ osbs_namespace }}-client-config-secret.conf"
|
||||
- source: "/tmp/{{ osbs_namespace }}-{{ env }}-client-config-secret.conf"
|
||||
dest: osbs.conf
|
||||
tags:
|
||||
- osbs-orchestrator-namespace
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
local_action: >
|
||||
template
|
||||
src=reactor-config-secret.yml.j2
|
||||
dest="{{ osbs_generated_config_path }}/{{ osbs_namespace }}-reactor-config-secret.yml"
|
||||
dest="{{ osbs_generated_config_path }}/{{ osbs_namespace }}-{{ env }}-reactor-config-secret.yml"
|
||||
register: yaml_reactor_config_secret
|
||||
tags:
|
||||
- oc
|
||||
|
@ -12,7 +12,7 @@
|
|||
local_action: >
|
||||
template
|
||||
src=client-config-secret.conf.j2
|
||||
dest="{{ osbs_generated_config_path }}/{{ osbs_namespace }}-client-config-secret.conf"
|
||||
dest="{{ osbs_generated_config_path }}/{{ osbs_namespace }}-{{ env }}-client-config-secret.conf"
|
||||
register: yaml_client_config_secret
|
||||
tags:
|
||||
- oc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue