Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / sdc / components / sdc-wfd-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
27     # (default: shared cassandra service)
28     serviceName: cassandra
29     # Shared cassandra cluster replicaCount, should be changed if
30     # localCluster is enabled to match with its own cluster replica
31     replicaCount: 3
32     clusterName: cassandra
33     dataCenter: Pod
34
35 #################################################################
36 # AAF Part
37 #################################################################
38 certInitializer:
39   nameOverride: sdc-wfd-be-cert-init
40   aafDeployFqi: deployer@people.osaaf.org
41   aafDeployPass: demo123456!
42   fqdn: sdc
43   fqi: sdc@sdc.onap.org
44   public_fqdn: sdc.onap.org
45   cadi_longitude: "0.0"
46   cadi_latitude: "0.0"
47   app_ns: org.osaaf.aaf
48   credsPath: /opt/app/osaaf/local
49   addconfig: true
50   keystoreFile: "org.onap.sdc.p12"
51   truststoreFile: "org.onap.sdc.trust.jks"
52   permission_user: 352070
53   permission_group: 35953
54   aaf_add_config: |
55     echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
56     echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
57
58 #################################################################
59 # Application configuration defaults.
60 #################################################################
61 # application image
62 image: onap/sdc-workflow-backend:1.11.1
63 configInitImage: onap/sdc-workflow-init:1.11.1
64 pullPolicy: Always
65
66 initJob:
67   enabled: true
68
69 config:
70   javaOptions: "-Xmx1536m -Xms1536m"
71   cassandraAuthenticationEnabled: true
72   cassandraClientPort: 9042
73   sdcEndpoint:
74     https: sdc-be:8443
75     http: sdc-be:8080
76   sdcExternalUser: workflow
77   serverSSLKeyStoreType: jks
78   serverSSLTrustStoreType: jks
79   cassandraSSLEnabled: false
80   cassandraTrustStorePath: /home/sdc/etc/truststore
81
82 # environment file
83 env:
84   name: AUTO
85
86 # default number of instances
87 replicaCount: 1
88
89 nodeSelector: {}
90
91 affinity: {}
92
93 # probe configuration parameters
94 #liveness:
95 #  initialDelaySeconds: 60
96 #  periodSeconds: 10
97 #  # necessary to disable liveness probe when setting breakpoints
98 #  # in debugger so K8s doesn't restart unresponsive container
99 #  enabled: true
100
101 #readiness:
102 #  initialDelaySeconds: 60
103 #  periodSeconds: 10
104
105 # probe configuration parameters
106 liveness:
107   initialDelaySeconds: 1
108   periodSeconds: 10
109   successThreshold: 1
110   failureThreshold: 3
111   # necessary to disable liveness probe when setting breakpoints
112   # in debugger so K8s doesn't restart unresponsive container
113   enabled: true
114
115 readiness:
116   initialDelaySeconds: 1
117   periodSeconds: 10
118   successThreshold: 1
119   failureThreshold: 3
120
121 startup:
122   initialDelaySeconds: 10
123   periodSeconds: 10
124   successThreshold: 1
125   failureThreshold: 60
126
127 service:
128   type: NodePort
129   portName: http
130   internalPort: 8080
131   externalPort: 8080
132   internalPort2: 8443
133   externalPort2: 8443
134   nodePort: "57" # only one node port. set to http or https port depending on isHttpsEnabled property
135
136 ingress:
137   enabled: false
138   service:
139     - baseaddr: "sdc-wfd-be-api"
140       name: "sdc-wfd-be"
141       port: 8443
142       plain_port: 8080
143   config:
144     ssl: "redirect"
145
146 # Resource Limit flavor -By Default using small
147 # Segregation for Different environment (Small and Large)
148 flavor: small
149 resources:
150   small:
151     limits:
152       cpu: 500m
153       memory: 2Gi
154     requests:
155       cpu: 40m
156       memory: 1Gi
157   large:
158     limits:
159       cpu: 1
160       memory: 4Gi
161     requests:
162       cpu: 80m
163       memory: 2Gi
164   unlimited: {}
165
166 #Pods Service Account
167 serviceAccount:
168   nameOverride: sdc-wfd-be
169   roles:
170     - read
171
172 wait_for_job_container:
173   containers:
174     - '{{ include "common.name" . }}-job'