blob: 0f7b55632a9811db75df87178aa095747efabb0d [file] [log] [blame]
Alexis de Talhouët108e28f2019-04-14 18:54:56 -04001# Copyright (c) 2019 Bell Canada
2#
3# Modifications Copyright (c) 2019 Bell Canada.
Mike Elliott37cae252018-09-12 14:45:40 -04004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17#################################################################
18# Global configuration defaults.
19#################################################################
20global:
21 # Change to an unused port prefix range to prevent port conflicts
22 # with other instances running within the same k8s cluster
23 nodePortPrefix: 302
24
Mike Elliott37cae252018-09-12 14:45:40 -040025 # image pull policy
26 pullPolicy: Always
27
28 persistence:
29 mountPath: /dockerdata-nfs
30
31#################################################################
32# Application configuration defaults.
33#################################################################
34# application image
Abdelmuhaimen Seaudi822eb092021-09-04 11:08:36 +020035image: onap/ccsdk-commandexecutor:1.2.0
Mike Elliott37cae252018-09-12 14:45:40 -040036pullPolicy: Always
37
Mike Elliott37cae252018-09-12 14:45:40 -040038# application configuration
39config:
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040040 basicAuth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
Mike Elliott37cae252018-09-12 14:45:40 -040041
42# default number of instances
43replicaCount: 1
44
45nodeSelector: {}
46
47affinity: {}
48
49# probe configuration parameters
50liveness:
Oleg Mitsura3a621182019-10-09 12:40:11 -040051 initialDelaySeconds: 20
52 periodSeconds: 20
53 timeoutSeconds: 20
Mike Elliott37cae252018-09-12 14:45:40 -040054 # necessary to disable liveness probe when setting breakpoints
55 # in debugger so K8s doesn't restart unresponsive container
56 enabled: true
57
58readiness:
59 initialDelaySeconds: 10
60 periodSeconds: 10
Oleg Mitsura3a621182019-10-09 12:40:11 -040061 timeoutSeconds: 20
Mike Elliott37cae252018-09-12 14:45:40 -040062
63service:
64 type: ClusterIP
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040065 grpc:
66 portName: command-executor-grpc
67 internalPort: 50051
68 externalPort: 50051
kuldiprd276d162021-08-31 15:13:52 -040069 metrics:
70 portName: command-executor-metrics
71 internalPort: 10005
72 externalPort: 10005
Mike Elliott37cae252018-09-12 14:45:40 -040073
74persistence:
75 enabled: true
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040076 mountSubPath: cds/blueprints/deploy
77 deployedBlueprint: /opt/app/onap/blueprints/deploy
Mike Elliott37cae252018-09-12 14:45:40 -040078
79ingress:
80 enabled: false
81
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040082resources:
83 small:
84 limits:
85 cpu: 2
86 memory: 4Gi
87 requests:
88 cpu: 1
89 memory: 1Gi
90 large:
91 limits:
92 cpu: 4
93 memory: 8Gi
94 requests:
95 cpu: 2
96 memory: 4Gi
97 unlimited: {}
farida azmyffad0322021-04-09 14:18:14 +020098
99#Pods Service Account
100serviceAccount:
101 nameOverride: cds-command-executor
102 roles:
103 - read
kuldiprd276d162021-08-31 15:13:52 -0400104
105metrics:
106 serviceMonitor:
107 enabled: false
108 port: command-executor-metrics
109 path: /actuator/prometheus
110 basicAuth:
111 enabled: false
112 externalSecretName: mysecretname
113 externalSecretUserKey: login
114 externalSecretPasswordKey: password
115 selector:
116 app: '{{ include "common.name" . }}'
117 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
118 release: '{{ .Release.Name }}'
119 heritage: '{{ .Release.Service }}'