blob: 3cc9b9542fe83ca2121d398553106b0321e2fe0f [file] [log] [blame]
priyanshu3af9db62018-08-16 16:23:52 +05301# Copyright © 2018 Amdocs, Bell Canada
priyanshua1b061392018-05-29 12:50:14 +05302#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
dfx1971b2734ed2019-05-07 10:35:58 +030020 nodePortPrefixExt: 304
ChrisC742a7b22020-09-04 11:29:57 +020021 aafEnabled: true
22
23#################################################################
24# AAF Part
25#################################################################
26certInitializer:
27 nameOverride: sdc-wfd-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
priyanshua1b061392018-05-29 12:50:14 +053045
46#################################################################
47# Application configuration defaults.
48#################################################################
49# application image
ChrisC7ab57312020-08-12 16:24:38 +020050image: onap/sdc-workflow-frontend:1.7.0
priyanshua1b061392018-05-29 12:50:14 +053051pullPolicy: Always
52
53# flag to enable debugging - application support required
54debugEnabled: false
55
56config:
r.bogacki861f5072019-09-03 10:16:59 +020057 javaOptions: "-Xmx256m -Xms256m"
IlanaPc80bff92019-11-18 21:10:08 +020058 backendServerURL: "https://sdc-wfd-be:8443"
dfx1971e8246b52019-05-23 12:07:39 +030059 isHttpsEnabled: true
IlanaPc80bff92019-11-18 21:10:08 +020060 # following flag decides whether to check the certificate on the outgoing proxy request or whether to trust all parties
61 isTrustAll: true
dfx1971b2734ed2019-05-07 10:35:58 +030062# https relevant settings. Change in case you have other trust files then default ones.
ChrisC742a7b22020-09-04 11:29:57 +020063
64#environment file
65env:
66 name: AUTO
67
dfx1971b2734ed2019-05-07 10:35:58 +030068security:
r.bogacki08a72d62019-10-01 08:43:44 +020069 isDefaultStore: false
priyanshua1b061392018-05-29 12:50:14 +053070
71# default number of instances
72replicaCount: 1
73
74nodeSelector: {}
75
76affinity: {}
77
78# probe configuration parameters
79liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020080 initialDelaySeconds: 1
priyanshua1b061392018-05-29 12:50:14 +053081 periodSeconds: 10
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020082 successThreshold: 1
83 failureThreshold: 3
priyanshua1b061392018-05-29 12:50:14 +053084 # 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
priyanshua1b061392018-05-29 12:50:14 +053090 periodSeconds: 10
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020091 successThreshold: 1
92 failureThreshold: 3
93
94startup:
95 initialDelaySeconds: 10
96 periodSeconds: 10
97 successThreshold: 1
98 failureThreshold: 60
priyanshua1b061392018-05-29 12:50:14 +053099
100service:
101 type: NodePort
102 internalPort: 8080
103 externalPort: 8080
dfx1971b2734ed2019-05-07 10:35:58 +0300104 internalPort2: 8443
105 externalPort2: 8443
IlanaPc80bff92019-11-18 21:10:08 +0200106 portName: sdc-wfd-fe
107 nodePort: "56" # only one node port. set to http or https port depending on isHttpsEnabled property
priyanshua1b061392018-05-29 12:50:14 +0530108
109ingress:
110 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100111 service:
112 - baseaddr: "sdcwfdfe"
113 name: "sdc-wfd-fe"
114 port: 8443
priyanshu54a0a8a2019-02-28 10:08:52 +0530115 annotations:
116 ingress.kubernetes.io/secure-backends: "false"
117 nginx.ingress.kubernetes.io/secure-backends: "false"
118 nginx.ingress.kubernetes.io/proxy-body-size: "0"
119 nginx.ingress.kubernetes.io/ssl-redirect: "true"
120 nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100121 nginx.ingress.kubernetes.io/rewrite-target: "/workflows/"
priyanshua1b061392018-05-29 12:50:14 +0530122
ChrisC32172342020-10-02 16:39:13 +0200123# Resource Limit flavor -By Default using small
124# Segregation for Different environment (Small and Large)
125flavor: small
126resources:
127 small:
128 limits:
129 cpu: 500m
130 memory: 2Gi
131 requests:
132 cpu: 40m
133 memory: 1Gi
134 large:
135 limits:
136 cpu: 1
137 memory: 4Gi
138 requests:
139 cpu: 80m
140 memory: 2Gi
141 unlimited: {}