blob: dcebc475adc54c5cbdfc023ac75f68e429ad1c37 [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T, ZTE
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00003#
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
Mandeep Khindaa1047f42018-03-22 02:12:15 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
ChrisC742a7b22020-09-04 11:29:57 +020021 aafEnabled: true
22
23#################################################################
24# AAF Part
25#################################################################
26certInitializer:
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
Mandeep Khindaa1047f42018-03-22 02:12:15 +000045
46#################################################################
47# Application configuration defaults.
48#################################################################
49# application image
ChrisCdc6c6102021-04-19 08:33:54 +020050image: onap/sdc-frontend:1.8.5
Mandeep Khindaa1047f42018-03-22 02:12:15 +000051pullPolicy: Always
52
Mandeep Khinda403c1c12018-04-19 23:15:43 +000053config:
r.bogackic535c932019-09-03 10:34:12 +020054 javaOptions: "-Xmx256m -Xms256m"
shrikantawachar0c84bc32019-01-16 13:12:21 +053055 plugins:
k.kedronc784bbd2019-09-05 18:28:16 +020056 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"
IlanaPc80bff92019-11-18 21:10:08 +020060 workflow_discovery_url: "https://sdc-wfd-fe:8443/workflows"
61 workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000062
ChrisC742a7b22020-09-04 11:29:57 +020063#environment file
64env:
65 name: AUTO
66
67security:
68 disableHttp: true
69
Mandeep Khindaa1047f42018-03-22 02:12:15 +000070# default number of instances
71replicaCount: 1
72
73nodeSelector: {}
74
75affinity: {}
76
77# probe configuration parameters
78liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020079 initialDelaySeconds: 1
80 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050081 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020082 successThreshold: 1
83 failureThreshold: 3
Mandeep Khindaa1047f42018-03-22 02:12:15 +000084 # necessary to disable liveness probe when setting breakpoints
85 # in debugger so K8s doesn't restart unresponsive container
86 enabled: true
87
88readiness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020089 initialDelaySeconds: 1
90 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050091 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020092 successThreshold: 1
93 failureThreshold: 3
94
95startup:
96 initialDelaySeconds: 10
97 periodSeconds: 10
98 timeoutSeconds: 15
99 successThreshold: 1
100 failureThreshold: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000101
102service:
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
BorislavG1ffbd992018-04-24 07:56:27 +0000108 portName: sdc-fe
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000109 nodePort: "06"
110 internalPort: 8181
Mandeep Khindafe527eb2018-10-16 09:56:34 -0400111 externalPort: 8181
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000112 nodePort2: "07"
113 internalPort2: 9443
Mandeep Khindafe527eb2018-10-16 09:56:34 -0400114 externalPort2: 9443
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000115
116
117
118ingress:
119 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100120 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000121 - baseaddr: "sdc.api.fe"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100122 name: "sdc-fe"
123 port: 9443
124 config:
125 ssl: "redirect"
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000126
Mukula93baa82018-09-19 15:56:58 +0000127# Resource Limit flavor -By Default using small
128flavor: small
129# Segregation for Different environment (Small and Large)
130resources:
131 small:
132 limits:
ChrisC32172342020-10-02 16:39:13 +0200133 cpu: 500m
134 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000135 requests:
ChrisC32172342020-10-02 16:39:13 +0200136 cpu: 40m
Mukula93baa82018-09-19 15:56:58 +0000137 memory: 1Gi
138 large:
139 limits:
ChrisC32172342020-10-02 16:39:13 +0200140 cpu: 1
141 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000142 requests:
ChrisC32172342020-10-02 16:39:13 +0200143 cpu: 80m
Mukula93baa82018-09-19 15:56:58 +0000144 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000145 unlimited: {}