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