blob: a1eb0a0818cc8d609776809283096dbfb473e2ea [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 Timoneyc8964e52022-03-30 07:51:50 -040033image: onap/ccsdk-py-executor:1.3.0
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:
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: {}
farida azmyffad0322021-04-09 14:18:14 +0200113
114#Pods Service Account
115serviceAccount:
116 nameOverride: cds-py-executor
117 roles:
118 - read