Update SO-VNFM-Adapter override.yaml for ETSI
[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   msbEnabled: true
42
43 #################################################################
44 # Application configuration defaults.
45 #################################################################
46 repository: nexus3.onap.org:10001
47 image: onap/so/api-handler-infra:1.5.3
48 pullPolicy: Always
49
50 replicaCount: 1
51 minReadySeconds: 10
52 containerPort: 8080
53 logPath: ./logs/apih/
54 app: api-handler-infra
55 service:
56     type: NodePort
57     nodePort: 77
58     internalPort: 8080
59     externalPort: 8080
60     portName: so-apih-port
61 updateStrategy:
62     type: RollingUpdate
63     maxUnavailable: 1
64     maxSurge: 1
65 # Resource Limit flavor -By Default using small
66 flavor: small
67 # Segregation for Different environment (Small and Large)
68 resources:
69   small:
70     limits:
71       cpu: 2000m
72       memory: 4Gi
73     requests:
74       cpu: 500m
75       memory: 1Gi
76   large:
77     limits:
78       cpu: 4000m
79       memory: 8Gi
80     requests:
81       cpu: 1000m
82       memory: 2Gi
83   unlimited: {}
84 livenessProbe:
85     path: /manage/health
86     scheme: HTTP
87     initialDelaySeconds: 600
88     periodSeconds: 60
89     timeoutSeconds: 10
90     successThreshold: 1
91     failureThreshold: 3
92
93 nodeSelector: {}
94 affinity: {}
95
96 #Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
97 #helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
98 #                                                       --set so.global.mariadbGalera.localCluster=true \
99 #                                                       --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
100 #                                                       --set so.global.mariadbGalera.serviceName=so-mariadb-galera
101 mariadb-galera:
102   nameOverride: so-mariadb-galera
103   replicaCount: 1
104   service:
105     name: so-mariadb-galera
106   persistence:
107     mountSubPath: so/mariadb-galera/data
108     enabled: true
109
110 ingress:
111   enabled: false
112   service:
113     - baseaddr: "so"
114       name: "so"
115       port: 8080
116   config:
117     ssl: "none"