Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / oof / components / oof-has / components / oof-has-data / values.yaml
1 # Copyright © 2017 Amdocs, AT&T, Bell Canada, VMware
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 global:
16   image:
17     optf_has: onap/optf-has:2.3.1
18
19 #################################################################
20 # secrets metaconfig
21 #################################################################
22 secrets:
23   - uid: oof-has-etcd-secret
24     name: &user-creds '{{ include "common.release" . }}-oof-has-etcd-secret'
25     type: basicAuth
26     externalSecret: '{{ tpl (default "" .Values.config.etcd.userCredentialsExternalSecret) . }}'
27     login: '{{ .Values.config.etcd.appUser }}'
28     password: '{{ .Values.config.etcd.appPassword }}'
29     passwordPolicy: required
30
31 config:
32   etcd:
33     appUser: user
34     appPassword: pass
35
36 ingress:
37   enabled: false
38 replicaCount: 1
39 nodeSelector: {}
40 affinity: {}
41 # Resource Limit flavor -By Default using small
42 flavor: small
43 # Segregation for Different environment (Small and Large)
44 resources:
45   small:
46     limits:
47       cpu: "1"
48       memory: "1Gi"
49     requests:
50       cpu: "0.5"
51       memory: "1Gi"
52   large:
53     limits:
54       cpu: "2"
55       memory: "2Gi"
56     requests:
57       cpu: "1"
58       memory: "2Gi"
59   unlimited: {}
60 # probe configuration parameters
61 liveness:
62   initialDelaySeconds: 10
63   periodSeconds: 10
64   # necessary to disable liveness probe when setting breakpoints
65   # in debugger so K8s doesn't restart unresponsive container
66   enabled: true
67 readiness:
68   initialDelaySeconds: 10
69   periodSeconds: 10
70
71 readinessCheck:
72   wait_for:
73     jobs:
74       - '{{ include "common.release" . }}-{{ .Values.config.etcd.configJobNameOverride }}-job'
75
76 #Pods Service Account
77 serviceAccount:
78   nameOverride: oof-has-data
79   roles:
80     - read