Merge "[VFC] Uses new tpls for repos / images"
[oom.git] / kubernetes / dcaemod / components / dcaemod-nifi-registry / values.yaml
1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2019-2020 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   persistence: {}
23   nodePortPrefix: 302
24   nodePortPrefixExt: 304
25   readinessImage: onap/oom/readiness:3.0.1
26
27 config:
28   dbURL: jdbc:h2:./database/nifi-registry-primary
29   dbUser: nobody
30   dbPassword: nobody
31
32 secrets:
33   - uid: "dbsecret"
34     type: basicAuth
35     login: '{{ .Values.config.dbUser }}'
36     password: '{{ .Values.config.dbPassword }}'
37     passwordPolicy: generate
38
39 # application image
40 repository: docker.io
41 image: apache/nifi-registry:0.5.0
42
43 service:
44     type: ClusterIP
45     name: dcaemod-nifi-registry
46     ports:
47       - name: http
48         port: 18080
49
50 # probe configuration parameters
51 liveness:
52   initialDelaySeconds: 60
53   periodSeconds: 30
54   # necessary to disable liveness probe when setting breakpoints
55   # in debugger so K8s doesn't restart unresponsive container
56   enabled: true
57   port: http
58
59 readiness:
60   initialDelaySeconds: 60
61   periodSeconds: 20
62   port: http
63   # Should have a proper readiness endpoint or script
64
65 # Parameters for persistent storage
66 persistence:
67     enabled: true
68     accessMode: ReadWriteOnce
69     size: 4Gi
70     mountPath: /dockerdata-nfs
71     mountSubPath: dcae-mod-nifi-registry/data
72     volumeReclaimPolicy: Retain
73
74 # Resource Limit flavor -By Default using small
75 flavor: small
76 # Segregation for Different environment (Small and Large)
77 resources:
78   small:
79     limits:
80       cpu: 2
81       memory: 2Gi
82     requests:
83       cpu: 1
84       memory: 1Gi
85   large:
86     limits:
87       cpu: 4
88       memory: 4Gi
89     requests:
90       cpu: 2
91       memory: 2Gi
92   unlimited: {}