Merge "[VID] Update VID to 8.0.2"
[oom.git] / kubernetes / sdc / components / sdc-fe / 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
23 #################################################################
24 # AAF Part
25 #################################################################
26 certInitializer:
27   nameOverride: sdc-fe-cert-init
28   aafDeployFqi: deployer@people.osaaf.org
29   aafDeployPass: demo123456!
30   fqdn: sdc
31   fqi: sdc@sdc.onap.org
32   public_fqdn: sdc.onap.org
33   cadi_longitude: "0.0"
34   cadi_latitude: "0.0"
35   app_ns: org.osaaf.aaf
36   credsPath: /opt/app/osaaf/local
37   addconfig: true
38   keystoreFile: "org.onap.sdc.p12"
39   truststoreFile: "org.onap.sdc.trust.jks"
40   permission_user: 352070
41   permission_group: 35953
42   aaf_add_config: >
43     /opt/app/aaf_config/bin/agent.sh local showpass
44     {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
45
46 #################################################################
47 # Application configuration defaults.
48 #################################################################
49 # application image
50 image: onap/sdc-frontend:1.8.4
51 pullPolicy: Always
52
53 config:
54   javaOptions: "-Xmx256m -Xms256m"
55   plugins:
56     dcae_discovery_url: "https://sdc-dcae-fe:9444/dcaed/#/home"
57     dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home"
58     dcae_dt_discovery_url: "https://sdc-dcae-dt:9446/dcae/#/dcae/home"
59     dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home"
60     workflow_discovery_url: "https://sdc-wfd-fe:8443/workflows"
61     workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/"
62
63 #environment file
64 env:
65   name: AUTO
66
67 security:
68   disableHttp: true
69
70 # default number of instances
71 replicaCount: 1
72
73 nodeSelector: {}
74
75 affinity: {}
76
77 # probe configuration parameters
78 liveness:
79   initialDelaySeconds: 10
80   periodSeconds: 60
81   timeoutSeconds: 15
82   # necessary to disable liveness probe when setting breakpoints
83   # in debugger so K8s doesn't restart unresponsive container
84   enabled: true
85
86 readiness:
87   initialDelaySeconds: 10
88   periodSeconds: 60
89   timeoutSeconds: 15
90
91 service:
92   #Example service definition with external, internal and node ports.
93   #Services may use any combination of ports depending on the 'type' of
94   #service being defined.
95   type: NodePort
96   name: sdc-fe
97   portName: sdc-fe
98   nodePort: "06"
99   internalPort: 8181
100   externalPort: 8181
101   nodePort2: "07"
102   internalPort2: 9443
103   externalPort2: 9443
104
105
106
107 ingress:
108   enabled: false
109   service:
110     - baseaddr: "sdc.api.fe"
111       name: "sdc-fe"
112       port: 9443
113   config:
114     ssl: "redirect"
115
116 # Resource Limit flavor -By Default using small
117 flavor: small
118 # Segregation for Different environment (Small and Large)
119 resources:
120   small:
121     limits:
122       cpu: 500m
123       memory: 2Gi
124     requests:
125       cpu: 40m
126       memory: 1Gi
127   large:
128     limits:
129       cpu: 1
130       memory: 4Gi
131     requests:
132       cpu: 80m
133       memory: 2Gi
134   unlimited: {}