Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / oof / components / oof-has / values.yaml
1 # Copyright © 2017 Amdocs, AT&T, Bell Canada, VMware
2 # Modifications Copyright © 2018 Intel Corporation
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 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   commonConfigPrefix: onap-oof-has
21   image:
22     optf_has: onap/optf-has:2.3.1
23   persistence:
24     enabled: true
25
26 #################################################################
27 # Secrets metaconfig
28 #################################################################
29 secrets:
30   - uid: oof-has-etcd-root-password
31     name: &root-password '{{ include "common.release" . }}-has-etcd-root-password'
32     type: password
33     password: '{{ .Values.config.etcd.rootPassword }}'
34     policy: generate
35   - uid: oof-has-etcd-secret
36     name: &user-creds '{{ include "common.release" . }}-oof-has-etcd-secret'
37     type: basicAuth
38     externalSecret: '{{ tpl (default "" .Values.config.etcd.userCredentialsExternalSecret) . }}'
39     login: '{{ .Values.config.etcd.appUser }}'
40     password: '{{ .Values.config.etcd.appPassword }}'
41     passwordPolicy: generate
42
43 pullPolicy: Always
44 nodePortPrefix: 302
45 dataRootDir: /dockerdata-nfs
46 config:
47   dbBackend: etcd
48   aai:
49     serviceName: aai
50     port: 80
51   msb:
52     serviceName: msb-iag
53     port: 80
54   sdc:
55     serviceName: sdc-be
56     port: 8080
57   cps:
58     serviceName: cps-tbdmt
59     port: 8080
60   dcae:
61     serviceName: dcae-slice-analysis-ms
62     port: 8080
63   etcd:
64     serviceName: &etcd-service oof-has-etcd
65     port: 2379
66     appUser: conductor
67 #    rootPassword:
68 #    appPassword:
69 #    userCredentialsExternalSecret:
70 # Resource Limit flavor -By Default using small
71 flavor: small
72 # Segregation for Different environment (Small and Large)
73 resources:
74   small:
75     limits:
76       cpu: "1"
77       memory: "2Gi"
78     requests:
79       cpu: "0.5"
80       memory: "1Gi"
81   large:
82     limits:
83       cpu: "2"
84       memory: "4Gi"
85     requests:
86       cpu: "1"
87       memory: "2Gi"
88   unlimited: {}
89
90 #component overrides
91 oof-has-api: &has-config
92   enabled: true
93   config:
94     etcd:
95       userCredentialsExternalSecret: *user-creds
96       configJobNameOverride: &job-name oof-has-etcd-config
97 oof-has-controller: *has-config
98 oof-has-data: *has-config
99 oof-has-reservation: *has-config
100 oof-has-solver: *has-config
101
102 #etcd subchart configurations
103 etcd:
104   enabled: true
105   replicaCount: 3
106   nameOverride: &etcd-container oof-has-etcd
107   service:
108     name: *etcd-service
109   persistence:
110     mountSubPath: oof/etcd/data
111     enabled: true
112   flavor: &etcd-flavor large
113   resources: &etcd-resources
114     small:
115       limits:
116         cpu: "100m"
117         memory: "300Mi"
118       requests:
119         cpu: "10m"
120         memory: "70Mi"
121     large:
122       limits:
123         cpu: "200m"
124         memory: "1Gi"
125       requests:
126         cpu: "50m"
127         memory: "300Mi"
128     unlimited: {}
129
130 etcd-init:
131   enabled: true
132   nameOverride: *job-name
133   etcd:
134     serviceName: *etcd-service
135     port : 2379
136     containerName: *etcd-container
137   config:
138     userRootSecret: *root-password
139     userCredentialsExternalSecret: *user-creds
140     appRole: conductor
141     keyPrefix: conductor
142   flavor: *etcd-flavor
143   resources: *etcd-resources
144   serviceAccount:
145     nameOverride: *job-name
146
147 # Python doesn't support well dollar sign in password
148 passwordStrengthOverride: basic