966180022b7561e2570d2430667cc625dc39c2f9
[sdc.git] / sdc-os-chef / kubernetes / sdc / templates / configmaps / sdc-environment-configmap.yaml
1 ---
2 kind: ConfigMap
3 apiVersion: v1
4 metadata:
5   name: sdc-environment
6   namespace: onap-sdc
7 data:
8   AUTO.json: |
9     {
10        "name": "{{ .Values.env.name }}",
11        "description": "OpenSource-{{ .Values.env.name }}",
12        "cookbook_versions": {
13                 "Deploy-SDandC": "= 1.0.0"
14        },
15        "json_class": "Chef::Environment",
16        "chef_type": "environment",
17
18        "default_attributes": {
19             "CS_VIP": "{{ .Values.env.vip }}",
20             "BE_VIP": "{{ .Values.env.vip }}",
21             "FE_VIP": "{{ .Values.env.vip }}",
22             "ES_VIP": "{{ .Values.env.vip }}",
23             "interfaces": {
24                 "application": "eth0",
25                 "private": "eth0"
26             },
27             "ECompP": {
28                 "ecomp_rest_url": "http://portalapps.onap-portal:8989/ONAPPORTAL/auxapi",
29                 "ueb_url_list": "dmaap.onap-message-router,dmaap.onap-message-router",
30                 "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu",
31                 "app_key": "x9UfO7JsDn8BESVX",
32                 "inbox_name": "ECOMP-PORTAL-INBOX",
33                 "ecomp_redirect_url": "http://portalapps.onap-portal:8989/ONAPPORTAL/login.htm",
34                 "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
35                 "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
36             },
37             "UEB": {
38                 "PublicKey": "iPIxkpAMI8qTcQj8",
39                 "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
40                 "fqdn": ["dmaap.onap-message-router", "dmaap.onap-message-router"]
41             },
42             "Nodes": {
43                 "CS": "{{ .Values.env.nodeCS }}",
44                 "BE": "{{ .Values.env.nodeBE }}",
45                 "FE": "{{ .Values.env.nodeFE }}",
46                 "ES": "{{ .Values.env.nodeES }}"
47             },
48             "Designers": {
49                 "DCAE": {
50                     "dcae_host": "yyy",
51                     "dcae_port": "yyy",
52                     "dcae_path": "yyy",
53                     "dcae_protocol": "yyy"
54                 },
55                 "WORKFLOW": {
56                     "workflow_host": "yyy",
57                     "workflow_port": "yyy",
58                     "workflow_path": "yyy",
59                     "workflow_protocol": "yyy"
60                 }
61             }
62         },
63         "override_attributes": {
64             "FE": {
65                 "http_port": "8181",
66                 "https_port": "9443"
67             },
68             "BE": {
69                 "http_port": "8080",
70                 "https_port": "8443"
71             },
72             "elasticsearch": {
73                 "cluster_name": "SDC-ES-",
74                 "ES_path_home": "/usr/share/elasticsearch",
75                 "ES_path_data": "/usr/share/elasticsearch/data",
76                 "num_of_replicas": "0",
77                 "num_of_shards": "1"
78             },
79
80             "cassandra": {
81                 "concurrent_reads": "32",
82                 "num_tokens": "256",
83                 "data_dir": "/var/lib/cassandra/data",
84                 "hinted_handoff_enabled": "true",
85                 "cassandra_user": "asdc_user",
86                 "cassandra_password": "Aa1234%^!",
87                 "concurrent_writes": "32",
88                 "cluster_name": "SDC-CS-",
89                 "multithreaded_compaction": "false",
90                 "cache_dir": "/var/lib/cassandra/saved_caches",
91                 "log_file": "/var/lib/cassandra/log/system.log",
92                 "phi_convict_threshold": "8",
93                 "commitlog_dir": "/var/lib/cassandra/commitlog",
94                 "socket_read_timeout": "20000",
95                 "socket_connect_timeout": "20000",
96                 "titan_connection_timeout": "10000"
97             }
98         }
99     }