e9b2eee8db440c9ddc6d0f9e841755ef1e2dfdfd
[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     echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
44     echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
45
46 #################################################################
47 # Application configuration defaults.
48 #################################################################
49 # application image
50 image: onap/sdc-frontend:1.9.0
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: 1
80   periodSeconds: 10
81   timeoutSeconds: 15
82   successThreshold: 1
83   failureThreshold: 3
84   # necessary to disable liveness probe when setting breakpoints
85   # in debugger so K8s doesn't restart unresponsive container
86   enabled: true
87
88 readiness:
89   initialDelaySeconds: 1
90   periodSeconds: 10
91   timeoutSeconds: 15
92   successThreshold: 1
93   failureThreshold: 3
94
95 startup:
96   initialDelaySeconds: 10
97   periodSeconds: 10
98   timeoutSeconds: 15
99   successThreshold: 1
100   failureThreshold: 60
101
102 service:
103   #Example service definition with external, internal and node ports.
104   #Services may use any combination of ports depending on the 'type' of
105   #service being defined.
106   type: NodePort
107   name: sdc-fe
108   portName: sdc-fe
109   nodePort: "06"
110   internalPort: 8181
111   externalPort: 8181
112   nodePort2: "07"
113   internalPort2: 9443
114   externalPort2: 9443
115
116
117
118 ingress:
119   enabled: false
120   service:
121     - baseaddr: "sdc.api.fe"
122       name: "sdc-fe"
123       port: 9443
124   config:
125     ssl: "redirect"
126
127 # Resource Limit flavor -By Default using small
128 flavor: small
129 # Segregation for Different environment (Small and Large)
130 resources:
131   small:
132     limits:
133       cpu: 500m
134       memory: 2Gi
135     requests:
136       cpu: 40m
137       memory: 1Gi
138   large:
139     limits:
140       cpu: 1
141       memory: 4Gi
142     requests:
143       cpu: 80m
144       memory: 2Gi
145   unlimited: {}
146
147 #Pods Service Account
148 serviceAccount:
149   nameOverride: sdc-fe
150   roles:
151     - read