[DCAEGEN2] Updates to bootstrap and cm-container
[oom.git] / kubernetes / dcaegen2 / components / dcae-cloudify-manager / values.yaml
1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
4 # Modifications Copyright © 2018 Amdocs, Bell Canada
5 # Copyright (c) 2020-2021 J. F. Lucas.  All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #     http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19
20 #################################################################
21 # Global configuration defaults.
22 #################################################################
23 global:
24   nodePortPrefix: 302
25   persistence: {}
26   tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0
27   consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0
28   repositoryCred:
29     user: docker
30     password: docker
31
32 secrets:
33   - uid: 'cm-pass'
34     type: password
35     externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}'
36     password: '{{ .Values.config.cloudifyManagerPassword }}'
37     policy: required
38
39 config:
40   cloudifyManagerPassword: "override me"
41   logstashServiceName: log-ls
42   logstashPort: 5044
43   # Addresses of other ONAP entities
44   address:
45     consul:
46       host: consul-server
47       port: 8500
48
49 #################################################################
50 # Application configuration defaults.
51 #################################################################
52 # application image
53 image: onap/org.onap.dcaegen2.deployments.cm-container:4.1.0
54 pullPolicy: Always
55
56 # name of shared ConfigMap with kubeconfig for multiple clusters
57 multisiteConfigMapName: multisite-kubeconfig-configmap
58
59 # image for init container to initialize shared ConfigMap
60 multisiteInitImage: onap/org.onap.dcaegen2.deployments.multisite-init-container:1.0.0
61
62 # image for cleanup job container
63 cleanupImage: onap/org.onap.dcaegen2.deployments.dcae-k8s-cleanup-container:1.0.0
64
65 # default location for k8s deployments via Cloudify
66 default_k8s_location: central
67
68 # probe configuration parameters
69 liveness:
70   initialDelaySeconds: 10
71   periodSeconds: 10
72   timeoutSeconds: 5
73   # necessary to disable liveness probe when setting breakpoints
74   # in debugger so K8s doesn't restart unresponsive container
75   # liveness not desirable for Cloudify Manager container
76   enabled: false
77
78 readiness:
79   initialDelaySeconds: 60
80   # In some environments we see CM coming up
81   # properly but readiness probe timing out.
82   # Increasing the timeout and adjusting the
83   # period so it's longer than the timeout.
84   # (DCAEGEN2-2465)
85   periodSeconds: 30
86   timeoutSeconds: 10
87
88 service:
89   type: ClusterIP
90   name: dcae-cloudify-manager
91   externalPort: 443
92   internalPort: 443
93
94 # Resource Limit flavor -By Default using small
95 flavor: small
96 # Segregation for Different environment (Small and Large)
97 # Due to memory issues in ONAP integration environment,
98 # we've increased the memory amounts for both flavors.
99 resources:
100   small:
101     limits:
102       cpu: 2
103       memory: 4Gi
104     requests:
105       cpu: 1
106       memory: 2Gi
107   large:
108     limits:
109       cpu: 4
110       memory: 8Gi
111     requests:
112       cpu: 2
113       memory: 4Gi
114   unlimited: {}
115 # Kubernetes namespace for components deployed via Cloudify manager
116 # If empty, use the common namespace
117 # dcae_ns: "dcae"
118
119 # Parameters for persistent storage
120 persistence:
121   enabled: true
122   accessMode: ReadWriteOnce
123   size: 4Gi
124   mountPath: /dockerdata-nfs
125   mountSubPath: dcae-cm/data
126   volumeReclaimPolicy: Retain