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