5be3b34c4ed463793a5c6c736508d0a7b2f02b30
[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
46 # need the version to be separate because it's used in 2 places
47 image_version: 3.0.1
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
64
65 service:
66   type: ClusterIP
67   name: inventory
68   externalPort: 8080
69   internalPort: 8080
70
71 # application configuration override for postgres
72 postgres:
73   nameOverride: dcae-inv-pg
74   service:
75     name: dcae-inv-postgres
76     name2: dcae-inv-pg-primary
77     name3: dcae-inv-pg-replica
78   container:
79     name:
80       primary: dcae-inv-pg-primary
81       replica: dcae-inv-pg-replica
82   config:
83     pgUserName: dcae_inv
84     pgDatabase: dcae_inventory
85     pgPrimaryPassword: onapdemodb
86     pgUserPassword: onapdemodb
87     pgRootPassword: onapdemodb
88   persistence:
89     mountSubPath: dcae-inv/data
90     mountInitPath: dcae-inv
91   pgpool:
92     nameOverride: dcae-inv-pgpool
93     service:
94       name: dcae-inv-pgpool
95     credentials:
96       pgusername: ddcae_inv
97       pgpassword: onapdemodb
98     container:
99       name:
100         primary: dcae-inv-pgpool-primary
101         replica: dcae-inv-pgpool-replica
102
103 # Resource Limit flavor -By Default using small
104 flavor: small
105 # Segregation for Different environment (Small and Large)
106 resources:
107   small:
108     limits:
109       cpu: 2
110       memory: 2Gi
111     requests:
112       cpu: 1
113       memory: 1Gi
114   large:
115     limits:
116       cpu: 4
117       memory: 4Gi
118     requests:
119       cpu: 2
120       memory: 2Gi
121   unlimited: {}
122 # Kubernetes namespace for components deployed via Cloudify manager
123 # If empty, use the common namespace
124 # dcae_ns: "dcae"