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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 23 | readinessImage: onap/oom/readiness:3.0.1 |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 24 | loggingRepository: docker.elastic.co |
| 25 | loggingImage: beats/filebeat:5.5.0 |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 26 | tlsRepository: nexus3.onap.org:10001 |
Jack Lucas | c686131 | 2020-03-03 15:57:59 -0500 | [diff] [blame] | 27 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
Krzysztof Opasiak | bb48fc8 | 2020-05-05 11:36:30 +0200 | [diff] [blame] | 28 | envsubstImage: dibi/envsubst |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 29 | repositoryCred: |
| 30 | user: docker |
| 31 | password: docker |
| 32 | |
Krzysztof Opasiak | bb48fc8 | 2020-05-05 11:36:30 +0200 | [diff] [blame] | 33 | secrets: |
| 34 | - uid: pg-user-creds |
| 35 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-inventory-api-pg-user-creds' |
| 36 | type: basicAuth |
| 37 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-inventory-api-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 38 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 39 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 40 | passwordPolicy: generate |
| 41 | |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 42 | config: |
| 43 | logstashServiceName: log-ls |
| 44 | logstashPort: 5044 |
| 45 | # Addresses of other ONAP entities |
| 46 | address: |
| 47 | consul: |
| 48 | host: consul-server |
| 49 | port: 8500 |
| 50 | |
| 51 | ################################################################# |
| 52 | # Application configuration defaults. |
| 53 | ################################################################# |
| 54 | # application image |
| 55 | repository: nexus3.onap.org:10001 |
vv770d | 2ec85e3 | 2020-09-21 20:16:16 +0000 | [diff] [blame^] | 56 | image: onap/org.onap.dcaegen2.platform.inventory-api:3.5.1 |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 57 | |
| 58 | pullPolicy: Always |
| 59 | |
| 60 | # probe configuration parameters |
| 61 | liveness: |
| 62 | initialDelaySeconds: 10 |
| 63 | periodSeconds: 10 |
| 64 | # necessary to disable liveness probe when setting breakpoints |
| 65 | # in debugger so K8s doesn't restart unresponsive container |
| 66 | # liveness not desirable for Cloudify Manager container |
| 67 | enabled: false |
| 68 | |
| 69 | readiness: |
| 70 | initialDelaySeconds: 30 |
| 71 | periodSeconds: 30 |
| 72 | path: /dcae-service-types |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 73 | scheme: HTTPS |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 74 | |
| 75 | service: |
| 76 | type: ClusterIP |
| 77 | name: inventory |
| 78 | externalPort: 8080 |
| 79 | internalPort: 8080 |
| 80 | |
| 81 | # application configuration override for postgres |
| 82 | postgres: |
| 83 | nameOverride: dcae-inv-pg |
| 84 | service: |
| 85 | name: dcae-inv-postgres |
| 86 | name2: dcae-inv-pg-primary |
| 87 | name3: dcae-inv-pg-replica |
| 88 | container: |
| 89 | name: |
| 90 | primary: dcae-inv-pg-primary |
| 91 | replica: dcae-inv-pg-replica |
| 92 | config: |
| 93 | pgUserName: dcae_inv |
Krzysztof Opasiak | bb48fc8 | 2020-05-05 11:36:30 +0200 | [diff] [blame] | 94 | pgUserExternalSecret: *pgUserCredsSecretName |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 95 | pgDatabase: dcae_inventory |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 96 | persistence: |
| 97 | mountSubPath: dcae-inv/data |
| 98 | mountInitPath: dcae-inv |
Jack Lucas | 6fae763 | 2019-01-25 11:46:00 -0500 | [diff] [blame] | 99 | |
| 100 | # Resource Limit flavor -By Default using small |
| 101 | flavor: small |
| 102 | # Segregation for Different environment (Small and Large) |
| 103 | resources: |
| 104 | small: |
| 105 | limits: |
| 106 | cpu: 2 |
| 107 | memory: 2Gi |
| 108 | requests: |
| 109 | cpu: 1 |
| 110 | memory: 1Gi |
| 111 | large: |
| 112 | limits: |
| 113 | cpu: 4 |
| 114 | memory: 4Gi |
| 115 | requests: |
| 116 | cpu: 2 |
| 117 | memory: 2Gi |
| 118 | unlimited: {} |
| 119 | # Kubernetes namespace for components deployed via Cloudify manager |
| 120 | # If empty, use the common namespace |
| 121 | # dcae_ns: "dcae" |