diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-02-21 20:11:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-02-21 20:11:18 +0000 |
commit | 4550a8af1287a06b63da220eda3314eb887d0b96 (patch) | |
tree | 2e90ad71f27970aa78ac237866316ae384c2c518 /kubernetes/sdnc/charts/sdnc-ansible-server/resources/config/RestServer_config | |
parent | 4c8ba68ab58d633c391c2e9d0ca5ee0223ae27f7 (diff) | |
parent | b9d50c917cc9eb507483be32587f42d567c827dd (diff) |
Merge "[SDNC] Use common secret template in ansible-server"
Diffstat (limited to 'kubernetes/sdnc/charts/sdnc-ansible-server/resources/config/RestServer_config')
-rw-r--r-- | kubernetes/sdnc/charts/sdnc-ansible-server/resources/config/RestServer_config | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kubernetes/sdnc/charts/sdnc-ansible-server/resources/config/RestServer_config b/kubernetes/sdnc/charts/sdnc-ansible-server/resources/config/RestServer_config index eb88d7236b..7dc5c19e12 100644 --- a/kubernetes/sdnc/charts/sdnc-ansible-server/resources/config/RestServer_config +++ b/kubernetes/sdnc/charts/sdnc-ansible-server/resources/config/RestServer_config @@ -13,33 +13,33 @@ # limitations under the License. # Host definition -ip: 0.0.0.0 -port: {{.Values.service.internalPort}} +ip: 0.0.0.0 +port: {{.Values.service.internalPort}} # Security (controls use of TLS encrypton and RestServer authentication) -tls: no -auth: no +tls: no +auth: no # TLS certificates (must be built on application host) -priv: provide_privated_key.pem -pub: provide_public_key.pem +priv: provide_privated_key.pem +pub: provide_public_key.pem # RestServer authentication -id: sdnc -psswd: sdnc +id: ${REST_USER} +psswd: ${REST_PASSWORD} # Mysql -host: {{.Values.config.mariadbGalera.serviceName}} -user: sdnc -passwd: sdnc -db: ansible +host: {{ include "common.mariadbService" $ }} +user: ${DB_USER} +passwd: ${DB_PASSWORD} +db: {{ index .Values "mariadb-galera" "config" "mysqlDatabase" }} # Playbooks -from_files: yes -ansible_path: /opt/onap/sdnc/Playbooks -ansible_inv: Ansible_inventory -ansible_temp: PlaybooksTemp -timeout_seconds: 60 +from_files: yes +ansible_path: /opt/onap/sdnc/Playbooks +ansible_inv: Ansible_inventory +ansible_temp: PlaybooksTemp +timeout_seconds: 60 # Blocking on GetResults -getresults_block: yes +getresults_block: yes |