blob: 1e269d055266b30590ef9950733904026e16c7eb [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
Sylvain Desbureaux575743d2021-02-23 16:38:07 +010042 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
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:
79 initialDelaySeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050080 periodSeconds: 60
81 timeoutSeconds: 15
Mandeep Khindaa1047f42018-03-22 02:12:15 +000082 # necessary to disable liveness probe when setting breakpoints
83 # in debugger so K8s doesn't restart unresponsive container
84 enabled: true
85
86readiness:
87 initialDelaySeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050088 periodSeconds: 60
89 timeoutSeconds: 15
Mandeep Khindaa1047f42018-03-22 02:12:15 +000090
91service:
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
BorislavG1ffbd992018-04-24 07:56:27 +000097 portName: sdc-fe
Mandeep Khindaa1047f42018-03-22 02:12:15 +000098 nodePort: "06"
99 internalPort: 8181
Mandeep Khindafe527eb2018-10-16 09:56:34 -0400100 externalPort: 8181
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000101 nodePort2: "07"
102 internalPort2: 9443
Mandeep Khindafe527eb2018-10-16 09:56:34 -0400103 externalPort2: 9443
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000104
105
106
107ingress:
108 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100109 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000110 - baseaddr: "sdc.api.fe"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100111 name: "sdc-fe"
112 port: 9443
113 config:
114 ssl: "redirect"
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000115
Mukula93baa82018-09-19 15:56:58 +0000116# Resource Limit flavor -By Default using small
117flavor: small
118# Segregation for Different environment (Small and Large)
119resources:
120 small:
121 limits:
ChrisC32172342020-10-02 16:39:13 +0200122 cpu: 500m
123 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000124 requests:
ChrisC32172342020-10-02 16:39:13 +0200125 cpu: 40m
Mukula93baa82018-09-19 15:56:58 +0000126 memory: 1Gi
127 large:
128 limits:
ChrisC32172342020-10-02 16:39:13 +0200129 cpu: 1
130 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000131 requests:
ChrisC32172342020-10-02 16:39:13 +0200132 cpu: 80m
Mukula93baa82018-09-19 15:56:58 +0000133 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000134 unlimited: {}