blob: 1e555e95d8e615684d8c3bddc8711fd6ae87c0db [file] [log] [blame]
Marek Szwalkiewicza6625682020-03-02 17:09:18 +00001# Copyright (c) 2020 Bell Canada, Deutsche Telekom
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific lan`guage governing permissions and
13# limitations under the License.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 # Change to an unused port prefix range to prevent port conflicts
20 # with other instances running within the same k8s cluster
21 nodePortPrefix: 302
22
Marek Szwalkiewicza6625682020-03-02 17:09:18 +000023 # image pull policy
24 pullPolicy: Always
25
26 persistence:
27 mountPath: /dockerdata-nfs
28
29#################################################################
30# Application configuration defaults.
31#################################################################
32# application image
Dan Timoney9e310e72021-02-23 11:25:39 -050033image: onap/ccsdk-py-executor:1.1.1
Marek Szwalkiewicza6625682020-03-02 17:09:18 +000034pullPolicy: Always
35
36# default number of instances
37replicaCount: 1
38
39nodeSelector: {}
40
41affinity: {}
42
43# probe configuration parameters
44liveness:
45 port: 50052
46 initialDelaySeconds: 20
47 periodSeconds: 20
48 timeoutSeconds: 20
49 # necessary to disable liveness probe when setting breakpoints
50 # in debugger so K8s doesn't restart unresponsive container
51 enabled: true
52
53readiness:
54 port: 50052
55 initialDelaySeconds: 10
56 periodSeconds: 10
57 timeoutSeconds: 20
58
59service:
60 type: ClusterIP
61 ports:
62 - port: 50052
63 name: executor-grpc
64 - port: 50053
65 name: manager-grpc
66
67secrets:
68 - uid: api-credentials
69 externalSecret: '{{ tpl (default "" .Values.config.authCredentialsExternalSecret) . }}'
70 type: basicAuth
71 login: '{{ .Values.config.apiUsername }}'
72 password: '{{ .Values.config.apiPassword }}'
73 passwordPolicy: required
74
75config:
76 # the api credentials below are used to authenticate communication with blueprint
77 # processor API. Py executor in this context is a client of the blueprint processor
78 apiUsername: ccsdkapps
79 apiPassword: ccsdkapps
80 env:
81 appPort: 50052
82 authType: tls-auth
83 logFile: /dev/stdout
84 artifactManagerPort: 50053
85 artifactManagerLogFile: /dev/stdout
86
87persistence:
88 enabled: true
89 mountSubPath: cds/blueprints/deploy
90 deployedBlueprint: /opt/app/onap/blueprints/deploy
91
92ingress:
93 enabled: false
94
95flavor: small
96
97resources:
98 small:
99 limits:
100 cpu: 2
101 memory: 4Gi
102 requests:
103 cpu: 1
104 memory: 1Gi
105 large:
106 limits:
107 cpu: 4
108 memory: 8Gi
109 requests:
110 cpu: 2
111 memory: 4Gi
112 unlimited: {}