Unable to boot SNDC pod without AAF
[oom.git] / kubernetes / policy / charts / policy-api / values.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
3 #  ================================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18
19 #################################################################
20 # Global configuration defaults.
21 #################################################################
22 global:
23   nodePortPrefix: 304
24   persistence: {}
25   envsubstImage: dibi/envsubst
26
27 #################################################################
28 # Secrets metaconfig
29 #################################################################
30 secrets:
31   - uid: db-creds
32     type: basicAuth
33     externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
34     login: '{{ .Values.db.user }}'
35     password: '{{ .Values.db.password }}'
36     passwordPolicy: required
37   - uid: restserver-creds
38     type: basicAuth
39     externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
40     login: '{{ .Values.restServer.user }}'
41     password: '{{ .Values.restServer.password }}'
42     passwordPolicy: required
43
44 #################################################################
45 # Application configuration defaults.
46 #################################################################
47 # application image
48 repository: nexus3.onap.org:10001
49 image: onap/policy-api:2.2.4
50 pullPolicy: Always
51
52 # flag to enable debugging - application support required
53 debugEnabled: false
54
55 # application configuration
56 db:
57   user: policy_user
58   password: policy_user
59 restServer:
60   user: healthcheck
61   password: zb!XztG34
62
63 # default number of instances
64 replicaCount: 1
65
66 nodeSelector: {}
67
68 affinity: {}
69
70 # probe configuration parameters
71 liveness:
72   initialDelaySeconds: 20
73   periodSeconds: 10
74   # necessary to disable liveness probe when setting breakpoints
75   # in debugger so K8s doesn't restart unresponsive container
76   enabled: true
77
78 readiness:
79   initialDelaySeconds: 20
80   periodSeconds: 10
81
82 service:
83   type: ClusterIP
84   name: policy-api
85   portName: policy-api
86   externalPort: 6969
87   internalPort: 6969
88   nodePort: 40
89
90 ingress:
91   enabled: false
92
93 resources: {}