blob: 6a7f30fdce0ba4dff658ec86d52c18853350a0ce [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
23 # image repositories
24 repository: nexus3.onap.org:10001
25
26 # readiness check
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020027 readinessImage: onap/oom/readiness:3.0.1
Marek Szwalkiewicza6625682020-03-02 17:09:18 +000028
29 # image pull policy
30 pullPolicy: Always
31
32 persistence:
33 mountPath: /dockerdata-nfs
34
35#################################################################
36# Application configuration defaults.
37#################################################################
38# application image
39repository: nexus3.onap.org:10001
Dan Timoney6cc07e02020-09-23 08:52:47 -040040image: onap/ccsdk-py-executor:1.0.0
Marek Szwalkiewicza6625682020-03-02 17:09:18 +000041pullPolicy: Always
42
43# default number of instances
44replicaCount: 1
45
46nodeSelector: {}
47
48affinity: {}
49
50# probe configuration parameters
51liveness:
52 port: 50052
53 initialDelaySeconds: 20
54 periodSeconds: 20
55 timeoutSeconds: 20
56 # necessary to disable liveness probe when setting breakpoints
57 # in debugger so K8s doesn't restart unresponsive container
58 enabled: true
59
60readiness:
61 port: 50052
62 initialDelaySeconds: 10
63 periodSeconds: 10
64 timeoutSeconds: 20
65
66service:
67 type: ClusterIP
68 ports:
69 - port: 50052
70 name: executor-grpc
71 - port: 50053
72 name: manager-grpc
73
74secrets:
75 - uid: api-credentials
76 externalSecret: '{{ tpl (default "" .Values.config.authCredentialsExternalSecret) . }}'
77 type: basicAuth
78 login: '{{ .Values.config.apiUsername }}'
79 password: '{{ .Values.config.apiPassword }}'
80 passwordPolicy: required
81
82config:
83 # the api credentials below are used to authenticate communication with blueprint
84 # processor API. Py executor in this context is a client of the blueprint processor
85 apiUsername: ccsdkapps
86 apiPassword: ccsdkapps
87 env:
88 appPort: 50052
89 authType: tls-auth
90 logFile: /dev/stdout
91 artifactManagerPort: 50053
92 artifactManagerLogFile: /dev/stdout
93
94persistence:
95 enabled: true
96 mountSubPath: cds/blueprints/deploy
97 deployedBlueprint: /opt/app/onap/blueprints/deploy
98
99ingress:
100 enabled: false
101
102flavor: small
103
104resources:
105 small:
106 limits:
107 cpu: 2
108 memory: 4Gi
109 requests:
110 cpu: 1
111 memory: 1Gi
112 large:
113 limits:
114 cpu: 4
115 memory: 8Gi
116 requests:
117 cpu: 2
118 memory: 4Gi
119 unlimited: {}