[VFC] Service Mesh Compatibility
[oom.git] / kubernetes / vfc / values.yaml
index 5bd6b09..a0b69e0 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-nsPrefix: onap
-pullPolicy: IfNotPresent
-msbaddr: msb-iag.{{ .Values.nsPrefix }}:80
-nslcm:
-  image: nexus3.onap.org:10001/onap/vfc/nslcm:v1.0.2
-  port: 8403
-  nodePort: 30403
-  replicas: 1
-resmgr:
-  image: nexus3.onap.org:10001/onap/vfc/resmanagement:v1.0.0
-  port: 8480
-  nodePort: 30480
-  replicas: 1
-gvnfmdriver:
-  image: nexus3.onap.org:10001/onap/vfc/gvnfmdriver:v1.0.1
-  port: 8484
-  nodePort: 30484
-  replicas: 1
-ztevnfmdriver:
-  image: nexus3.onap.org:10001/onap/vfc/ztevnfmdriver:v1.0.2
-  port: 8410
-  nodePort: 30410
-  replicas: 1
-hwvnfmdriver:
-  image: nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/huawei:v1.0.2
-  port: 8482
-  nodePort: 30482
-  replicas: 1
-ztesdncdriver:
-  image: nexus3.onap.org:10001/onap/vfc/ztesdncdriver:v1.0.0
-  port: 8411
-  nodePort: 30411
-  replicas: 1
-nokiavnfmdriver:
-  image: nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/nokia:v1.0.2
-  port: 8486
-  nodePort: 30412
-  replicas: 1
-nokiav2vnfmdriver:
-  image: nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/nokiav2:1.1.0-STAGING-latest
-  port: 8089
-  nodePort: 30413
-  replicas: 1
-jujudriver:
-  image: nexus3.onap.org:10001/onap/vfc/jujudriver:v1.0.0
-  port: 8483
-  nodePort: 30483
-  replicas: 1
-vnflcm:
-  image: nexus3.onap.org:10001/onap/vfc/vnflcm:v1.0.1
-  port: 8801
-  nodePort: 30801
-  replicas: 1
-vnfres:
-  image: nexus3.onap.org:10001/onap/vfc/vnfres:v1.0.1
-  port: 8802
-  nodePort: 30802
-  replicas: 1
-vnfmgr:
-  image: nexus3.onap.org:10001/onap/vfc/vnfmgr:v1.0.1
-  port: 8803
-  nodePort: 30803
-  replicas: 1
-emsdriver:
-  image: nexus3.onap.org:10001/onap/vfc/emsdriver:v1.0.1
-  port: 8206
-  nodePort: 30296
-  replicas: 1
-workflow:
-  image: nexus3.onap.org:10001/onap/vfc/wfengine-mgrservice:v1.0.0
-  port: 10550
-  nodePort: 30805
-  replicas: 1
-workflowengineactiviti:
-  image: nexus3.onap.org:10001/onap/vfc/wfengine-activiti:v1.0.0
-  port: 8080
-  nodePort: 30807
-  replicas: 1
-catalog:
-  image: nexus3.onap.org:10001/onap/vfc/catalog:v1.0.2
-  port: 8806
-  nodePort: 30806
-  replicas: 1
+global:
+  config:
+    ssl_enabled: false
+    msbprotocol: http
+    msbServiceName: msb-iag
+    msbPort: 443
+    redisServiceName: vfc-redis
+    redisPort: 6379
+# Becaue now oom can register the microservice to msb automatically,
+# If it is set to false, vfc contanier will not register again, if it is
+# set to true, vfc will register by itself.
+# we use this flag to determine who is responbile for serice registeration
+# and it can reduce duplicate registration.
+    reg_to_msb_when_start: False
+    mariadb_admin: &mariadbAdmin root
+  persistence:
+    mountPath: /dockerdata-nfs
+  mariadbGalera: &mariadbGalera
+    #This flag allows VFC to instantiate its own mariadb-galera cluster
+    localCluster: false
+    service: mariadb-galera
+    internalPort: 3306
+    nameOverride: mariadb-galera
+  centralizedLoggingEnabled: true
+
+#################################################################
+# Secrets metaconfig
+#################################################################
+secrets:
+  - uid: db-root-pass
+    name: &dbRootPassSecret '{{ include "common.release" . }}-vfc-db-root-pass'
+    externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .) (hasSuffix "db-root-pass" (index .Values "mariadb-galera" "rootUser" "externalSecret"))}}'
+    login: '{{ index .Values "mariadb-galera" "rootUser" "user"  }}'
+    password: '{{ index .Values "mariadb-galera" "rootUser" "password"  }}'
+    type: password
+
+# application configuration
+config:
+  logstashServiceName: log-ls
+  logstashPort: 5044
+
+mariadb-galera: &localMariadb
+  rootUser:
+    user: *mariadbAdmin
+  # password:
+    externalSecret: *dbRootPassSecret
+  nameOverride: &dbServer vfc-mariadb
+  nfsprovisionerPrefix: vfc
+  persistence:
+    mountSubPath: vfc/data
+    enabled: true
+  disableNfsProvisioner: true
+  serviceAccount:
+    nameOverride: *dbServer
+  replicaCount: 1
+
+vfc-generic-vnfm-driver:
+  enabled: true
+  logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
+
+vfc-huawei-vnfm-driver:
+  enabled: true
+  logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
+
+vfc-nslcm:
+  enabled: true
+  mariadb-galera: *localMariadb
+  logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
+
+vfc-redis:
+  enabled: true
+
+vfc-vnflcm:
+  enabled: true
+  mariadb-galera: *localMariadb
+  logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
+
+vfc-vnfmgr:
+  enabled: true
+  mariadb-galera: *localMariadb
+  logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
+
+vfc-vnfres:
+  enabled: true
+  mariadb-galera: *localMariadb
+  logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'
+
+# sub-chart configuration
+vfc-workflow:
+  service:
+    externalPort: 10550
+
+vfc-workflow-engine:
+  config:
+    workflowPort: 10550
+
+vfc-zte-vnfm-driver:
+  enabled: true
+  logConfigMapNamePrefix: '{{ include "common.release" . }}-vfc'