Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / sdnc / components / sdnc-ansible-server / resources / config / RestServer_config
1 {{/*
2 # Copyright © 2017 AT&T, Amdocs, Bell Canada
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 */}}
16
17 # Host definition
18 ip:     0.0.0.0
19 port:   {{.Values.service.internalPort}}
20
21 # Security (controls use of TLS encrypton and RestServer authentication)
22 tls:    no
23 auth:   no
24
25 # TLS certificates (must be built on application host)
26 priv:   provide_privated_key.pem
27 pub:    provide_public_key.pem
28
29 # RestServer authentication
30 id:     ${REST_USER}
31 psswd:  ${REST_PASSWORD}
32
33 # Mysql
34 host:   {{ include "common.mariadbService" $ }}
35 user:   ${DB_USER}
36 passwd: ${DB_PASSWORD}
37 db:     {{ index .Values "mariadb-galera" "config" "mysqlDatabase" }}
38
39 # Playbooks
40 from_files:             yes
41 ansible_path:           /opt/onap/sdnc/Playbooks
42 ansible_inv:            Ansible_inventory
43 ansible_temp:           PlaybooksTemp
44 timeout_seconds:        60
45
46 # Blocking on GetResults
47 getresults_block:       yes