Merge "[OOF] Update OOF image versions"
[oom.git] / kubernetes / sdc / components / sdc-be / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T, ZTE
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 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   aafEnabled: true
22   sdc_cassandra:
23     #This flag allows SDC to instantiate its own cluster, serviceName
24     #should be sdc-cs if this flag is enabled
25     localCluster: false
26     #The cassandra service name to connect to (default: shared cassandra service)
27     serviceName: cassandra
28     #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
29     #to match with its own cluster replica
30     replicaCount: 3
31     clusterName: cassandra
32     dataCenter: Pod
33
34 #################################################################
35 # Application configuration defaults.
36 #################################################################
37 # application image
38 image: onap/sdc-backend-all-plugins:1.11.8
39 backendInitImage: onap/sdc-backend-init:1.11.8
40
41 pullPolicy: Always
42
43 # flag to enable debugging - application support required
44 debugEnabled: false
45
46 #environment file
47 env:
48   name: AUTO
49
50 certInitializer:
51   nameOverride: sdc-be-cert-init
52   aafDeployFqi: deployer@people.osaaf.org
53   aafDeployPass: demo123456!
54   fqdn: sdc
55   fqi: sdc@sdc.onap.org
56   public_fqdn: sdc.onap.org
57   cadi_longitude: "0.0"
58   cadi_latitude: "0.0"
59   app_ns: org.osaaf.aaf
60   credsPath: /opt/app/osaaf/local
61   addconfig: true
62   keystoreFile: "org.onap.sdc.p12"
63   truststoreFile: "org.onap.sdc.trust.jks"
64   permission_user: 352070
65   permission_group: 35953
66   aaf_add_config: |
67     echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
68     echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
69
70 #################################################################
71 # SDC Config part
72 #################################################################
73 config:
74   javaOptions: "-Xmx1536m -Xms1536m"
75   cassandraSslEnabled: "false"
76
77 # default number of instances
78 replicaCount: 1
79
80 nodeSelector: {}
81
82 affinity: {}
83
84 # probe configuration parameters
85 liveness:
86   initialDelaySeconds: 1
87   periodSeconds: 10
88   timeoutSeconds: 180
89   successThreshold: 1
90   failureThreshold: 3
91   # necessary to disable liveness probe when setting breakpoints
92   # in debugger so K8s doesn't restart unresponsive container
93   enabled: true
94
95 readiness:
96   initialDelaySeconds: 1
97   periodSeconds: 10
98   timeoutSeconds: 180
99   successThreshold: 1
100   failureThreshold: 3
101
102 startup:
103   initialDelaySeconds: 10
104   periodSeconds: 10
105   timeoutSeconds: 180
106   successThreshold: 1
107   failureThreshold: 60
108
109 service:
110   type: NodePort
111   name: sdc-be
112   both_tls_and_plain: true
113   internalPort: 8080
114   msb:
115     - port: 8443
116       url: "/sdc/v1"
117       version: "v1"
118       protocol: "REST"
119       visualRange: "1"
120       serviceName: sdc
121       enable_ssl: true
122     - port: 8080
123       url: "/sdc/v1"
124       version: "v1"
125       protocol: "REST"
126       visualRange: "1"
127       serviceName: sdc-deprecated
128   ports:
129     - name: tcp-api
130       port: 8443
131       plain_port: 8080
132       port_protocol: http
133       nodePort: '04'
134
135 ingress:
136   enabled: false
137   service:
138     - baseaddr: "sdc.api.be"
139       name: "sdc-be"
140       port: 8443
141   config:
142     ssl: "redirect"
143
144
145 # Resource Limit flavor -By Default using small
146 flavor: small
147 # Segregation for Different environment (Small and Large)
148 resources:
149   small:
150     limits:
151       cpu: 1
152       memory: 2Gi
153     requests:
154       cpu: 100m
155       memory: 1Gi
156   large:
157     limits:
158       cpu: 2
159       memory: 4Gi
160     requests:
161       cpu: 200m
162       memory: 2Gi
163   unlimited: {}
164
165 #Pods Service Account
166 serviceAccount:
167   nameOverride: sdc-be
168   roles:
169     - read
170
171 wait_for_job_container:
172   containers:
173     - '{{ include "common.name" . }}-job'
174
175 #Log configuration
176 log:
177   path: /var/log/onap
178 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'