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