blob: 3ef23df60c407b9c17111746767104b1c0782ba1 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00003# 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.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
jmacc4f04d32018-10-12 18:24:24 +000020 persistence:
21 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053022 security:
23 aaf:
24 enabled: false
25 aaf:
26 auth:
27 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
krishnaa9692b606b2020-10-30 11:29:21 +053028 mariadbGalera:
29 serviceName: mariadb-galera
30 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000031
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032readinessCheck:
33 wait_for:
34 - so-mariadb-config
35
jmacc4f04d32018-10-12 18:24:24 +000036#################################################################
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010037# Secrets metaconfig
38#################################################################
39secrets:
40 - uid: db-user-creds
41 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010042 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010043 login: '{{ .Values.db.userName }}'
44 password: '{{ .Values.db.userPassword }}'
45 passwordPolicy: required
46 - uid: db-admin-creds
47 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010048 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010049 login: '{{ .Values.db.adminName }}'
50 password: '{{ .Values.db.adminPassword }}'
51 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010052
53#secretsFilePaths: |
54# - 'my file 1'
55# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010056
57#################################################################
jmacc4f04d32018-10-12 18:24:24 +000058# Application configuration defaults.
59#################################################################
deen1985b958d7d2020-12-28 11:56:52 +010060image: onap/so/openstack-adapter:1.7.11
jmacc4f04d32018-10-12 18:24:24 +000061pullPolicy: Always
jmacc4f04d32018-10-12 18:24:24 +000062
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010063db:
64 userName: so_user
65 userPassword: so_User123
66 # userCredsExternalSecret: some secret
67 adminName: so_admin
68 adminPassword: so_Admin123
69 # adminCredsExternalSecret: some secret
70
seshukm0df1f8e2020-08-17 21:45:49 +053071aai:
72 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
73aaf:
74 auth:
75 encrypted: 7F182B0C05D58A23A1C4966B9CDC9E0B8BC5CD53BC8C7B4083D869F8D53E9BDC3EFD55C94B1D3F
76org:
77 onap:
78 so:
79 adapters:
80 bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
81mso:
82 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
83 basicUser: poBpmn
84 auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
85 db:
86 auth: Basic YnBlbDpwYXNzd29yZDEk
87
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000088replicaCount: 1
89minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053090containerPort: &containerPort 8087
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000091logPath: ./logs/openstack/
92app: openstack-adapter
93service:
94 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053095 internalPort: *containerPort
96 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000097 portName: so-optack-port
98updateStrategy:
99 type: RollingUpdate
100 maxUnavailable: 1
101 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530102
103#################################################################
104# soHelper part
105#################################################################
106soHelpers:
107 nameOverride: so-openstack-cert-init
108 certInitializer:
109 nameOverride: so-openstack-cert-init
110 credsPath: /opt/app/osaaf/local
111 cadi:
112 apiEnforcement: org.onap.so.openStackAdapterPerm
113 containerPort: *containerPort
114
vaibhav16dec0da88292018-08-13 06:10:27 +0000115# Resource Limit flavor -By Default using small
116flavor: small
117# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000118resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000119 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000120 limits:
121 memory: 4Gi
122 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000123 requests:
124 memory: 1Gi
125 cpu: 500m
126 large:
127 limits:
128 memory: 8Gi
129 cpu: 4000m
130 requests:
131 memory: 2Gi
132 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000133 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000134livenessProbe:
135 path: /manage/health
136 port: 8087
137 scheme: HTTP
138 initialDelaySeconds: 600
139 periodSeconds: 60
140 timeoutSeconds: 10
141 successThreshold: 1
142 failureThreshold: 3
143ingress:
144 enabled: false
Ramesh Parthasarathyc98749e2018-10-11 21:06:37 +0000145config:
146 openStackUserName: "vnf_user"
147 openStackRegion: "RegionOne"
148 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
149 openStackServiceTenantName: "service"
150 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
151 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000152nodeSelector: {}
153tolerations: []
154affinity: {}