blob: 89cfd4d8d97de84fb6ce10ad8c7d9137c50d44f5 [file] [log] [blame]
Shane Daniel6974d1b2018-06-15 15:04:53 +00001# Copyright © 2018 Amdocs
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020020
21#################################################################
22# Secrets metaconfig
23#################################################################
24secrets:
25 - uid: db-secret
26 type: basicAuth
27 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
28 login: '{{ .Values.db.user }}'
29 password: '{{ .Values.db.password }}'
30 passwordPolicy: required
31 - uid: pdp-http-creds
32 type: basicAuth
33 externalSecret: '{{ tpl (default "" .Values.pdp.pdpCredsExternalSecret) . }}'
34 login: '{{ .Values.pdp.pdphttpuserid }}'
35 password: '{{ .Values.pdp.pdphttppassword }}'
36 passwordPolicy: required
37 - uid: pap-http-creds
38 type: basicAuth
39 externalSecret: '{{ tpl (default "" .Values.pap.papCredsExternalSecret) . }}'
40 login: '{{ .Values.pap.pdppappdphttpuserid }}'
41 password: '{{ .Values.pap.pdppappdphttppassword }}'
42 passwordPolicy: required
Shane Daniel6974d1b2018-06-15 15:04:53 +000043
44#################################################################
45# Application configuration defaults.
46#################################################################
47# application image
Prudence Auccc93ea2019-09-13 13:26:11 +000048image: onap/pomba-aai-context-builder:1.5.1
Shane Daniel6974d1b2018-06-15 15:04:53 +000049pullPolicy: Always
50
51# flag to enable debugging - application support required
52debugEnabled: false
53
54# application configuration
55# Example:
56config:
57 aaiServiceName: aai
58 aaiPort: 8443
59 aaiUsername: AAI
60 aaiPassword: OBF:1gfr1ev31gg7
Geora Barsky288fc892018-08-23 10:39:16 -040061 aaiHttpProtocol: https
Geora Barsky58f5c4f2018-11-02 14:41:10 -040062 aaiConnectionTimeout: 60000
63 aaiReadTimeout: 60000
Shane Daniel6974d1b2018-06-15 15:04:53 +000064 # HTTP Basic Authorization credentials for Rest Service API
65 httpUserId: admin
66 httpPassword: OBF:1u2a1toa1w8v1tok1u30
67
68
69# default number of instances
70replicaCount: 1
71
72nodeSelector: {}
73
74affinity: {}
75
76# probe configuration parameters
77liveness:
jmac15bf8cd2019-02-05 19:44:55 +000078 initialDelaySeconds: 30
Shane Daniel6974d1b2018-06-15 15:04:53 +000079 periodSeconds: 10
80 # necessary to disable liveness probe when setting breakpoints
81 # in debugger so K8s doesn't restart unresponsive container
82 enabled: true
83
84readiness:
jmac15bf8cd2019-02-05 19:44:55 +000085 initialDelaySeconds: 30
Shane Daniel6974d1b2018-06-15 15:04:53 +000086 periodSeconds: 10
87
88#Example service definition with external, internal and node ports.
89service:
90 # The default service name (exposed in the service.yaml) will be the same
91 # name as the chart. If the service name needs to be overriden (such as
92 # when a subchart is shared), uncomment the value below.
93 #name: <service-name-override>
94
95 #Services may use any combination of ports depending on the 'type' of
96 #service being defined.
97 type: ClusterIP
98 externalPort: 9530
99 internalPort: 8080
100# nodePort: <replace with unused node port suffix eg. 23>
101 # optional port name override - default can be defined in service.yaml
102 #portName: http
103
104ingress:
105 enabled: false
106
jmacaf645b52018-10-11 12:21:54 +0000107# Resource Limit flavor -By Default using small
108flavor: small
109# Segregation for Different environment (Small and Large)
110resources:
111 small:
112 limits:
113 cpu: 1
114 memory: 800Mi
115 requests:
116 cpu: 100m
117 memory: 400Mi
118 large:
119 limits:
120 cpu: 2
121 memory: 1600Mi
122 requests:
123 cpu: 200m
124 memory: 800Mi
125 unlimited: {}