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