From cf04bf38ab190b2c36a020517c7dc94d51cccbdf Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 23 Dec 2022 07:15:46 +1100 Subject: [PATCH] linaro: add nodepool cloud configuration This is authentication information for the new Linaro cloud we are commissioning. Change-Id: Ic174cb156dd3a59fe40f08d039389b3bfabddea4 --- playbooks/templates/clouds/nodepool_clouds.yaml.j2 | 14 ++++++++++++++ .../zuul/templates/group_vars/nodepool.yaml.j2 | 3 +++ 2 files changed, 17 insertions(+) diff --git a/playbooks/templates/clouds/nodepool_clouds.yaml.j2 b/playbooks/templates/clouds/nodepool_clouds.yaml.j2 index 56a322d875..036bfbb61c 100644 --- a/playbooks/templates/clouds/nodepool_clouds.yaml.j2 +++ b/playbooks/templates/clouds/nodepool_clouds.yaml.j2 @@ -89,6 +89,20 @@ clouds: user_domain_name: default image_format: 'raw' force_ipv4: true + linaro: + regions: + - name: RegionOne + metrics: + statsd: + prefix: 'nodepool.task.linaro' + identity_api_version: '3' + auth: + auth_url: 'https://openinfraci.linaro.cloud:5000' + username: '{{ nodepool_linaro_username }}' + password: '{{ nodepool_linaro_password }}' + project_name: '{{ nodepool_linaro_project }}' + project_domain_name: default + user_domain_name: default linaro-us: regions: - name: RegionOne diff --git a/playbooks/zuul/templates/group_vars/nodepool.yaml.j2 b/playbooks/zuul/templates/group_vars/nodepool.yaml.j2 index 68c1f03431..a2d99ef4be 100644 --- a/playbooks/zuul/templates/group_vars/nodepool.yaml.j2 +++ b/playbooks/zuul/templates/group_vars/nodepool.yaml.j2 @@ -39,6 +39,9 @@ nodepool_vexxhost_username: user nodepool_vexxhost_password: password nodepool_vexxhost_project: project nodepool_vexxhost_kube_key: nodepool_k8s_key +nodepool_linaro_username: user +nodepool_linaro_password: password +nodepool_linaro_project: project nodepool_linaro_us_username: user nodepool_linaro_us_password: password nodepool_linaro_us_project: project