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