blob: 058768ea08d47871604df830e1f2e2c72135b30a [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
25 readinessRepository: oomk8s
26 readinessImage: readiness-check:2.0.0
27
28config:
29 dbURL: jdbc:h2:./database/nifi-registry-primary
30 dbUser: nobody
31 dbPassword: nobody
32
33secrets:
34 - uid: "dbsecret"
35 type: basicAuth
36 login: '{{ .Values.config.dbUser }}'
37 password: '{{ .Values.config.dbPassword }}'
38 passwordPolicy: generate
39
40# application image
41repository: docker.io
42image: apache/nifi-registry:0.5.0
43
44service:
45 type: ClusterIP
46 name: dcaemod-nifi-registry
47 ports:
48 - name: http
49 port: 18080
50
51# probe configuration parameters
52liveness:
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
60readiness:
61 initialDelaySeconds: 60
62 periodSeconds: 20
63 port: http
64 # Should have a proper readiness endpoint or script
65
66# Parameters for persistent storage
67persistence:
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
76flavor: small
77# Segregation for Different environment (Small and Large)
78resources:
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: {}