[DCAEMOD] Uses new tpls for repos / images
[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   readinessImage: onap/oom/readiness:3.0.1
28
29   # image pull policy
30   pullPolicy: Always
31
32   persistence:
33     mountPath: /dockerdata-nfs
34
35 #################################################################
36 # Application configuration defaults.
37 #################################################################
38 # application image
39 repository: nexus3.onap.org:10001
40 image: onap/ccsdk-py-executor:1.0.1
41 pullPolicy: Always
42
43 # default number of instances
44 replicaCount: 1
45
46 nodeSelector: {}
47
48 affinity: {}
49
50 # probe configuration parameters
51 liveness:
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
60 readiness:
61   port: 50052
62   initialDelaySeconds: 10
63   periodSeconds: 10
64   timeoutSeconds: 20
65
66 service:
67   type: ClusterIP
68   ports:
69   - port: 50052
70     name: executor-grpc
71   - port: 50053
72     name: manager-grpc
73
74 secrets:
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
82 config:
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
94 persistence:
95   enabled: true
96   mountSubPath: cds/blueprints/deploy
97   deployedBlueprint: /opt/app/onap/blueprints/deploy
98
99 ingress:
100   enabled: false
101
102 flavor: small
103
104 resources:
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: {}