[DCAEMOD] Uses new tpls for repos / images
[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   repository: nexus3.onap.org:10001
21   readinessImage: onap/oom/readiness:3.0.1
22   aafAgentImage: onap/aaf/aaf_agent:2.1.20
23   envsubstImage: dibi/envsubst
24   persistence:
25     mountPath: /dockerdata-nfs
26   security:
27     aaf:
28       enabled: false
29   aaf:
30     auth:
31       encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
32   mariadbGalera:
33     serviceName: mariadb-galera
34     servicePort: '3306'
35
36 readinessCheck:
37   wait_for:
38     - so-mariadb-config
39
40 #################################################################
41 # Secrets metaconfig
42 #################################################################
43 secrets:
44   - uid: db-user-creds
45     type: basicAuth
46     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
47     login: '{{ .Values.db.userName }}'
48     password: '{{ .Values.db.userPassword }}'
49     passwordPolicy: required
50   - uid: db-admin-creds
51     type: basicAuth
52     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
53     login: '{{ .Values.db.adminName }}'
54     password: '{{ .Values.db.adminPassword }}'
55     passwordPolicy: required
56
57 #secretsFilePaths: |
58 #  - 'my file 1'
59 #  - '{{ include "templateThatGeneratesFileName" . }}'
60
61 #################################################################
62 # Application configuration defaults.
63 #################################################################
64 image: onap/so/openstack-adapter:1.7.10
65 pullPolicy: Always
66 repository: nexus3.onap.org:10001
67
68 db:
69   userName: so_user
70   userPassword: so_User123
71   # userCredsExternalSecret: some secret
72   adminName: so_admin
73   adminPassword: so_Admin123
74   # adminCredsExternalSecret: some secret
75
76 aai:
77   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
78 aaf:
79   auth:
80     encrypted: 7F182B0C05D58A23A1C4966B9CDC9E0B8BC5CD53BC8C7B4083D869F8D53E9BDC3EFD55C94B1D3F
81 org:
82   onap:
83     so:
84       adapters:
85         bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
86 mso:
87   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
88   basicUser: poBpmn
89   auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
90   db:
91     auth: Basic YnBlbDpwYXNzd29yZDEk
92
93 replicaCount: 1
94 minReadySeconds: 10
95 containerPort: &containerPort 8087
96 logPath: ./logs/openstack/
97 app: openstack-adapter
98 service:
99     type: ClusterIP
100     internalPort: *containerPort
101     externalPort: *containerPort
102     portName: so-optack-port
103 updateStrategy:
104     type: RollingUpdate
105     maxUnavailable: 1
106     maxSurge: 1
107
108 #################################################################
109 # soHelper part
110 #################################################################
111 soHelpers:
112   nameOverride: so-openstack-cert-init
113   certInitializer:
114     nameOverride: so-openstack-cert-init
115     credsPath: /opt/app/osaaf/local
116   cadi:
117     apiEnforcement: org.onap.so.openStackAdapterPerm
118   containerPort: *containerPort
119
120 # Resource Limit flavor -By Default using small
121 flavor: small
122 # Segregation for Different environment (Small and Large)
123 resources:
124   small:
125     limits:
126       memory: 4Gi
127       cpu: 2000m
128     requests:
129       memory: 1Gi
130       cpu: 500m
131   large:
132     limits:
133       memory: 8Gi
134       cpu: 4000m
135     requests:
136       memory: 2Gi
137       cpu: 1000m
138   unlimited: {}
139 livenessProbe:
140     path: /manage/health
141     port: 8087
142     scheme: HTTP
143     initialDelaySeconds: 600
144     periodSeconds: 60
145     timeoutSeconds: 10
146     successThreshold: 1
147     failureThreshold: 3
148 ingress:
149   enabled: false
150 config:
151   openStackUserName: "vnf_user"
152   openStackRegion: "RegionOne"
153   openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
154   openStackServiceTenantName: "service"
155   openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
156   openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
157 nodeSelector: {}
158 tolerations: []
159 affinity: {}