Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
| 3 | # Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
| 18 | ################################################################# |
| 19 | # Global configuration defaults. |
| 20 | ################################################################# |
| 21 | global: |
| 22 | nodePortPrefix: 302 |
Jack Lucas | c686131 | 2020-03-03 15:57:59 -0500 | [diff] [blame] | 23 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 24 | |
Krzysztof Opasiak | bb48fc8 | 2020-05-05 11:36:30 +0200 | [diff] [blame] | 25 | secrets: |
| 26 | - uid: pg-user-creds |
| 27 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-inventory-api-pg-user-creds' |
| 28 | type: basicAuth |
| 29 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-inventory-api-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 30 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 31 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 32 | passwordPolicy: generate |
| 33 | |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 34 | config: |
| 35 | logstashServiceName: log-ls |
| 36 | logstashPort: 5044 |
| 37 | # Addresses of other ONAP entities |
| 38 | address: |
| 39 | consul: |
| 40 | host: consul-server |
| 41 | port: 8500 |
| 42 | |
| 43 | ################################################################# |
| 44 | # Application configuration defaults. |
| 45 | ################################################################# |
| 46 | # application image |
vv770d | 2ec85e3 | 2020-09-21 20:16:16 +0000 | [diff] [blame] | 47 | image: onap/org.onap.dcaegen2.platform.inventory-api:3.5.1 |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 48 | |
| 49 | pullPolicy: Always |
| 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
| 53 | initialDelaySeconds: 10 |
| 54 | periodSeconds: 10 |
| 55 | # necessary to disable liveness probe when setting breakpoints |
| 56 | # in debugger so K8s doesn't restart unresponsive container |
| 57 | # liveness not desirable for Cloudify Manager container |
| 58 | enabled: false |
| 59 | |
| 60 | readiness: |
| 61 | initialDelaySeconds: 30 |
| 62 | periodSeconds: 30 |
| 63 | path: /dcae-service-types |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 64 | scheme: HTTPS |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 65 | |
| 66 | service: |
| 67 | type: ClusterIP |
| 68 | name: inventory |
| 69 | externalPort: 8080 |
| 70 | internalPort: 8080 |
| 71 | |
| 72 | # application configuration override for postgres |
| 73 | postgres: |
| 74 | nameOverride: dcae-inv-pg |
| 75 | service: |
| 76 | name: dcae-inv-postgres |
| 77 | name2: dcae-inv-pg-primary |
| 78 | name3: dcae-inv-pg-replica |
| 79 | container: |
| 80 | name: |
| 81 | primary: dcae-inv-pg-primary |
| 82 | replica: dcae-inv-pg-replica |
| 83 | config: |
| 84 | pgUserName: dcae_inv |
Krzysztof Opasiak | bb48fc8 | 2020-05-05 11:36:30 +0200 | [diff] [blame] | 85 | pgUserExternalSecret: *pgUserCredsSecretName |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 86 | pgDatabase: dcae_inventory |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 87 | persistence: |
| 88 | mountSubPath: dcae-inv/data |
| 89 | mountInitPath: dcae-inv |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 90 | |
| 91 | # Resource Limit flavor -By Default using small |
| 92 | flavor: small |
| 93 | # Segregation for Different environment (Small and Large) |
| 94 | resources: |
| 95 | small: |
| 96 | limits: |
| 97 | cpu: 2 |
| 98 | memory: 2Gi |
| 99 | requests: |
| 100 | cpu: 1 |
| 101 | memory: 1Gi |
| 102 | large: |
| 103 | limits: |
| 104 | cpu: 4 |
| 105 | memory: 4Gi |
| 106 | requests: |
| 107 | cpu: 2 |
| 108 | memory: 2Gi |
| 109 | unlimited: {} |
| 110 | # Kubernetes namespace for components deployed via Cloudify manager |
| 111 | # If empty, use the common namespace |
| 112 | # dcae_ns: "dcae" |