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