1fd004f2bd024f6028aaaff2847c6088aa699ad7
[oom.git] / kubernetes / dcaegen2 / charts / dcae-servicechange-handler / charts / dcae-inventory-api / values.yaml
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
27   repositoryCred:
28     user: docker
29     password: docker
30
31 config:
32   logstashServiceName: log-ls
33   logstashPort: 5044
34   # Addresses of other ONAP entities
35   address:
36     consul:
37       host: consul-server
38       port: 8500
39
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
43 # application image
44 repository: nexus3.onap.org:10001
45 image: onap/org.onap.dcaegen2.platform.inventory-api:3.0.4
46
47 pullPolicy: Always
48
49 # probe configuration parameters
50 liveness:
51   initialDelaySeconds: 10
52   periodSeconds: 10
53   # necessary to disable liveness probe when setting breakpoints
54   # in debugger so K8s doesn't restart unresponsive container
55   # liveness not desirable for Cloudify Manager container
56   enabled: false
57
58 readiness:
59   initialDelaySeconds: 30
60   periodSeconds: 30
61   path: /dcae-service-types
62
63 service:
64   type: ClusterIP
65   name: inventory
66   externalPort: 8080
67   internalPort: 8080
68
69 # application configuration override for postgres
70 postgres:
71   nameOverride: dcae-inv-pg
72   service:
73     name: dcae-inv-postgres
74     name2: dcae-inv-pg-primary
75     name3: dcae-inv-pg-replica
76   container:
77     name:
78       primary: dcae-inv-pg-primary
79       replica: dcae-inv-pg-replica
80   config:
81     pgUserName: dcae_inv
82     pgDatabase: dcae_inventory
83     pgPrimaryPassword: onapdemodb
84     pgUserPassword: onapdemodb
85     pgRootPassword: onapdemodb
86   persistence:
87     mountSubPath: dcae-inv/data
88     mountInitPath: dcae-inv
89   pgpool:
90     nameOverride: dcae-inv-pgpool
91     service:
92       name: dcae-inv-pgpool
93     credentials:
94       pgusername: ddcae_inv
95       pgpassword: onapdemodb
96     container:
97       name:
98         primary: dcae-inv-pgpool-primary
99         replica: dcae-inv-pgpool-replica
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"