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