DCAE R6 updates
[oom.git] / kubernetes / dcaegen2 / components / 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   tlsRepository: nexus3.onap.org:10001
28   tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
29   repositoryCred:
30     user: docker
31     password: docker
32
33 config:
34   logstashServiceName: log-ls
35   logstashPort: 5044
36   # Addresses of other ONAP entities
37   address:
38     consul:
39       host: consul-server
40       port: 8500
41
42 #################################################################
43 # Application configuration defaults.
44 #################################################################
45 # application image
46 repository: nexus3.onap.org:10001
47 image: onap/org.onap.dcaegen2.platform.inventory-api:3.4.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   scheme: HTTPS
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
85     pgDatabase: dcae_inventory
86     pgPrimaryPassword: onapdemodb
87     pgUserPassword: onapdemodb
88     pgRootPassword: onapdemodb
89   persistence:
90     mountSubPath: dcae-inv/data
91     mountInitPath: dcae-inv
92   pgpool:
93     nameOverride: dcae-inv-pgpool
94     service:
95       name: dcae-inv-pgpool
96     credentials:
97       pgusername: ddcae_inv
98       pgpassword: onapdemodb
99     container:
100       name:
101         primary: dcae-inv-pgpool-primary
102         replica: dcae-inv-pgpool-replica
103
104 # Resource Limit flavor -By Default using small
105 flavor: small
106 # Segregation for Different environment (Small and Large)
107 resources:
108   small:
109     limits:
110       cpu: 2
111       memory: 2Gi
112     requests:
113       cpu: 1
114       memory: 1Gi
115   large:
116     limits:
117       cpu: 4
118       memory: 4Gi
119     requests:
120       cpu: 2
121       memory: 2Gi
122   unlimited: {}
123 # Kubernetes namespace for components deployed via Cloudify manager
124 # If empty, use the common namespace
125 # dcae_ns: "dcae"