Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / vfc / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 global:
16   config:
17     ssl_enabled: false
18     msbprotocol: http
19     msbServiceName: msb-iag
20     msbPort: 443
21     redisServiceName: vfc-redis
22     redisPort: 6379
23 # Becaue now oom can register the microservice to msb automatically,
24 # If it is set to false, vfc contanier will not register again, if it is
25 # set to true, vfc will register by itself.
26 # we use this flag to determine who is responbile for serice registeration
27 # and it can reduce duplicate registration.
28     reg_to_msb_when_start: False
29     mariadb_admin: &mariadbAdmin root
30   persistence:
31     mountPath: /dockerdata-nfs
32   mariadbGalera: &mariadbGalera
33     # flag to enable the DB creation via mariadb-operator
34     useOperator: true
35     #This flag allows VFC to instantiate its own mariadb-galera cluster
36     localCluster: false
37     service: mariadb-galera
38     internalPort: 3306
39     nameOverride: mariadb-galera
40   centralizedLoggingEnabled: true
41
42 #################################################################
43 # Secrets metaconfig
44 #################################################################
45 secrets:
46   - uid: db-root-pass
47     name: &dbRootPassSecret '{{ include "common.release" . }}-vfc-db-root-pass'
48     externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .) (hasSuffix "db-root-pass" (index .Values "mariadb-galera" "rootUser" "externalSecret"))}}'
49     login: '{{ index .Values "mariadb-galera" "rootUser" "user"  }}'
50     password: '{{ index .Values "mariadb-galera" "rootUser" "password"  }}'
51     type: password
52
53 # application configuration
54 config:
55   logstashServiceName: log-ls
56   logstashPort: 5044
57
58 mariadb-galera: &localMariadb
59   rootUser:
60     user: *mariadbAdmin
61   # password:
62     externalSecret: *dbRootPassSecret
63   nameOverride: &dbServer vfc-mariadb
64   service:
65     name: *dbServer
66     portName: *dbServer
67     internalPort: 3306
68   nfsprovisionerPrefix: vfc
69   persistence:
70     mountSubPath: vfc/data
71     enabled: true
72   disableNfsProvisioner: true
73   serviceAccount:
74     nameOverride: *dbServer
75   replicaCount: 1
76   mariadbOperator:
77     galera:
78       enabled: false
79
80 vfc-generic-vnfm-driver:
81   enabled: true
82   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
83
84 vfc-huawei-vnfm-driver:
85   enabled: true
86   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
87
88 vfc-nslcm:
89   enabled: true
90   mariadb-galera: *localMariadb
91   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
92
93 vfc-redis:
94   enabled: true
95
96 vfc-vnflcm:
97   enabled: true
98   mariadb-galera: *localMariadb
99   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
100
101 vfc-vnfmgr:
102   enabled: true
103   mariadb-galera: *localMariadb
104   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
105
106 vfc-vnfres:
107   enabled: true
108   mariadb-galera: *localMariadb
109   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
110
111 # sub-chart configuration
112 vfc-workflow:
113   service:
114     externalPort: 10550
115
116 vfc-workflow-engine:
117   config:
118     workflowPort: 10550
119
120 vfc-zte-vnfm-driver:
121   enabled: true
122   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'