Merge "Add message-router dependency in blueprint-processor for kafka-listener."
[oom.git] / kubernetes / cds / charts / cds-blueprints-processor / values.yaml
1 # Copyright (c) 2019 IBM, Bell Canada
2 #
3 #  Modifications Copyright (c) 2019 Bell Canada.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 #################################################################
18 # Global configuration defaults.
19 #################################################################
20 global:
21   # Change to an unused port prefix range to prevent port conflicts
22   # with other instances running within the same k8s cluster
23   nodePortPrefixExt: 304
24
25   # image repositories
26   repository: nexus3.onap.org:10001
27
28   # readiness check
29   readinessRepository: oomk8s
30   readinessImage: readiness-check:2.0.0
31
32   # image pull policy
33   pullPolicy: Always
34
35   persistence:
36     mountPath: /dockerdata-nfs
37
38 #################################################################
39 # Application configuration defaults.
40 #################################################################
41 # application image
42 repository: nexus3.onap.org:10001
43 image: onap/ccsdk-blueprintsprocessor:0.4.5
44 pullPolicy: Always
45
46 # flag to enable debugging - application support required
47 debugEnabled: false
48
49 # application configuration
50 config:
51   appConfigDir: /opt/app/onap/config
52
53 # default number of instances
54 replicaCount: 1
55
56 nodeSelector: {}
57
58 affinity: {}
59
60 # flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using
61 # custom kafka cluster.
62 dmaapEnabled: true
63
64 # probe configuration parameters
65 liveness:
66   initialDelaySeconds: 120
67   periodSeconds: 10
68   # necessary to disable liveness probe when setting breakpoints
69   # in debugger so K8s doesn't restart unresponsive container
70   enabled: true
71
72 readiness:
73   initialDelaySeconds: 120
74   periodSeconds: 10
75
76 service:
77   http:
78     type: NodePort
79     portName: blueprints-processor-http
80     internalPort: 8080
81     externalPort: 8080
82     nodePort: 99
83   grpc:
84     type: ClusterIP
85     portName: blueprints-processor-grpc
86     internalPort: 9111
87     externalPort: 9111
88
89 persistence:
90   volumeReclaimPolicy: Retain
91   accessMode: ReadWriteMany
92   size: 2Gi
93   enabled: true
94   mountSubPath: cds/blueprints/deploy
95   deployedBlueprint: /opt/app/onap/blueprints/deploy
96
97 ingress:
98   enabled: false
99
100 resources: {}
101   # We usually recommend not to specify default resources and to leave this as a conscious
102   # choice for the user. This also increases chances charts run on environments with little
103   # resources, such as Minikube. If you do want to specify resources, uncomment the following
104   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
105   #
106   # Example:
107   # Configure resource requests and limits
108   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
109   # Minimum memory for development is 2 CPU cores and 4GB memory
110   # Minimum memory for production is 4 CPU cores and 8GB memory
111 #resources:
112 #  limits:
113 #    cpu: 2
114 #    memory: 4Gi
115 #  requests:
116 #    cpu: 2
117 #    memory: 4Gi