X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fnbi%2Fvalues.yaml;h=49c0592af29565263cb636d42d5d9eba6f8920bf;hb=2c1ba293ccef7dcaf09c46f5b0a8a36245238389;hp=3591d94cc1c0fab61710e59ed9d6f5f4a5db0efc;hpb=c03c938fb9d9ffac940797574a11f95b95f262fc;p=oom.git diff --git a/kubernetes/nbi/values.yaml b/kubernetes/nbi/values.yaml index 3591d94cc1..49c0592af2 100644 --- a/kubernetes/nbi/values.yaml +++ b/kubernetes/nbi/values.yaml @@ -19,7 +19,9 @@ global: nodePortPrefix: 302 mariadbGalera: &mariadbGalera - #This flag allows SO to instantiate its own mariadb-galera cluster + # 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 @@ -63,12 +65,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: @@ -77,6 +80,9 @@ mariadb-galera: internalPort: 3306 nameOverride: &nbi-galera nbi-galera replicaCount: 1 + mariadbOperator: + galera: + enabled: false persistence: enabled: true mountSubPath: nbi/maria/data @@ -151,14 +157,14 @@ flavor: small resources: small: limits: - cpu: 999 + cpu: 2 memory: 1Gi requests: cpu: 0.5 memory: 1Gi large: limits: - cpu: 999 + cpu: 4 memory: 2Gi requests: cpu: 1