blob: 04d96448d0399bcfb79c41c1b02d1494f83411fd [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
MichaelMorris5a804bc2022-09-22 11:03:44 +010050image: onap/sdc-frontend:1.11.8
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:
othman touijer2b764d02022-01-05 14:40:37 +010056 dcae_discovery_url:
57 https: "https://sdc-dcae-fe:9444/dcaed/#/home"
58 http: "http://sdc-dcae-fe:8183/dcaed/#/home"
k.kedronc784bbd2019-09-05 18:28:16 +020059 dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home"
othman touijer2b764d02022-01-05 14:40:37 +010060 dcae_dt_discovery_url:
61 https: "https://sdc-dcae-dt:9446/dcae/#/dcae/home"
62 http: "http://sdc-dcae-dt:8186/dcae/#/dcae/home"
k.kedronc784bbd2019-09-05 18:28:16 +020063 dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home"
othman touijer2b764d02022-01-05 14:40:37 +010064 workflow_discovery_url:
65 https: "https://sdc-wfd-fe:8443/workflows"
66 http: "http://sdc-wfd-fe:8080/workflows"
IlanaPc80bff92019-11-18 21:10:08 +020067 workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000068
ChrisC742a7b22020-09-04 11:29:57 +020069#environment file
70env:
71 name: AUTO
72
73security:
74 disableHttp: true
75
Mandeep Khindaa1047f42018-03-22 02:12:15 +000076# default number of instances
77replicaCount: 1
78
79nodeSelector: {}
80
81affinity: {}
82
83# probe configuration parameters
84liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020085 initialDelaySeconds: 1
86 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050087 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020088 successThreshold: 1
89 failureThreshold: 3
Mandeep Khindaa1047f42018-03-22 02:12:15 +000090 # necessary to disable liveness probe when setting breakpoints
91 # in debugger so K8s doesn't restart unresponsive container
92 enabled: true
93
94readiness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020095 initialDelaySeconds: 1
96 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050097 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020098 successThreshold: 1
99 failureThreshold: 3
100
101startup:
102 initialDelaySeconds: 10
103 periodSeconds: 10
104 timeoutSeconds: 15
105 successThreshold: 1
106 failureThreshold: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000107
108service:
109 #Example service definition with external, internal and node ports.
110 #Services may use any combination of ports depending on the 'type' of
111 #service being defined.
112 type: NodePort
113 name: sdc-fe
othman touijer2b764d02022-01-05 14:40:37 +0100114 portName: http
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000115 internalPort: 8181
Mandeep Khindafe527eb2018-10-16 09:56:34 -0400116 externalPort: 8181
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000117 internalPort2: 9443
Mandeep Khindafe527eb2018-10-16 09:56:34 -0400118 externalPort2: 9443
efiacor12566372022-05-11 19:39:10 +0100119 nodePort: "07"
120
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000121
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000122ingress:
123 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100124 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000125 - baseaddr: "sdc.api.fe"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100126 name: "sdc-fe"
127 port: 9443
128 config:
129 ssl: "redirect"
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000130
Mukula93baa82018-09-19 15:56:58 +0000131# Resource Limit flavor -By Default using small
132flavor: small
133# Segregation for Different environment (Small and Large)
134resources:
135 small:
136 limits:
ChrisC32172342020-10-02 16:39:13 +0200137 cpu: 500m
138 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000139 requests:
ChrisC32172342020-10-02 16:39:13 +0200140 cpu: 40m
Mukula93baa82018-09-19 15:56:58 +0000141 memory: 1Gi
142 large:
143 limits:
ChrisC32172342020-10-02 16:39:13 +0200144 cpu: 1
145 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000146 requests:
ChrisC32172342020-10-02 16:39:13 +0200147 cpu: 80m
Mukula93baa82018-09-19 15:56:58 +0000148 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000149 unlimited: {}
farida azmy1383b4c2021-04-06 12:33:31 +0200150
151#Pods Service Account
152serviceAccount:
153 nameOverride: sdc-fe
154 roles:
155 - read
Maciej Wereski771ec2a2021-10-14 13:59:12 +0000156
157#Log configuration
158log:
159 path: /var/log/onap
160logConfigMapNamePrefix: '{{ include "common.fullname" . }}'