X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fnbi%2Fvalues.yaml;h=d8e5f0d6971a89f67bf7469089138ca064cd5c02;hb=cde4a784a593555c17146635dcc25013872cabc5;hp=a1f6527f5dbb935c29e240b37c724d4f43a59057;hpb=cfd8434fe9484b9219560159094b174421d6d6a2;p=oom.git diff --git a/kubernetes/nbi/values.yaml b/kubernetes/nbi/values.yaml index a1f6527f5d..d8e5f0d697 100644 --- a/kubernetes/nbi/values.yaml +++ b/kubernetes/nbi/values.yaml @@ -19,15 +19,26 @@ global: nodePortPrefix: 302 mariadbGalera: &mariadbGalera + # flag to enable the DB creation via mariadb-operator + useOperator: true #This flag allows NBI to instantiate its own mariadb-galera cluster #When changing it to "true", also set "globalCluster: false" #as the dependency check will not work otherwise (Chart.yaml) localCluster: false globalCluster: true - service: mariadb-galera-primary + service: mariadb-galera internalPort: 3306 nameOverride: mariadb-galera msbEnabled: false + # Docker Repository used by RepositoryGenerator + dockerHubRepository: docker.io + # Additions for MongoDB**************************** + # If dockerHubRepository is changes the following entry needs + # to be changed as well + imageRegistry: docker.io + imagePullSecrets: + - '{{ include "common.names.namespace" . }}-docker-registry-key' + # ************************************************* ################################################################# # Secrets metaconfig @@ -63,12 +74,13 @@ config: openStackRegion: RegionOne openStackVNFTenantId: 31047205ce114b60833b23e400d6a535 db: - userName: rene + userName: &dbuser rene # userPassword: password # userCredentialsExternalSecret: some-secret mariadb-galera: db: + user: *dbuser externalSecret: *dbUserSecretName name: &mysqlDbName nbi service: @@ -94,19 +106,25 @@ mariadb-init: serviceAccount: nameOverride: nbi-config -mongo: +mongodb: nameOverride: nbi-mongo config: - dbName: ServiceOrderDB + dbName: &mongoDBName ServiceOrderDB + auth: + enabled: false + databases: + - *mongoDBName + usernames: + - "nbi" service: - name: nbi-mongohost + nameOverride: nbi-mongohost internalPort: 27017 - nfsprovisionerPrefix: nbi - sdnctlPrefix: nbi - persistence: - mountSubPath: nbi/mongo/data - enabled: true - disableNfsProvisioner: true + #nfsprovisionerPrefix: nbi + #sdnctlPrefix: nbi + #persistence: + # mountSubPath: nbi/mongo/data + # enabled: true + #disableNfsProvisioner: true # default number of instances @@ -154,18 +172,18 @@ flavor: small resources: small: limits: - cpu: 999 - memory: 1Gi + cpu: "2" + memory: "1Gi" requests: - cpu: 0.5 - memory: 1Gi + cpu: "0.5" + memory: "1Gi" large: limits: - cpu: 999 - memory: 2Gi + cpu: "4" + memory: "2Gi" requests: - cpu: 1 - memory: 2Gi + cpu: "1" + memory: "2Gi" unlimited: {} #Pods Service Account