Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / so / components / so-openstack-adapter / values.yaml
1 # Copyright © 2018 AT&T USA
2 # Copyright © 2020 Huawei
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 configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefix: 302
19   nodePortPrefixExt: 304
20   persistence:
21     mountPath: /dockerdata-nfs
22   mariadbGalera:
23     # flag to enable the DB creation via mariadb-operator
24     useOperator: true
25     service: mariadb-galera
26     servicePort: '3306'
27
28 readinessCheck:
29   wait_for:
30     jobs:
31       - '{{ include "common.release" . }}-so-mariadb-config-job'
32
33 #################################################################
34 # Secrets metaconfig
35 #################################################################
36 secrets:
37   - uid: db-user-creds
38     type: basicAuth
39     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
40     login: '{{ .Values.db.userName }}'
41     password: '{{ .Values.db.userPassword }}'
42     passwordPolicy: required
43   - uid: db-admin-creds
44     type: basicAuth
45     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
46     login: '{{ .Values.db.adminName }}'
47     password: '{{ .Values.db.adminPassword }}'
48     passwordPolicy: required
49
50 #secretsFilePaths: |
51 #  - 'my file 1'
52 #  - '{{ include "templateThatGeneratesFileName" . }}'
53
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
57 image: onap/so/openstack-adapter:1.12.2
58 pullPolicy: Always
59
60 # Local mariadb galera instance default name
61 mariadb-galera:
62   nameOverride: so-mariadb-galera
63   service:
64     internalPort: 3306
65   mariadbOperator:
66     galera:
67       enabled: false
68
69 db:
70   userName: so_user
71   userPassword: so_User123
72   # userCredsExternalSecret: some secret
73   adminName: so_admin
74   adminPassword: so_Admin123
75   # adminCredsExternalSecret: some secret
76
77 aai:
78   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
79 org:
80   onap:
81     so:
82       adapters:
83         bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
84 mso:
85   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
86   basicUser: poBpmn
87   auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
88   db:
89     auth: Basic YnBlbDpwYXNzd29yZDEk
90
91 replicaCount: 1
92 minReadySeconds: 10
93 containerPort: &containerPort 8087
94 logPath: ./logs/openstack/
95 app: openstack-adapter
96 service:
97   type: ClusterIP
98   ports:
99     - name: http
100       port: *containerPort
101 updateStrategy:
102   type: RollingUpdate
103   maxUnavailable: 1
104   maxSurge: 1
105
106 #################################################################
107 # soHelpers part
108 #################################################################
109 soHelpers:
110   containerPort: *containerPort
111
112 # Resource Limit flavor -By Default using small
113 flavor: small
114 # Segregation for Different environment (Small and Large)
115 resources:
116   small:
117     limits:
118       cpu: "1"
119       memory: "1.5Gi"
120     requests:
121       cpu: "0.5"
122       memory: "1.5Gi"
123   large:
124     limits:
125       cpu: "2"
126       memory: "3Gi"
127     requests:
128       cpu: "1"
129       memory: "3Gi"
130   unlimited: {}
131 livenessProbe:
132   path: /manage/health
133   port: 8087
134   scheme: HTTP
135   initialDelaySeconds: 600
136   periodSeconds: 60
137   timeoutSeconds: 10
138   successThreshold: 1
139   failureThreshold: 3
140 ingress:
141   enabled: false
142 serviceMesh:
143   authorizationPolicy:
144     authorizedPrincipals:
145       - serviceAccount: robot-read
146       - serviceAccount: so-bpmn-infra-read
147       - serviceAccount: so-read
148 config:
149   openStackUserName: "vnf_user"
150   openStackRegion: "RegionOne"
151   openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
152   openStackServiceTenantName: "service"
153   openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
154   openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
155   # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
156   openStackKeystoneVersion: "KEYSTONE"
157 nodeSelector: {}
158 tolerations: []
159 affinity: {}
160
161 #Pods Service Account
162 serviceAccount:
163   nameOverride: so-openstack-adapter
164   roles:
165     - read
166
167 #Logs configuration
168 log:
169   path: /var/log/onap
170 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'