Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / so / components / so-appc-orchestrator / values.yaml
1 # Copyright © 2020 AT&T USA
2 # Copyright © 2020 Huawei
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 # Global configuration defaults.
17 #################################################################
18
19 global:
20   nodePortPrefix: 302
21   nodePortPrefixExt: 304
22   persistence:
23     mountPath: /dockerdata-nfs
24   security:
25     aaf:
26       enabled: false
27   app:
28     msoKey: 07a7159d3bf51a0e53be7a8f89699be7
29 #################################################################
30 # Secrets metaconfig
31 #################################################################
32 secrets:
33   - uid: db-user-creds
34     type: basicAuth
35     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
36     login: '{{ .Values.db.userName }}'
37     password: '{{ .Values.db.userPassword }}'
38     passwordPolicy: required
39   - uid: db-admin-creds
40     type: basicAuth
41     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
42     login: '{{ .Values.db.adminName }}'
43     password: '{{ .Values.db.adminPassword }}'
44     passwordPolicy: required
45   - uid: server-actuator-creds
46     name: '{{ include "common.release" . }}-so-appc-actuator-creds'
47     type: basicAuth
48     externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
49     login: '{{ .Values.server.actuator.username }}'
50     password: '{{ .Values.server.actuator.password }}'
51     passwordPolicy: required
52
53 #secretsFilePaths: |
54 #  - 'my file 1'
55 #  - '{{ include "templateThatGeneratesFileName" . }}'
56
57 #################################################################
58 # Application configuration defaults.
59 #################################################################
60 image: onap/so/so-appc-orchestrator:1.6.4
61 pullPolicy: Always
62
63 db:
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 server:
71   actuator:
72     username: mso_admin
73     password: password1$
74 replicaCount: 1
75 minReadySeconds: 10
76 containerPort: &containerPort 8080
77 logPath: ./logs/soappcorch
78 app: appc-orchestrator
79 service:
80   name: so-appc-orchestrator
81   type: ClusterIP
82   ports:
83   - port: *containerPort
84     name: http
85 updateStrategy:
86   type: RollingUpdate
87   maxUnavailable: 1
88   maxSurge: 1
89 # Resource Limit flavor -By Default using small
90 flavor: small
91
92
93 #################################################################
94 # soHelper part
95 #################################################################
96
97 soHelpers:
98   nameOverride: so-appc-cert-init
99   certInitializer:
100     nameOverride: so-appc-cert-init
101     credsPath: /opt/app/osaaf/local
102   cadi:
103     apiEnforcement: org.onap.so.openStackAdapterPerm
104   containerPort: *containerPort
105
106 # Segregation for Different environment (Small and Large)
107 resources:
108   small:
109     limits:
110       memory: 4Gi
111       cpu: 2000m
112     requests:
113       memory: 1Gi
114       cpu: 500m
115   large:
116     limits:
117       memory: 8Gi
118       cpu: 4000m
119     requests:
120       memory: 2Gi
121       cpu: 1000m
122   unlimited: {}
123 livenessProbe:
124     path: /manage/health
125     port: 8083
126     scheme: HTTP
127     initialDelaySeconds: 600
128     periodSeconds: 60
129     timeoutSeconds: 10
130     successThreshold: 1
131     failureThreshold: 3
132 ingress:
133   enabled: false
134 nodeSelector: {}
135 tolerations: []
136 affinity: {}
137
138 auth:
139   rest:
140     encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
141
142 mso:
143   auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
144   basicUser: poBpmn
145
146 appc:
147   client:
148     topic:
149       read:
150         name: APPC-LCM-WRITE
151         timeout: 360000
152       write: APPC-LCM-READ
153       sdnc:
154         read: SDNC-LCM-WRITE
155         write: SDNC-LCM-READ
156     response:
157       timeout: 3600000
158     key: VIlbtVl6YLhNUrtU
159     secret: 64AG2hF4pYeG2pq7CT6XwUOT
160     service: ueb
161
162 #Pods Service Account
163 serviceAccount:
164   nameOverride: so-appc-orchestrator
165   roles:
166     - read