[GENERAL] Use readiness container v3.0.1
[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   readinessImage: onap/oom/readiness:3.0.1
24   loggingRepository: docker.elastic.co
25   loggingImage: beats/filebeat:5.5.0
26   tlsRepository: nexus3.onap.org:10001
27   tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
28   envsubstImage: dibi/envsubst
29   repositoryCred:
30     user: docker
31     password: docker
32
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
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
56 image: onap/org.onap.dcaegen2.platform.inventory-api:3.4.1
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
73   scheme: HTTPS
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
94     pgUserExternalSecret: *pgUserCredsSecretName
95     pgDatabase: dcae_inventory
96   persistence:
97     mountSubPath: dcae-inv/data
98     mountInitPath: dcae-inv
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"