Merge "[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.4
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: 1
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 startup:
93   initialDelaySeconds: 10
94   failureThreshold: 30
95   periodSeconds: 10
96
97 liveness:
98   initialDelaySeconds: 0
99   periodSeconds: 20
100   timeoutSeconds: 20
101   # necessary to disable liveness probe when setting breakpoints
102   # in debugger so K8s doesn't restart unresponsive container
103   enabled: true
104
105 readiness:
106   initialDelaySeconds: 120
107   periodSeconds: 10
108   timeoutSeconds: 20
109
110 service:
111   http:
112     type: ClusterIP
113     portName: blueprints-processor-http
114     internalPort: 8080
115     externalPort: 8080
116   grpc:
117     type: ClusterIP
118     portName: blueprints-processor-grpc
119     internalPort: 9111
120     externalPort: 9111
121   cluster:
122     type: ClusterIP
123     portName: blueprints-processor-cluster
124     internalPort: 5701
125     externalPort: 5701
126
127 persistence:
128   volumeReclaimPolicy: Retain
129   accessMode: ReadWriteMany
130   size: 2Gi
131   enabled: true
132   mountSubPath: cds/blueprints/deploy
133   deployedBlueprint: /opt/app/onap/blueprints/deploy
134
135 cluster:
136   # Cannot have cluster enabled if the replicaCount is not at least 3
137   enabled: false
138
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
145 ingress:
146   enabled: false
147   service:
148     - baseaddr: "blueprintsprocessorhttp"
149       name: "cds-blueprints-processor-http"
150       port: 8080
151   config:
152     ssl: "none"
153
154 logback:
155   rootLogLevel: INFO
156   logger:
157     springframework: INFO
158     springframeworkWeb: INFO
159     springframeworkSecurityWebauthentication: INFO
160     hibernate: INFO
161     onapCcsdkCds: INFO
162
163 flavor: small
164
165 resources:
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: {}