[DMAAP] DMaaP ServiceMesh compatibility
[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: https
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     #This flag allows VFC to instantiate its own mariadb-galera cluster
34     localCluster: false
35     service: mariadb-galera
36     internalPort: 3306
37     nameOverride: mariadb-galera
38   centralizedLoggingEnabled: true
39
40 #################################################################
41 # Secrets metaconfig
42 #################################################################
43 secrets:
44   - uid: db-root-pass
45     name: &dbRootPassSecret '{{ include "common.release" . }}-vfc-db-root-pass'
46     externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .) (hasSuffix "db-root-pass" (index .Values "mariadb-galera" "rootUser" "externalSecret"))}}'
47     login: '{{ index .Values "mariadb-galera" "rootUser" "user"  }}'
48     password: '{{ index .Values "mariadb-galera" "rootUser" "password"  }}'
49     type: password
50
51 # application configuration
52 config:
53   logstashServiceName: log-ls
54   logstashPort: 5044
55
56 mariadb-galera: &localMariadb
57   rootUser:
58     user: *mariadbAdmin
59   # password:
60     externalSecret: *dbRootPassSecret
61   nameOverride: &dbServer vfc-mariadb
62   nfsprovisionerPrefix: vfc
63   persistence:
64     mountSubPath: vfc/data
65     enabled: true
66   disableNfsProvisioner: true
67   serviceAccount:
68     nameOverride: *dbServer
69   replicaCount: 1
70
71 vfc-generic-vnfm-driver:
72   enabled: true
73   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
74
75 vfc-huawei-vnfm-driver:
76   enabled: true
77   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
78
79 vfc-nslcm:
80   enabled: true
81   mariadb-galera: *localMariadb
82   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
83
84 vfc-redis:
85   enabled: true
86
87 vfc-vnflcm:
88   enabled: true
89   mariadb-galera: *localMariadb
90   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
91
92 vfc-vnfmgr:
93   enabled: true
94   mariadb-galera: *localMariadb
95   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
96
97 vfc-vnfres:
98   enabled: true
99   mariadb-galera: *localMariadb
100   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
101
102 # sub-chart configuration
103 vfc-workflow:
104   service:
105     externalPort: 10550
106
107 vfc-workflow-engine:
108   config:
109     workflowPort: 10550
110
111 vfc-zte-vnfm-driver:
112   enabled: true
113   logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'