blob: fe60b8023ca73ee381c70f02af1b4fc40f5d7e55 [file] [log] [blame]
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05001# Copyright (c) 2019 IBM, Bell Canada
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +01002# Copyright (c) 2020 Samsung Electronics
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05003#
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05004# 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
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 # Change to an unused port prefix range to prevent port conflicts
21 # with other instances running within the same k8s cluster
Oleg Mitsura0197bf12019-05-03 15:03:55 -040022 nodePortPrefixExt: 304
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050023
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050024 # image pull policy
25 pullPolicy: Always
26
27 persistence:
28 mountPath: /dockerdata-nfs
29
Konrad Bańkae332b242020-04-06 13:30:06 +020030 #This configuration specifies Service and port for SDNC OAM interface
31 sdncOamService: sdnc-oam
32 sdncOamPort: 8282
33
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010034#################################################################
35# Secrets metaconfig
36#################################################################
37secrets:
38 - uid: 'cds-db-user-creds'
39 type: basicAuth
40 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}'
41 login: '{{ .Values.config.cdsDB.dbUser }}'
42 password: '{{ .Values.config.cdsDB.dbPassword }}'
43 passwordPolicy: required
Konrad Bańka031bdb72020-05-14 16:56:39 +020044 - uid: 'sdnc-db-root-pass'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010045 type: password
Konrad Bańka031bdb72020-05-14 16:56:39 +020046 externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}'
47 password: '{{ .Values.config.sdncDB.dbRootPass }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010048 passwordPolicy: required
49
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050050#################################################################
51# Application configuration defaults.
52#################################################################
53# application image
Jozsef Csongvai08515b72021-04-28 17:04:57 -040054image: onap/ccsdk-blueprintsprocessor:1.1.4
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050055pullPolicy: Always
56
57# flag to enable debugging - application support required
58debugEnabled: false
59
60# application configuration
61config:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050062 appConfigDir: /opt/app/onap/config
Konrad Bańka031bdb72020-05-14 16:56:39 +020063 sdncDB:
64 dbService: mariadb-galera
65 dbPort: 3306
66 dbName: sdnctl
67 #dbRootPass: Custom root password
68 dbRootPassExternalSecret: '{{ include "common.mariadb.secret.rootPassSecretName" ( dict "dot" . "chartName" .Values.config.sdncDB.dbService ) }}'
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010069 cdsDB:
70 dbServer: cds-db
71 dbPort: 3306
72 dbName: sdnctl
Sylvain Desbureaux503b2292020-11-21 22:29:17 +010073 dbUser: sdnctl
74 dbPassword: sdnctl
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010075 # dbCredsExternalSecret: <some secret name>
76 # dbRootPassword: password
77 # dbRootPassExternalSecret
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050078
79# default number of instances
Jozsef Csongvai08515b72021-04-28 17:04:57 -040080replicaCount: 1
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050081
82nodeSelector: {}
83
84affinity: {}
85
Prathamesh Morde93da1272019-06-24 10:36:15 -040086# flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using
87# custom kafka cluster.
88dmaapEnabled: true
89
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010090
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050091# probe configuration parameters
Jozsef Csongvai08515b72021-04-28 17:04:57 -040092startup:
93 initialDelaySeconds: 10
94 failureThreshold: 30
95 periodSeconds: 10
96
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050097liveness:
Jozsef Csongvai08515b72021-04-28 17:04:57 -040098 initialDelaySeconds: 0
Oleg Mitsura3a621182019-10-09 12:40:11 -040099 periodSeconds: 20
100 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500101 # necessary to disable liveness probe when setting breakpoints
102 # in debugger so K8s doesn't restart unresponsive container
103 enabled: true
104
105readiness:
Yang Xu435062b2019-06-17 01:19:37 -0400106 initialDelaySeconds: 120
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500107 periodSeconds: 10
Oleg Mitsura3a621182019-10-09 12:40:11 -0400108 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500109
110service:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500111 http:
gummarc7bd0e22020-03-05 18:57:12 +0000112 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -0400113 portName: blueprints-processor-http
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500114 internalPort: 8080
115 externalPort: 8080
116 grpc:
Oleg Mitsura0197bf12019-05-03 15:03:55 -0400117 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -0400118 portName: blueprints-processor-grpc
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500119 internalPort: 9111
120 externalPort: 9111
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500121 cluster:
122 type: ClusterIP
123 portName: blueprints-processor-cluster
124 internalPort: 5701
125 externalPort: 5701
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500126
127persistence:
Alexis de Talhouët108e28f2019-04-14 18:54:56 -0400128 volumeReclaimPolicy: Retain
129 accessMode: ReadWriteMany
130 size: 2Gi
131 enabled: true
132 mountSubPath: cds/blueprints/deploy
133 deployedBlueprint: /opt/app/onap/blueprints/deploy
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500134
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500135cluster:
136 # Cannot have cluster enabled if the replicaCount is not at least 3
Jozsef Csongvai08515b72021-04-28 17:04:57 -0400137 enabled: false
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500138
139 clusterName: cds-cluster
140
141 # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
142 # between 3 and 7 only.
143 groupSize: 3
144
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500145ingress:
146 enabled: false
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100147 service:
148 - baseaddr: "blueprintsprocessorhttp"
Lucjan Bryndza6174db42020-07-09 09:00:20 +0000149 name: "cds-blueprints-processor-http"
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100150 port: 8080
151 config:
152 ssl: "none"
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500153
Dominik Mizyndd285d32020-08-21 13:10:11 +0200154logback:
155 rootLogLevel: INFO
156 logger:
157 springframework: INFO
158 springframeworkWeb: INFO
159 springframeworkSecurityWebauthentication: INFO
160 hibernate: INFO
161 onapCcsdkCds: INFO
162
Dan Timoney6cc07e02020-09-23 08:52:47 -0400163flavor: small
164
165resources:
166 small:
167 limits:
168 cpu: 2
169 memory: 4Gi
170 requests:
171 cpu: 1
172 memory: 1Gi
173 large:
174 limits:
175 cpu: 4
176 memory: 8Gi
177 requests:
178 cpu: 2
179 memory: 4Gi
180 unlimited: {}