[DCAEMOD] Uses new tpls for repos / images
[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   readinessImage: onap/oom/readiness:3.0.1
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   aafEnabled: true
25   cassandra:
26     #This flag allows SDC to instantiate its own cluster, serviceName
27     #should be sdc-cs if this flag is enabled
28     localCluster: false
29     #The cassandra service name to connect to (default: shared cassandra service)
30     serviceName: cassandra
31     #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
32     #to match with its own cluster replica
33     replicaCount: 3
34     clusterName: cassandra
35     dataCenter: Pod
36
37 #################################################################
38 # AAF Part
39 #################################################################
40 certInitializer:
41   nameOverride: sdc-wfd-be-cert-init
42   aafDeployFqi: deployer@people.osaaf.org
43   aafDeployPass: demo123456!
44   fqdn: sdc
45   fqi: sdc@sdc.onap.org
46   public_fqdn: sdc.onap.org
47   cadi_longitude: "0.0"
48   cadi_latitude: "0.0"
49   app_ns: org.osaaf.aaf
50   credsPath: /opt/app/osaaf/local
51   addconfig: true
52   keystoreFile: "org.onap.sdc.p12"
53   truststoreFile: "org.onap.sdc.trust.jks"
54   permission_user: 352070
55   permission_group: 35953
56   aaf_add_config: >
57     /opt/app/aaf_config/bin/agent.sh local showpass
58     {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
59
60 #################################################################
61 # Application configuration defaults.
62 #################################################################
63 # application image
64 repository: nexus3.onap.org:10001
65 image: onap/sdc-workflow-backend:1.7.0
66 configInitImage: onap/sdc-workflow-init:1.7.0
67 pullPolicy: Always
68
69 initJob:
70   enabled: true
71
72 config:
73   javaOptions: "-Xmx1536m -Xms1536m"
74   cassandraAuthenticationEnabled: true
75   cassandraClientPort: 9042
76   sdcProtocol: HTTPS
77   sdcEndpoint: sdc-be:8443
78   sdcExternalUser: workflow
79   serverSSLEnabled: true
80   serverSSLKeyStoreType: jks
81   serverSSLTrustStoreType: jks
82   cassandraSSLEnabled: false
83   cassandraTrustStorePath: /home/sdc/etc/truststore
84
85 # environment file
86 env:
87   name: AUTO
88
89 # default number of instances
90 replicaCount: 1
91
92 nodeSelector: {}
93
94 affinity: {}
95
96 # probe configuration parameters
97 liveness:
98   initialDelaySeconds: 60
99   periodSeconds: 10
100   # necessary to disable liveness probe when setting breakpoints
101   # in debugger so K8s doesn't restart unresponsive container
102   enabled: true
103
104 readiness:
105   initialDelaySeconds: 60
106   periodSeconds: 10
107
108 service:
109   type: NodePort
110   portName: sdc-wfd-be
111   internalPort: 8080
112   externalPort: 8080
113   internalPort2: 8443
114   externalPort2: 8443
115   nodePort: "57" # only one node port. set to http or https port depending on isHttpsEnabled property
116
117 ingress:
118   enabled: false
119   service:
120     - baseaddr: "sdcwfdbe"
121       name: "sdc-wfd-be"
122       port: 8443
123   config:
124     ssl: "redirect"
125
126 # Resource Limit flavor -By Default using small
127 # Segregation for Different environment (Small and Large)
128 flavor: small
129 resources:
130   small:
131     limits:
132       cpu: 500m
133       memory: 2Gi
134     requests:
135       cpu: 40m
136       memory: 1Gi
137   large:
138     limits:
139       cpu: 1
140       memory: 4Gi
141     requests:
142       cpu: 80m
143       memory: 2Gi
144   unlimited: {}