[POLICY] tomcat security upgrade legacy components
[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 #   Modifications Copyright (C) 2020 Nordix Foundation.
5 #  ================================================================================
6 #  Licensed under the Apache License, Version 2.0 (the "License");
7 #  you may not use this file except in compliance with the License.
8 #  You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #  Unless required by applicable law or agreed to in writing, software
13 #  distributed under the License is distributed on an "AS IS" BASIS,
14 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #  See the License for the specific language governing permissions and
16 #  limitations under the License.
17 #
18 #  SPDX-License-Identifier: Apache-2.0
19 #  ============LICENSE_END=========================================================
20
21 #################################################################
22 # Global configuration defaults.
23 #################################################################
24 global:
25   nodePortPrefix: 302
26   persistence: {}
27
28 #################################################################
29 # Secrets metaconfig
30 #################################################################
31 secrets:
32   - uid: restserver-creds
33     type: basicAuth
34     externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
35     login: '{{ .Values.restServer.user }}'
36     password: '{{ .Values.restServer.password }}'
37   - uid: truststore-pass
38     type: password
39     externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
40     password: '{{ .Values.certStores.trustStorePassword }}'
41     passwordPolicy: required
42   - uid: keystore-pass
43     type: password
44     externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
45     password: '{{ .Values.certStores.keyStorePassword }}'
46     passwordPolicy: required
47
48 #################################################################
49 # Application configuration defaults.
50 #################################################################
51 # application image
52 repository: nexus3.onap.org:10001
53 image: onap/policy-apex-pdp:2.3.2
54 pullPolicy: Always
55
56 # flag to enable debugging - application support required
57 debugEnabled: false
58
59 # application configuration
60
61 restServer:
62   user: healthcheck
63   password: zb!XztG34
64 certStores:
65   keyStorePassword: Pol1cy_0nap
66   trustStorePassword: Pol1cy_0nap
67
68 # default number of instances
69 replicaCount: 1
70
71 nodeSelector: {}
72
73 affinity: {}
74
75 # probe configuration parameters
76 liveness:
77   initialDelaySeconds: 20
78   periodSeconds: 10
79   # necessary to disable liveness probe when setting breakpoints
80   # in debugger so K8s doesn't restart unresponsive container
81   enabled: true
82
83 readiness:
84   initialDelaySeconds: 20
85   periodSeconds: 10
86
87 service:
88   type: ClusterIP
89   name: policy-apex-pdp
90   portName: policy-apex-pdp
91   externalPort: 6969
92   internalPort: 6969
93   nodePort: 37
94
95 ingress:
96   enabled: false
97
98 # Resource Limit flavor -By Default using small
99 flavor: small
100 # Segregation for Different environment (Small and Large)
101 resources:
102   small:
103     limits:
104       cpu: 1
105       memory: 4Gi
106     requests:
107       cpu: 10m
108       memory: 1Gi
109   large:
110     limits:
111       cpu: 2
112       memory: 8Gi
113     requests:
114       cpu: 20m
115       memory: 2Gi
116   unlimited: {}