blob: fc3b53fc50adebc869914aeab0bdc0a05034c66d [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 cassandra:
23 #This flag allows SDC to instantiate its own cluster, serviceName
24 #should be sdc-cs if this flag is enabled
25 localCluster: false
26 #The cassandra service name to connect to (default: shared cassandra service)
27 serviceName: cassandra
28 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
29 #to match with its own cluster replica
30 replicaCount: 3
31 clusterName: cassandra
32 dataCenter: Pod
Mandeep Khindaa1047f42018-03-22 02:12:15 +000033
34#################################################################
35# Application configuration defaults.
36#################################################################
37# application image
ChrisCdc6c6102021-04-19 08:33:54 +020038image: onap/sdc-backend-all-plugins:1.8.5
39backendInitImage: onap/sdc-backend-init:1.8.5
Sylvain Desbureaux0a1eaf32020-11-19 17:56:08 +010040
Mandeep Khindaa1047f42018-03-22 02:12:15 +000041pullPolicy: Always
42
43# flag to enable debugging - application support required
44debugEnabled: false
45
ChrisC742a7b22020-09-04 11:29:57 +020046#environment file
47env:
48 name: AUTO
49
50certInitializer:
51 nameOverride: sdc-be-cert-init
52 aafDeployFqi: deployer@people.osaaf.org
53 aafDeployPass: demo123456!
54 fqdn: sdc
55 fqi: sdc@sdc.onap.org
56 public_fqdn: sdc.onap.org
57 cadi_longitude: "0.0"
58 cadi_latitude: "0.0"
59 app_ns: org.osaaf.aaf
60 credsPath: /opt/app/osaaf/local
61 addconfig: true
62 keystoreFile: "org.onap.sdc.p12"
63 truststoreFile: "org.onap.sdc.trust.jks"
64 permission_user: 352070
65 permission_group: 35953
Sylvain Desbureaux575743d2021-02-23 16:38:07 +010066 aaf_add_config: |
67 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
68 echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
ChrisC742a7b22020-09-04 11:29:57 +020069
70#################################################################
71# SDC Config part
72#################################################################
Mandeep Khinda403c1c12018-04-19 23:15:43 +000073config:
r.bogacki65cb1ac2019-09-03 09:27:24 +020074 javaOptions: "-Xmx1536m -Xms1536m"
Mandeep Khinda403c1c12018-04-19 23:15:43 +000075 cassandraSslEnabled: "false"
76
Mandeep Khindaa1047f42018-03-22 02:12:15 +000077# default number of instances
78replicaCount: 1
79
80nodeSelector: {}
81
82affinity: {}
83
84# probe configuration parameters
85liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020086 initialDelaySeconds: 1
Mandeep Khindaa1047f42018-03-22 02:12:15 +000087 periodSeconds: 10
Yang Xu85608542019-06-16 23:25:32 -040088 timeoutSeconds: 5
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020089 successThreshold: 1
90 failureThreshold: 3
Mandeep Khindaa1047f42018-03-22 02:12:15 +000091 # necessary to disable liveness probe when setting breakpoints
92 # in debugger so K8s doesn't restart unresponsive container
gummara72e6de2020-03-12 11:15:56 +000093 port: api
Mandeep Khindaa1047f42018-03-22 02:12:15 +000094 enabled: true
95
96readiness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020097 initialDelaySeconds: 1
Mandeep Khindaa1047f42018-03-22 02:12:15 +000098 periodSeconds: 10
Yang Xu85608542019-06-16 23:25:32 -040099 timeoutSeconds: 5
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200100 successThreshold: 1
101 failureThreshold: 3
102
103startup:
104 initialDelaySeconds: 10
105 periodSeconds: 10
106 timeoutSeconds: 5
107 successThreshold: 1
108 failureThreshold: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000109
110service:
111 type: NodePort
112 name: sdc-be
gummara72e6de2020-03-12 11:15:56 +0000113 both_tls_and_plain: true
114 msb:
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000115 - port: 8443
gummara72e6de2020-03-12 11:15:56 +0000116 url: "/sdc/v1"
117 version: "v1"
118 protocol: "REST"
119 visualRange: "1"
120 serviceName: sdc
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000121 enable_ssl: true
gummara72e6de2020-03-12 11:15:56 +0000122 - port: 8080
123 url: "/sdc/v1"
124 version: "v1"
125 protocol: "REST"
126 visualRange: "1"
127 serviceName: sdc-deprecated
128 ports:
129 - name: api
130 port: 8443
131 plain_port: 8080
132 port_protocol: http
133 nodePort: '04'
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000134
135ingress:
136 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100137 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000138 - baseaddr: "sdc.api.be"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100139 name: "sdc-be"
gummara72e6de2020-03-12 11:15:56 +0000140 port: 8443
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100141 config:
gummara72e6de2020-03-12 11:15:56 +0000142 ssl: "redirect"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100143
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000144
Mukula93baa82018-09-19 15:56:58 +0000145# Resource Limit flavor -By Default using small
146flavor: small
147# Segregation for Different environment (Small and Large)
148resources:
149 small:
150 limits:
151 cpu: 1
ChrisC32172342020-10-02 16:39:13 +0200152 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000153 requests:
ChrisC32172342020-10-02 16:39:13 +0200154 cpu: 100m
Mukula93baa82018-09-19 15:56:58 +0000155 memory: 1Gi
156 large:
157 limits:
158 cpu: 2
ChrisC32172342020-10-02 16:39:13 +0200159 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000160 requests:
ChrisC32172342020-10-02 16:39:13 +0200161 cpu: 200m
Mukula93baa82018-09-19 15:56:58 +0000162 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000163 unlimited: {}