blob: 02028f5117676114a4c08e329d42b10425b3b512 [file] [log] [blame]
Jack Lucas7723ffe2020-02-13 17:19:01 -05001#============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#################################################################
21global:
22 persistence: {}
23 nodePortPrefix: 302
24 nodePortPrefixExt: 304
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020025 readinessImage: onap/oom/readiness:3.0.1
Jack Lucas7723ffe2020-02-13 17:19:01 -050026
27config:
28 dbURL: jdbc:h2:./database/nifi-registry-primary
29 dbUser: nobody
30 dbPassword: nobody
31
32secrets:
33 - uid: "dbsecret"
34 type: basicAuth
35 login: '{{ .Values.config.dbUser }}'
36 password: '{{ .Values.config.dbPassword }}'
37 passwordPolicy: generate
38
39# application image
40repository: docker.io
41image: apache/nifi-registry:0.5.0
42
43service:
44 type: ClusterIP
45 name: dcaemod-nifi-registry
46 ports:
47 - name: http
48 port: 18080
49
50# probe configuration parameters
51liveness:
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
59readiness:
60 initialDelaySeconds: 60
61 periodSeconds: 20
62 port: http
63 # Should have a proper readiness endpoint or script
64
65# Parameters for persistent storage
66persistence:
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
75flavor: small
76# Segregation for Different environment (Small and Large)
77resources:
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: {}