Merge "[COMMON][DGBuilder] Uses new tpls for repos / images"
[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.7.3
51
52 pullPolicy: Always
53
54 config:
55   javaOptions: "-Xmx256m -Xms256m"
56   plugins:
57     dcae_discovery_url: "https://sdc-dcae-fe:9444/dcaed/#/home"
58     dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home"
59     dcae_dt_discovery_url: "https://sdc-dcae-dt:9446/dcae/#/dcae/home"
60     dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home"
61     workflow_discovery_url: "https://sdc-wfd-fe:8443/workflows"
62     workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/"
63
64 #environment file
65 env:
66   name: AUTO
67
68 security:
69   disableHttp: true
70
71 # default number of instances
72 replicaCount: 1
73
74 nodeSelector: {}
75
76 affinity: {}
77
78 # probe configuration parameters
79 liveness:
80   initialDelaySeconds: 10
81   periodSeconds: 60
82   timeoutSeconds: 15
83   # necessary to disable liveness probe when setting breakpoints
84   # in debugger so K8s doesn't restart unresponsive container
85   enabled: true
86
87 readiness:
88   initialDelaySeconds: 10
89   periodSeconds: 60
90   timeoutSeconds: 15
91
92 service:
93   #Example service definition with external, internal and node ports.
94   #Services may use any combination of ports depending on the 'type' of
95   #service being defined.
96   type: NodePort
97   name: sdc-fe
98   portName: sdc-fe
99   nodePort: "06"
100   internalPort: 8181
101   externalPort: 8181
102   nodePort2: "07"
103   internalPort2: 9443
104   externalPort2: 9443
105
106
107
108 ingress:
109   enabled: false
110   service:
111     - baseaddr: "sdc.api.fe"
112       name: "sdc-fe"
113       port: 9443
114   config:
115     ssl: "redirect"
116
117 # Resource Limit flavor -By Default using small
118 flavor: small
119 # Segregation for Different environment (Small and Large)
120 resources:
121   small:
122     limits:
123       cpu: 500m
124       memory: 2Gi
125     requests:
126       cpu: 40m
127       memory: 1Gi
128   large:
129     limits:
130       cpu: 1
131       memory: 4Gi
132     requests:
133       cpu: 80m
134       memory: 2Gi
135   unlimited: {}