Fix policy api credentials for oof in oom
[oom.git] / kubernetes / aaf / charts / aaf-sms / values.yaml
1 # Copyright 2018 Intel Corporation, Inc
2 # Modifications © 2020 AT&T
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   nodePortPrefix: 302
21   loggingRepository: docker.elastic.co
22   loggingImage: beats/filebeat:5.5.0
23   persistence: {}
24   envsubstImage: dibi/envsubst
25
26 flavor: small
27 #################################################################
28 # Application configuration defaults.
29 #################################################################
30 # application image
31 repository: nexus3.onap.org:10001
32 image: onap/aaf/sms:4.0.2
33 pullPolicy: Always
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38 # application configuration
39 # Example:
40 config:
41   smsdbaddress: "http://aaf-sms-db:8200"
42   cafile: "/sms/certs/aaf_root_ca.cer"
43   servercert: "/sms/certs/aaf-sms.pub"
44   serverkey: "/sms/certs/aaf-sms.pr"
45   password: "c2VjcmV0bWFuYWdlbWVudHNlcnZpY2VzZWNyZXRwYXNzd29yZA=="
46
47 # subchart configuration
48 vault:
49   nameOverride: smsdb
50
51 # default number of instances
52 replicaCount: 1
53
54 nodeSelector: {}
55
56 affinity: {}
57
58 # probe configuration parameters
59 liveness:
60   initialDelaySeconds: 10
61   periodSeconds: 30
62   # necessary to disable liveness probe when setting breakpoints
63   # in debugger so K8s doesn't restart unresponsive container
64   enabled: true
65
66 readiness:
67   initialDelaySeconds: 10
68   periodSeconds: 30
69
70 service:
71   type: ClusterIP
72   name: aaf-sms
73   portName: aaf-sms
74   internalPort: 10443
75   externalPort: 10443
76
77 persistence:
78   enabled: true
79   volumeReclaimPolicy: Retain
80   accessMode: ReadWriteOnce
81   size: 1Gi
82   mountPath: /dockerdata-nfs
83   mountSubPath: sms/auth
84
85 ingress:
86   enabled: false
87
88 secrets:
89   - uid: aai-creds
90     type: basicAuth
91     login: '{{ .Values.oofCreds.aaiUsername }}'
92     password: '{{ .Values.oofCreds.aaiPassword }}'
93     passwordPolicy: required
94   - uid: conductor-creds
95     type: basicAuth
96     login: '{{ .Values.oofCreds.conductorUsername }}'
97     password: '{{ .Values.oofCreds.conductorPassword }}'
98     passwordPolicy: required
99   - uid: sdnc-creds
100     type: basicAuth
101     login: '{{ .Values.oofCreds.sdncUsername }}'
102     password: '{{ .Values.oofCreds.sdncPassword }}'
103     passwordPolicy: required
104   - uid: music-creds
105     type: basicAuth
106     login: '{{ .Values.oofCreds.musicUsername }}'
107     password: '{{ .Values.oofCreds.musicPassword }}'
108     passwordPolicy: required
109   - uid: aaf-creds
110     type: basicAuth
111     login: '{{ .Values.oofCreds.aafUsername }}'
112     password: '{{ .Values.oofCreds.aafPassword }}'
113     passwordPolicy: required
114   - uid: policy-plat-creds
115     type: basicAuth
116     login: '{{ .Values.oofCreds.policyPlatUsername }}'
117     password: '{{ .Values.oofCreds.policyPlatPassword }}'
118     passwordPolicy: required
119   - uid: policy-cli-creds
120     type: basicAuth
121     login: '{{ .Values.oofCreds.policyCliUsername }}'
122     password: '{{ .Values.oofCreds.policyCliPassword }}'
123     passwordPolicy: required
124   - uid: osdf-placement-creds
125     type: basicAuth
126     login: '{{ .Values.oofCreds.osdfPlacementUsername }}'
127     password: '{{ .Values.oofCreds.osdfPlacementPassword }}'
128     passwordPolicy: required
129   - uid: osdf-placement-so-creds
130     type: basicAuth
131     login: '{{ .Values.oofCreds.osdfPlacementSOUsername }}'
132     password: '{{ .Values.oofCreds.osdfPlacementSOPassword }}'
133     passwordPolicy: required
134   - uid: osdf-placement-vfc-creds
135     type: basicAuth
136     login: '{{ .Values.oofCreds.osdfPlacementVFCUsername }}'
137     password: '{{ .Values.oofCreds.osdfPlacementVFCPassword }}'
138     passwordPolicy: required
139   - uid: osdf-cm-scheduler-creds
140     type: basicAuth
141     login: '{{ .Values.oofCreds.osdfCMSchedulerUsername }}'
142     password: '{{ .Values.oofCreds.osdfCMSchedulerPassword }}'
143     passwordPolicy: required
144   - uid: config-db-creds
145     type: basicAuth
146     login: '{{ .Values.oofCreds.configDbUsername }}'
147     password: '{{ .Values.oofCreds.configDbPassword }}'
148     passwordPolicy: required
149   - uid: osdf-pci-opt-creds
150     type: basicAuth
151     login: '{{ .Values.oofCreds.osdfPCIOptUsername }}'
152     password: '{{ .Values.oofCreds.osdfPCIOptPassword }}'
153     passwordPolicy: required
154   - uid: osdf-opt-engine-creds
155     type: basicAuth
156     login: '{{ .Values.oofCreds.osdfOptEngineUsername }}'
157     password: '{{ .Values.oofCreds.osdfOptEnginePassword }}'
158     passwordPolicy: required
159   - uid: so-creds
160     type: basicAuth
161     login: '{{ .Values.oofCreds.soUsername }}'
162     password: '{{ .Values.oofCreds.soPassword }}'
163     passwordPolicy: required
164
165 oofCreds:
166   aaiUsername: oof@oof.onap.org
167   aaiPassword: demo123456!
168
169   conductorUsername: admin1
170   conductorPassword: plan.15
171
172   sdncUsername: admin
173   sdncPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
174
175   musicUsername: conductor
176   musicPassword: c0nduct0r
177
178   aafUsername: aaf_admin@people.osaaf.org
179   aafPassword: demo123456!
180
181   policyPlatUsername: healthcheck
182   policyPlatPassword: zb!XztG34
183
184   policyCliUsername: healthcheck
185   policyCliPassword: zb!XztG34
186
187   osdfPlacementUsername: test
188   osdfPlacementPassword: testpwd
189
190   osdfPlacementSOUsername: so_test
191   osdfPlacementSOPassword: so_testpwd
192
193   osdfPlacementVFCUsername: vfc_test
194   osdfPlacementVFCPassword: vfc_testpwd
195
196   osdfCMSchedulerUsername: test1
197   osdfCMSchedulerPassword: testpwd1
198
199   configDbUsername: osdf
200   configDbPassword: passwd
201
202   osdfPCIOptUsername: pci_test
203   osdfPCIOptPassword: pci_testpwd
204
205   osdfOptEngineUsername: opt_test
206   osdfOptEnginePassword: opt_testpwd
207
208   soUsername: apihBpmn
209   soPassword: password1$
210
211 # Configure resource requests and limits
212 resources:
213   small:
214     limits:
215       cpu: 100m
216       memory: 400Mi
217     requests:
218       cpu: 25m
219       memory: 10Mi
220   large:
221     limits:
222       cpu: 400m
223       memory: 1Gi
224     requests:
225       cpu: 25m
226       memory: 100Mi
227   unlimited: {}