blob: 6cd3c2b554783415c2020fea5fabbe965aeefa84 [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
24 # image repositories
25 repository: nexus3.onap.org:10001
26
27 # readiness check
28 readinessRepository: oomk8s
29 readinessImage: readiness-check:2.0.0
30
31 # image pull policy
32 pullPolicy: Always
33
34 persistence:
35 mountPath: /dockerdata-nfs
36
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010037 # envsusbt
38 envsubstImage: dibi/envsubst
39
Konrad Bańkae332b242020-04-06 13:30:06 +020040 #This configuration specifies Service and port for SDNC OAM interface
41 sdncOamService: sdnc-oam
42 sdncOamPort: 8282
43
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010044#################################################################
45# Secrets metaconfig
46#################################################################
47secrets:
48 - uid: 'cds-db-user-creds'
49 type: basicAuth
50 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbCredsExternalSecret) . }}'
51 login: '{{ .Values.config.cdsDB.dbUser }}'
52 password: '{{ .Values.config.cdsDB.dbPassword }}'
53 passwordPolicy: required
54 - uid: 'cds-db-root-pass'
55 type: password
56 externalSecret: '{{ tpl (default "" .Values.config.cdsDB.dbRootPassExternalSecret) . }}'
57 password: '{{ .Values.config.cdsDB.dbRootPassword }}'
58 passwordPolicy: required
59
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050060#################################################################
61# Application configuration defaults.
62#################################################################
63# application image
64repository: nexus3.onap.org:10001
Dan Timoneyd0f6ad72020-03-06 11:58:23 -050065image: onap/ccsdk-blueprintsprocessor:0.7.1
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050066pullPolicy: Always
67
68# flag to enable debugging - application support required
69debugEnabled: false
70
71# application configuration
72config:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050073 appConfigDir: /opt/app/onap/config
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -050074 useScriptCompileCache: true
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010075 cdsDB:
76 dbServer: cds-db
77 dbPort: 3306
78 dbName: sdnctl
79 # dbUser: sdnctl
80 # dbPassword: sdnctl
81 # dbCredsExternalSecret: <some secret name>
82 # dbRootPassword: password
83 # dbRootPassExternalSecret
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050084
85# default number of instances
86replicaCount: 1
87
88nodeSelector: {}
89
90affinity: {}
91
Prathamesh Morde93da1272019-06-24 10:36:15 -040092# flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using
93# custom kafka cluster.
94dmaapEnabled: true
95
Krzysztof Opasiak32f9aaa2020-02-06 23:05:15 +010096
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050097# probe configuration parameters
98liveness:
Yang Xu435062b2019-06-17 01:19:37 -040099 initialDelaySeconds: 120
Oleg Mitsura3a621182019-10-09 12:40:11 -0400100 periodSeconds: 20
101 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500102 # necessary to disable liveness probe when setting breakpoints
103 # in debugger so K8s doesn't restart unresponsive container
104 enabled: true
105
106readiness:
Yang Xu435062b2019-06-17 01:19:37 -0400107 initialDelaySeconds: 120
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500108 periodSeconds: 10
Oleg Mitsura3a621182019-10-09 12:40:11 -0400109 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500110
111service:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500112 http:
gummarc7bd0e22020-03-05 18:57:12 +0000113 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -0400114 portName: blueprints-processor-http
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500115 internalPort: 8080
116 externalPort: 8080
117 grpc:
Oleg Mitsura0197bf12019-05-03 15:03:55 -0400118 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -0400119 portName: blueprints-processor-grpc
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500120 internalPort: 9111
121 externalPort: 9111
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500122 cluster:
123 type: ClusterIP
124 portName: blueprints-processor-cluster
125 internalPort: 5701
126 externalPort: 5701
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500127
128persistence:
Alexis de Talhouët108e28f2019-04-14 18:54:56 -0400129 volumeReclaimPolicy: Retain
130 accessMode: ReadWriteMany
131 size: 2Gi
132 enabled: true
133 mountSubPath: cds/blueprints/deploy
134 deployedBlueprint: /opt/app/onap/blueprints/deploy
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500135
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500136cluster:
137 # Cannot have cluster enabled if the replicaCount is not at least 3
138 # AND config value useScriptCompileCache is not set to false
139 enabled: false
140
141 clusterName: cds-cluster
142
143 # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
144 # between 3 and 7 only.
145 groupSize: 3
146
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500147ingress:
148 enabled: false
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100149 service:
150 - baseaddr: "blueprintsprocessorhttp"
151 name: "blueprints-processor-http"
152 port: 8080
153 config:
154 ssl: "none"
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500155
156resources: {}
157 # We usually recommend not to specify default resources and to leave this as a conscious
158 # choice for the user. This also increases chances charts run on environments with little
159 # resources, such as Minikube. If you do want to specify resources, uncomment the following
160 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
161 #
162 # Example:
163 # Configure resource requests and limits
164 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
165 # Minimum memory for development is 2 CPU cores and 4GB memory
166 # Minimum memory for production is 4 CPU cores and 8GB memory
167#resources:
168# limits:
169# cpu: 2
170# memory: 4Gi
171# requests:
172# cpu: 2
173# memory: 4Gi