[CDS/SDNC] Update versions for Frankfurt mtce release
[oom.git] / kubernetes / cds / charts / cds-py-executor / values.yaml
1 # 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 #################################################################
18 global:
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
27   readinessRepository: oomk8s
28   readinessImage: readiness-check:2.0.0
29
30   # image pull policy
31   pullPolicy: Always
32
33   persistence:
34     mountPath: /dockerdata-nfs
35
36 #################################################################
37 # Application configuration defaults.
38 #################################################################
39 # application image
40 repository: nexus3.onap.org:10001
41 image: onap/ccsdk-py-executor:0.7.5
42 pullPolicy: Always
43
44 # default number of instances
45 replicaCount: 1
46
47 nodeSelector: {}
48
49 affinity: {}
50
51 # probe configuration parameters
52 liveness:
53   port: 50052
54   initialDelaySeconds: 20
55   periodSeconds: 20
56   timeoutSeconds: 20
57   # necessary to disable liveness probe when setting breakpoints
58   # in debugger so K8s doesn't restart unresponsive container
59   enabled: true
60
61 readiness:
62   port: 50052
63   initialDelaySeconds: 10
64   periodSeconds: 10
65   timeoutSeconds: 20
66
67 service:
68   type: ClusterIP
69   ports:
70   - port: 50052
71     name: executor-grpc
72   - port: 50053
73     name: manager-grpc
74
75 secrets:
76   - uid: api-credentials
77     externalSecret: '{{ tpl (default "" .Values.config.authCredentialsExternalSecret) . }}'
78     type: basicAuth
79     login: '{{ .Values.config.apiUsername }}'
80     password: '{{ .Values.config.apiPassword }}'
81     passwordPolicy: required
82   - uid: "cds-py-onap-certs"
83     name: '{{ include "common.release" . }}-cds-py-certs'
84     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
85     type: generic
86     filePaths:
87       - resources/certs/py-executor.conf
88       - resources/certs/py-executor-chain.pem
89       - resources/certs/py-executor-key.pem
90
91 config:
92   # the api credentials below are used to authenticate communication with blueprint
93   # processor API. Py executor in this context is a client of the blueprint processor
94   apiUsername: ccsdkapps
95   apiPassword: ccsdkapps
96   env:
97     appPort: 50052
98     authType: tls-auth
99     logFile: /dev/stdout
100     artifactManagerPort: 50053
101     artifactManagerLogFile: /dev/stdout
102
103 persistence:
104   enabled: true
105   mountSubPath: cds/blueprints/deploy
106   deployedBlueprint: /opt/app/onap/blueprints/deploy
107
108 ingress:
109   enabled: false
110
111 flavor: small
112
113 resources:
114   small:
115     limits:
116       cpu: 2
117       memory: 4Gi
118     requests:
119       cpu: 1
120       memory: 1Gi
121   large:
122     limits:
123       cpu: 4
124       memory: 8Gi
125     requests:
126       cpu: 2
127       memory: 4Gi
128   unlimited: {}