blob: 148a98dddbed6e8f0ab3b3d86f2bbea36655e2d6 [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
Lukasz Rajewskib5e28502023-10-02 17:04:40 +020033image: onap/ccsdk-py-executor:1.5.3
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
Andreas Geissler4ee97a92022-04-29 13:01:14 +020063 name: grpc-executor
Marek Szwalkiewicza6625682020-03-02 17:09:18 +000064 - port: 50053
Andreas Geissler4ee97a92022-04-29 13:01:14 +020065 name: grpc-manager
Marek Szwalkiewicza6625682020-03-02 17:09:18 +000066
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:
vladimir turokdb8167b2023-09-20 11:09:21 +0200100 cpu: 1
Andreas Geissler555db9c2023-06-20 11:38:39 +0200101 memory: 0.2Gi
Marek Szwalkiewicza6625682020-03-02 17:09:18 +0000102 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200103 cpu: 0.5
104 memory: 0.2Gi
Marek Szwalkiewicza6625682020-03-02 17:09:18 +0000105 large:
106 limits:
vladimir turokdb8167b2023-09-20 11:09:21 +0200107 cpu: 2
Andreas Geissler555db9c2023-06-20 11:38:39 +0200108 memory: 0.4Gi
Marek Szwalkiewicza6625682020-03-02 17:09:18 +0000109 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200110 cpu: 1
111 memory: 0.4Gi
Marek Szwalkiewicza6625682020-03-02 17:09:18 +0000112 unlimited: {}
farida azmyffad0322021-04-09 14:18:14 +0200113
114#Pods Service Account
115serviceAccount:
116 nameOverride: cds-py-executor
117 roles:
118 - read