Merge "[UUI] Service Mesh Compliance for UUI"
[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-onap-certs
31     name: &oof-certs  '{{ include "common.release" . }}-oof-onap-certs'
32     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
33     type: generic
34     filePaths: '{{ .Values.secretsFilePaths }}'
35   - uid: oof-has-etcd-root-password
36     name: &root-password '{{ include "common.release" . }}-has-etcd-root-password'
37     type: password
38     password: '{{ .Values.config.etcd.rootPassword }}'
39     policy: generate
40   - uid: oof-has-etcd-secret
41     name: &user-creds '{{ include "common.release" . }}-oof-has-etcd-secret'
42     type: basicAuth
43     externalSecret: '{{ tpl (default "" .Values.config.etcd.userCredentialsExternalSecret) . }}'
44     login: '{{ .Values.config.etcd.appUser }}'
45     password: '{{ .Values.config.etcd.appPassword }}'
46     passwordPolicy: generate
47
48 pullPolicy: Always
49 nodePortPrefix: 302
50 dataRootDir: /dockerdata-nfs
51 config:
52   dbBackend: etcd
53   aaf:
54     serviceName: aaf-service
55     port: 8100
56   aai:
57     serviceName: aai
58     port: 8443
59     plainPort: 80
60   msb:
61     serviceName: msb-iag
62     port: 80
63   music:
64     serviceName: music
65     port: 8443
66   sms:
67     serviceName: aaf-sms
68     port: 10443
69   sdc:
70     serviceName: sdc-be
71     port: 8443
72     plainPort: 8080
73   cps:
74     service: cps-tbdmt
75     port: 8080
76   dcae:
77     service: dcae-slice-analysis-ms
78     port: 8080
79   etcd:
80     serviceName: &etcd-service oof-has-etcd
81     port: 2379
82     appUser: conductor
83 #    rootPassword:
84 #    appPassword:
85 #    userCredentialsExternalSecret:
86 # Resource Limit flavor -By Default using small
87 flavor: small
88 # Segregation for Different environment (Small and Large)
89 resources:
90   small:
91     limits:
92       memory: 2Gi
93       cpu: 1000m
94     requests:
95       memory: 1Gi
96       cpu: 500m
97   large:
98     limits:
99       memory: 4Gi
100       cpu: 2000m
101     requests:
102       memory: 2Gi
103       cpu: 1000m
104   unlimited: {}
105
106 #component overrides
107 oof-has-api: &has-config
108   enabled: true
109   certSecret: *oof-certs
110   config:
111     etcd:
112       userCredentialsExternalSecret: *user-creds
113       configJobNameOverride: &job-name oof-has-etcd-config
114 oof-has-controller: *has-config
115 oof-has-data: *has-config
116 oof-has-reservation: *has-config
117 oof-has-solver: *has-config
118 music:
119   enabled: false
120
121 #etcd subchart configurations
122 etcd:
123   enabled: true
124   replicaCount: 3
125   nameOverride: &etcd-container oof-has-etcd
126   service:
127     name: *etcd-service
128   persistence:
129     mountSubPath: oof/etcd/data
130     enabled: true
131   flavor: &etcd-flavor large
132   resources: &etcd-resources
133     small:
134       limits:
135         cpu: 100m
136         memory: 300Mi
137       requests:
138         cpu: 10m
139         memory: 75Mi
140     large:
141       limits:
142         cpu: 200m
143         memory: 1Gi
144       requests:
145         cpu: 50m
146         memory: 300Mi
147     unlimited: {}
148
149 etcd-init:
150   enabled: true
151   nameOverride: *job-name
152   etcd:
153     serviceName: *etcd-service
154     port : 2379
155     containerName: *etcd-container
156   config:
157     userRootSecret: *root-password
158     userCredentialsExternalSecret: *user-creds
159     appRole: conductor
160     keyPrefix: conductor
161   flavor: *etcd-flavor
162   resources: *etcd-resources
163
164 # Python doesn't support well dollar sign in password
165 passwordStrengthOverride: basic