1c0cd43c6f9872653963fad58e5f079871e17a56
[oom.git] / kubernetes / so / charts / so-appc-orchestrator / values.yaml
1 # Copyright © 2020 AT&T USA
2 #
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
18 global:
19   nodePortPrefix: 302
20   nodePortPrefixExt: 304
21   repository: nexus3.onap.org:10001
22   readinessRepository: oomk8s
23   readinessImage: readiness-check:2.0.2
24   persistence:
25     mountPath: /dockerdata-nfs
26   htpasswdImage: xmartlabs/htpasswd
27   dockerHubRepository: docker.io
28 #################################################################
29 # Secrets metaconfig
30 #################################################################
31 secrets:
32   - uid: db-user-creds
33     type: basicAuth
34     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
35     login: '{{ .Values.db.userName }}'
36     password: '{{ .Values.db.userPassword }}'
37     passwordPolicy: required
38   - uid: db-admin-creds
39     type: basicAuth
40     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
41     login: '{{ .Values.db.adminName }}'
42     password: '{{ .Values.db.adminPassword }}'
43     passwordPolicy: required
44   - uid: "so-onap-certs"
45     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
46     type: generic
47     filePaths: '{{ .Values.secretsFilePaths }}'
48   - uid: server-actuator-creds
49     name: '{{ include "common.release" . }}-so-appc-actuator-creds'
50     type: basicAuth
51     externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
52     login: '{{ .Values.server.actuator.username }}'
53     password: '{{ .Values.server.actuator.password }}'
54     passwordPolicy: required
55
56 #secretsFilePaths: |
57 #  - 'my file 1'
58 #  - '{{ include "templateThatGeneratesFileName" . }}'
59
60 #################################################################
61 # Application configuration defaults.
62 #################################################################
63 repository: nexus3.onap.org:10001
64 image: onap/so/so-appc-orchestrator:1.6.4
65 pullPolicy: Always
66
67 db:
68   userName: so_user
69   userPassword: so_User123
70   # userCredsExternalSecret: some secret
71   adminName: so_admin
72   adminPassword: so_Admin123
73   # adminCredsExternalSecret: some secret
74 server:
75   actuator:
76     username: mso_admin
77     password: password1$
78 replicaCount: 1
79 minReadySeconds: 10
80 containerPort: 8080
81 logPath: ./logs/soappcorch
82 app: appc-orchestrator
83 service:
84   name: so-appc-orchestrator
85   type: ClusterIP
86   ports:
87   - port: 8080
88     name: http
89 updateStrategy:
90   type: RollingUpdate
91   maxUnavailable: 1
92   maxSurge: 1
93 # Resource Limit flavor -By Default using small
94 flavor: small
95 # Segregation for Different environment (Small and Large)
96 resources:
97   small:
98     limits:
99       memory: 4Gi
100       cpu: 2000m
101     requests:
102       memory: 1Gi
103       cpu: 500m
104   large:
105     limits:
106       memory: 8Gi
107       cpu: 4000m
108     requests:
109       memory: 2Gi
110       cpu: 1000m
111   unlimited: {}
112 livenessProbe:
113     path: /manage/health
114     port: 8083
115     scheme: HTTP
116     initialDelaySeconds: 600
117     periodSeconds: 60
118     timeoutSeconds: 10
119     successThreshold: 1
120     failureThreshold: 3
121 ingress:
122   enabled: false
123 nodeSelector: {}
124 tolerations: []
125 affinity: {}