[COMMON] Add custom certs into AAF truststore
[oom.git] / kubernetes / cds / components / cds-blueprints-processor / values.yaml
1 # Copyright (c) 2019 IBM, Bell Canada
2 # Copyright (c) 2020 Samsung Electronics
3 #
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
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   # Change to an unused port prefix range to prevent port conflicts
21   # with other instances running within the same k8s cluster
22   nodePortPrefixExt: 304
23
24   # image pull policy
25   pullPolicy: Always
26
27   persistence:
28     mountPath: /dockerdata-nfs
29
30   #This configuration specifies Service and port for SDNC OAM interface
31   sdncOamService: sdnc-oam
32   sdncOamPort: 8282
33
34 #################################################################
35 # Secrets metaconfig
36 #################################################################
37 secrets:
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
44   - uid: 'sdnc-db-root-pass'
45     type: password
46     externalSecret: '{{ tpl (default "" .Values.config.sdncDB.dbRootPassExternalSecret) . }}'
47     password: '{{ .Values.config.sdncDB.dbRootPass }}'
48     passwordPolicy: required
49
50 #################################################################
51 # Application configuration defaults.
52 #################################################################
53 # application image
54 image: onap/ccsdk-blueprintsprocessor:1.1.2
55 pullPolicy: Always
56
57 # flag to enable debugging - application support required
58 debugEnabled: false
59
60 # application configuration
61 config:
62   appConfigDir: /opt/app/onap/config
63   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 ) }}'
69   cdsDB:
70     dbServer: cds-db
71     dbPort: 3306
72     dbName: sdnctl
73     dbUser: sdnctl
74     dbPassword: sdnctl
75     # dbCredsExternalSecret: <some secret name>
76     # dbRootPassword: password
77     # dbRootPassExternalSecret
78
79 # default number of instances
80 replicaCount: 3
81
82 nodeSelector: {}
83
84 affinity: {}
85
86 # 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.
88 dmaapEnabled: true
89
90
91 # probe configuration parameters
92 liveness:
93   initialDelaySeconds: 120
94   periodSeconds: 20
95   timeoutSeconds: 20
96   # necessary to disable liveness probe when setting breakpoints
97   # in debugger so K8s doesn't restart unresponsive container
98   enabled: true
99
100 readiness:
101   initialDelaySeconds: 120
102   periodSeconds: 10
103   timeoutSeconds: 20
104
105 service:
106   http:
107     type: ClusterIP
108     portName: blueprints-processor-http
109     internalPort: 8080
110     externalPort: 8080
111   grpc:
112     type: ClusterIP
113     portName: blueprints-processor-grpc
114     internalPort: 9111
115     externalPort: 9111
116   cluster:
117     type: ClusterIP
118     portName: blueprints-processor-cluster
119     internalPort: 5701
120     externalPort: 5701
121
122 persistence:
123   volumeReclaimPolicy: Retain
124   accessMode: ReadWriteMany
125   size: 2Gi
126   enabled: true
127   mountSubPath: cds/blueprints/deploy
128   deployedBlueprint: /opt/app/onap/blueprints/deploy
129
130 cluster:
131   # Cannot have cluster enabled if the replicaCount is not at least 3
132   enabled: true
133
134   clusterName: cds-cluster
135
136   # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
137   # between 3 and 7 only.
138   groupSize: 3
139
140 ingress:
141   enabled: false
142   service:
143     - baseaddr: "blueprintsprocessorhttp"
144       name: "cds-blueprints-processor-http"
145       port: 8080
146   config:
147     ssl: "none"
148
149 logback:
150   rootLogLevel: INFO
151   logger:
152     springframework: INFO
153     springframeworkWeb: INFO
154     springframeworkSecurityWebauthentication: INFO
155     hibernate: INFO
156     onapCcsdkCds: INFO
157
158 flavor: small
159
160 resources:
161   small:
162     limits:
163       cpu: 2
164       memory: 4Gi
165     requests:
166       cpu: 1
167       memory: 1Gi
168   large:
169     limits:
170       cpu: 4
171       memory: 8Gi
172     requests:
173       cpu: 2
174       memory: 4Gi
175   unlimited: {}