Merge "Support latest MAAS in Airsloop"

This commit is contained in:
Zuul 2019-04-24 21:51:44 +00:00 committed by Gerrit Code Review
commit 494d054fc6
4 changed files with 98 additions and 2 deletions

View File

@ -353,7 +353,7 @@ data:
type: git
maas:
location: https://opendev.org/airship/maas
reference: 2910412699231f8818a6c1b56e86c985da7f3717
reference: 407d4ccfb41637d46483b319c0b401459523e272
subpath: charts/maas
type: git
maas-htk:

View File

@ -13,8 +13,36 @@ metadata:
- method: merge
path: .
storagePolicy: cleartext
substitutions:
# MaaS IPs
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .genesis.ip
dest:
path: .values.conf.drydock.maasdriver.maas_api_url
pattern: 'MAAS_IP'
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .node_ports.maas_api
dest:
path: .values.conf.drydock.maasdriver.maas_api_url
pattern: 'MAAS_PORT'
data:
values:
network:
api:
nodeport:
enabled: true
replicas:
drydock: 1
conf:
drydock:
database:
pool_size: 200
maasdriver:
maas_api_url: http://MAAS_IP:MAAS_PORT/MAAS
...

View File

@ -13,12 +13,80 @@ metadata:
- method: merge
path: .
storagePolicy: cleartext
substitutions:
# Drydock IPs
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .bootstrap.ip
dest:
path: .values.conf.drydock.bootaction_url
pattern: '(DRYDOCK_IP)'
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .node_ports.drydock_api
dest:
path: .values.conf.drydock.bootaction_url
pattern: '(DRYDOCK_PORT)'
# MaaS IPs
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .bootstrap.ip
dest:
path: .values.conf.maas.url.maas_url
pattern: '(MAAS_IP)'
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .node_ports.maas_api
dest:
path: .values.conf.maas.url.maas_url
pattern: '(MAAS_PORT)'
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .node_ports.maas_api
dest:
path: .values.endpoints.maas_region.port.region_api.nodeport
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .node_ports.maas_proxy
dest:
path: .values.endpoints.maas_region.port.region_proxy.default
data:
values:
manifests:
maas_ingress: false
network:
region_proxy:
node_port:
enabled: true
region_api:
ingress:
public: false
node_port:
enabled: true
conf:
maas:
images:
default_os: 'ubuntu'
default_image: 'xenial'
default_kernel: 'ga-16.04'
cache:
enabled: true
drydock:
bootaction_url: http://DRYDOCK_IP:DRYDOCK_PORT/api/v1.0
maas:
credentials:
secret:
namespace: ucp
url:
maas_url: http://MAAS_IP:MAAS_PORT/MAAS
...

View File

@ -157,7 +157,7 @@ data:
name: maas-region
hosts:
default: maas-region
public: maas
public: maas-region
path:
default: /MAAS
scheme: