dfed7648d49c0e2a6365e5e6af0af35ff88ac0e7
[oom.git] / kubernetes / policy / charts / policy-distribution / 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 # Secrets metaconfig
22 #################################################################
23 secrets:
24   - uid: restserver-creds
25     type: basicAuth
26     externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
27     login: '{{ .Values.restServer.user }}'
28     password: '{{ .Values.restServer.password }}'
29     passwordPolicy: required
30   - uid: apiparameters-creds
31     type: basicAuth
32     externalSecret: '{{ tpl (default "" .Values.apiParameters.credsExternalSecret) . }}'
33     login: '{{ .Values.apiParameters.user }}'
34     password: '{{ .Values.apiParameters.password }}'
35     passwordPolicy: required
36   - uid: papparameters-creds
37     type: basicAuth
38     externalSecret: '{{ tpl (default "" .Values.papParameters.credsExternalSecret) . }}'
39     login: '{{ .Values.papParameters.user }}'
40     password: '{{ .Values.papParameters.password }}'
41     passwordPolicy: required
42   - uid: sdcbe-creds
43     type: basicAuth
44     externalSecret: '{{ tpl (default "" .Values.sdcBe.credsExternalSecret) . }}'
45     login: '{{ .Values.sdcBe.user }}'
46     password: '{{ .Values.sdcBe.password }}'
47     passwordPolicy: required
48   - uid: keystore-password
49     type: password
50     externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
51     password: '{{ .Values.certStores.keyStorePassword }}'
52     passwordPolicy: required
53   - uid: truststore-password
54     type: password
55     externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
56     password: '{{ .Values.certStores.trustStorePassword }}'
57     passwordPolicy: required
58
59 #################################################################
60 # Global configuration defaults.
61 #################################################################
62 global:
63   persistence: {}
64   envsubstImage: dibi/envsubst
65
66 #################################################################
67 # Application configuration defaults.
68 #################################################################
69 # application image
70 repository: nexus3.onap.org:10001
71 image: onap/policy-distribution:2.3.2
72 pullPolicy: Always
73
74 # flag to enable debugging - application support required
75 debugEnabled: false
76
77 # application configuration
78
79 restServer:
80   user: healthcheck
81   password: zb!XztG34
82 apiParameters:
83   user: healthcheck
84   password: zb!XztG34
85 papParameters:
86   user: healthcheck
87   password: zb!XztG34
88 sdcBe:
89   user: policy
90   password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
91 certStores:
92   keyStorePassword: Pol1cy_0nap
93   trustStorePassword: Pol1cy_0nap
94
95 # default number of instances
96 replicaCount: 1
97
98 nodeSelector: {}
99
100 affinity: {}
101
102 # probe configuration parameters
103 liveness:
104   initialDelaySeconds: 20
105   periodSeconds: 10
106   # necessary to disable liveness probe when setting breakpoints
107   # in debugger so K8s doesn't restart unresponsive container
108   enabled: true
109
110 readiness:
111   initialDelaySeconds: 20
112   periodSeconds: 10
113
114 service:
115   type: ClusterIP
116   name: policy-distribution
117   portName: policy-distribution
118   externalPort: 6969
119   internalPort: 6969
120
121 ingress:
122   enabled: false
123
124 resources: {}