35b2711b04b0a56127165e105df6887a3d47d070
[oom.git] / kubernetes / policy / charts / policy-apex-pdp / values.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2018 Ericsson. All rights reserved.
3 #   Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
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 #
17 #  SPDX-License-Identifier: Apache-2.0
18 #  ============LICENSE_END=========================================================
19
20 #################################################################
21 # Global configuration defaults.
22 #################################################################
23 global:
24   nodePortPrefix: 302
25   persistence: {}
26
27 #################################################################
28 # Secrets metaconfig
29 #################################################################
30 secrets:
31   - uid: restserver-creds
32     type: basicAuth
33     externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
34     login: '{{ .Values.restServer.user }}'
35     password: '{{ .Values.restServer.password }}'
36   - uid: truststore-pass
37     type: password
38     externalSecret: '{{ tpl (default "" .Values.truststore.passwordExternalSecret) . }}'
39     password: '{{ .Values.truststore.password }}'
40     policy: required
41
42 #################################################################
43 # Application configuration defaults.
44 #################################################################
45 # application image
46 repository: nexus3.onap.org:10001
47 image: onap/policy-apex-pdp:2.4.0
48 pullPolicy: Always
49
50 # flag to enable debugging - application support required
51 debugEnabled: false
52
53 # application configuration
54
55 restServer:
56   user: healthcheck
57   password: zb!XztG34
58 truststore:
59   password: Pol1cy_0nap
60
61 # default number of instances
62 replicaCount: 1
63
64 nodeSelector: {}
65
66 affinity: {}
67
68 # probe configuration parameters
69 liveness:
70   initialDelaySeconds: 20
71   periodSeconds: 10
72   # necessary to disable liveness probe when setting breakpoints
73   # in debugger so K8s doesn't restart unresponsive container
74   enabled: true
75
76 readiness:
77   initialDelaySeconds: 20
78   periodSeconds: 10
79
80 service:
81   type: ClusterIP
82   name: policy-apex-pdp
83   portName: policy-apex-pdp
84   externalPort: 6969
85   internalPort: 6969
86   nodePort: 37
87
88 ingress:
89   enabled: false
90
91 # Resource Limit flavor -By Default using small
92 flavor: small
93 # Segregation for Different environment (Small and Large)
94 resources:
95   small:
96     limits:
97       cpu: 1
98       memory: 4Gi
99     requests:
100       cpu: 10m
101       memory: 1Gi
102   large:
103     limits:
104       cpu: 2
105       memory: 8Gi
106     requests:
107       cpu: 20m
108       memory: 2Gi
109   unlimited: {}