blob: 2d9f826065953bb43c12995750e88e3f8643b080 [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:
31 name: "my_site"
32 abbreviated_name: "my_site"
33 login_base: "my_site"
34 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:
46 name: "my_site"
47 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