blob: 3ff85ee40f0571558a4f7050c26d3e45991bda1d [file] [log] [blame]
Andy Bavierd0480392018-03-21 07:52:14 -07001---
2
3# Copyright 2018-present Open Networking Foundation
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# Override XOS admin user and password values set in values.yaml
18#
19# helm install -f examples/adminuser-values.yaml xos-core -n xos-core
20# helm install -f examples/adminuser-values.yaml xos-profiles/rcord-lite -n rcord-lite
21
22xosAdminUser: &adminuser "cordadmin@foobar.com"
23xosAdminPassword: &adminpass "AVerySecurePassword"
24
25# initial_data_config is a list.
26# I don’t know how to override individual list items...
27configs:
28 initial_data_config:
29 - model: core.Site
30 fields:
Andy Bavier17697fe2018-04-03 08:12:18 -070031 name: "mysite"
32 abbreviated_name: "mysite"
33 login_base: "mysite"
Andy Bavierd0480392018-03-21 07:52:14 -070034 site_url: "http://opencord.org/"
35 hosts_nodes: true
36 - model: core.User
37 fields:
38 email: *adminuser
39 password: *adminpass
40 firstname: "XOS"
41 lastname: "User"
42 is_admin: True
43 relations:
44 site:
45 fields:
Andy Bavier17697fe2018-04-03 08:12:18 -070046 name: "mysite"
Andy Bavierd0480392018-03-21 07:52:14 -070047 model: core.Site
48
49serviceOverride: &serviceOverride
50 serviceConfig:
51 accessor:
52 username: *adminuser
53 password: *adminpass
54
55
56# Update the username / password for all the services
57addressmanager: *serviceOverride
58fabric: *serviceOverride
59onos-service: *serviceOverride
60volt: *serviceOverride
61vsg-hw: *serviceOverride