bump the SO version to 1.5.3
[oom.git] / kubernetes / so / values.yaml
1 # Copyright © 2018 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 global:
18   nodePortPrefix: 302
19   nodePortPrefixExt: 304
20   repository: nexus3.onap.org:10001
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   mariadbGalera:
24     nameOverride: mariadb-galera
25     serviceName: mariadb-galera
26     servicePort: "3306"
27     mariadbRootPassword: secretpassword
28     #This flag allows SO to instantiate its own mariadb-galera cluster,
29     #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
30     localCluster: false
31   persistence:
32     mountPath: /dockerdata-nfs
33   #This configuration will run the migration. The configurations are for backing up the data
34   #from DB and then restoring it to the present versions preferred DB.
35   migration:
36     enabled: false
37     dbHost: mariadb-galera
38     dbPort: 3306
39     dbUser: root
40     dbPassword: secretpassword
41
42 #################################################################
43 # Application configuration defaults.
44 #################################################################
45 repository: nexus3.onap.org:10001
46 image: onap/so/api-handler-infra:1.5.3
47 pullPolicy: Always
48
49 replicaCount: 1
50 minReadySeconds: 10
51 containerPort: 8080
52 logPath: ./logs/apih/
53 app: api-handler-infra
54 service:
55     type: NodePort
56     nodePort: 77
57     internalPort: 8080
58     externalPort: 8080
59     portName: so-apih-port
60 updateStrategy:
61     type: RollingUpdate
62     maxUnavailable: 1
63     maxSurge: 1
64 # Resource Limit flavor -By Default using small
65 flavor: small
66 # Segregation for Different environment (Small and Large)
67 resources:
68   small:
69     limits:
70       cpu: 2000m
71       memory: 4Gi
72     requests:
73       cpu: 500m
74       memory: 1Gi
75   large:
76     limits:
77       cpu: 4000m
78       memory: 8Gi
79     requests:
80       cpu: 1000m
81       memory: 2Gi
82   unlimited: {}
83 livenessProbe:
84     path: /manage/health
85     scheme: HTTP
86     initialDelaySeconds: 600
87     periodSeconds: 60
88     timeoutSeconds: 10
89     successThreshold: 1
90     failureThreshold: 3
91
92 nodeSelector: {}
93 affinity: {}
94
95 #Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
96 #helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
97 #                                                       --set so.global.mariadbGalera.localCluster=true \
98 #                                                       --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
99 #                                                       --set so.global.mariadbGalera.serviceName=so-mariadb-galera
100 mariadb-galera:
101   nameOverride: so-mariadb-galera
102   replicaCount: 1
103   service:
104     name: so-mariadb-galera
105   persistence:
106     mountSubPath: so/mariadb-galera/data
107     enabled: true