X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fvfc%2Fvalues.yaml;h=0560832a5f492b5e0601c2e16a2296ae0d2f3053;hb=21349802fd5b6aea04b66630f108b3603930c7c4;hp=eb6638b18bc347b3c0c29443ddf8b17183047b36;hpb=5a497debc75a095133c2e7dd9829d356c2e5fd84;p=oom.git diff --git a/kubernetes/vfc/values.yaml b/kubernetes/vfc/values.yaml index eb6638b18b..0560832a5f 100644 --- a/kubernetes/vfc/values.yaml +++ b/kubernetes/vfc/values.yaml @@ -18,40 +18,79 @@ global: msbprotocol: https msbServiceName: msb-iag msbPort: 443 - dbServiceName: vfc-db - dbPort: 3306 - dbUser: root - mariadbRootPassword: secretpassword 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: root persistence: mountPath: /dockerdata-nfs +################################################################# +# Secrets metaconfig +################################################################# +secrets: + - uid: "db-root-pass" + name: &dbRootPassSecret '{{ include "common.release" . }}-vfc-db-root-pass' + type: password + password: '{{ .Values.config.mariadbRootPassword }}' + # application configuration config: logstashServiceName: log-ls logstashPort: 5044 mariadb-galera: - nameOverride: vfc-mariadb - service: - name: vfc-db - portName: vfc-db + rootUser: + externalSecret: *dbRootPassSecret + nameOverride: &vfc-mariadb vfc-mariadb nfsprovisionerPrefix: vfc persistence: mountSubPath: vfc/data enabled: true disableNfsProvisioner: true + serviceAccount: + nameOverride: *vfc-mariadb + replicaCount: 1 + +db: &dbConfig + mariadbService: vfc-mariadb + mariadbPort: 3306 + mariadbRootPasswordExternalSecret: *dbRootPassSecret + +vfc-generic-vnfm-driver: + enabled: true -catalog: +vfc-huawei-vnfm-driver: + enabled: true + +vfc-nslcm: + enabled: true config: - dbPodName: vfc-db - dbServiceName: vfc-db -nslcm: + << : *dbConfig + +vfc-redis: + enabled: true + +vfc-vnflcm: + enabled: true config: - dbPodName: vfc-db - dbServiceName: vfc-db + << : *dbConfig + +vfc-vnfmgr: + enabled: true + config: + << : *dbConfig + +vfc-vnfres: + enabled: true + config: + << : *dbConfig + # sub-chart configuration vfc-workflow: service: @@ -60,3 +99,6 @@ vfc-workflow: vfc-workflow-engine: config: workflowPort: 10550 + +vfc-zte-vnfm-driver: + enabled: true