Merge "[CLAMP] use common templates for logs"
[oom.git] / kubernetes / clamp / charts / clamp-backend / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2019 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global: # global defaults
20   nodePortPrefix: 302
21   repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
22   readinessRepository: oomk8s
23   readinessImage: readiness-check:2.0.0
24   persistence: {}
25
26 flavor: small
27
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/clamp-backend:5.0.4
31 pullPolicy: Always
32
33 # flag to enable debugging - application support required
34 debugEnabled: false
35
36 # log configuration
37 log:
38   path: /var/log/onap
39
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
43 config:
44   log:
45     logstashServiceName: log-ls
46     logstashPort: 5044
47   mysqlPassword: strong_pitchou
48   dataRootDir: /dockerdata-nfs
49   springApplicationJson: >
50     {
51         "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3",
52         "spring.profiles.active": "clamp-default,clamp-aaf-authentication,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,legacy-operational-policy,default-dictionary-elements",
53         "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json",
54         "clamp.config.dcae.inventory.url": "https4://inventory.{{ include "common.namespace" . }}:8080",
55         "clamp.config.dcae.dispatcher.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
56         "clamp.config.dcae.deployment.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
57         "clamp.config.dcae.deployment.userName": "none",
58         "clamp.config.dcae.deployment.password": "none",
59         "clamp.config.policy.api.url": "https4://policy-api.{{ include "common.namespace" . }}:6969",
60         "clamp.config.policy.api.userName": "healthcheck",
61         "clamp.config.policy.api.password": "zb!XztG34",
62         "clamp.config.policy.pap.url": "https4://policy-pap.{{ include "common.namespace" . }}:6969",
63         "clamp.config.policy.pap.userName": "healthcheck",
64         "clamp.config.policy.pap.password": "zb!XztG34",
65         "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095"
66     }
67
68 # default number of instances
69 replicaCount: 1
70
71 nodeSelector: {}
72
73 affinity: {}
74
75 # probe configuration parameters
76 liveness:
77   initialDelaySeconds: 120
78   periodSeconds: 10
79   # necessary to disable liveness probe when setting breakpoints
80   # in debugger so K8s doesn't restart unresponsive container
81   enabled: true
82
83 readiness:
84   initialDelaySeconds: 10
85   periodSeconds: 10
86
87
88 service:
89   type: ClusterIP
90   name: clamp-backend
91   portName: clamp-backend
92   internalPort: 8443
93   externalPort: 443
94
95 ingress:
96   enabled: false
97
98 #resources: {}
99   # We usually recommend not to specify default resources and to leave this as a conscious
100   # choice for the user. This also increases chances charts run on environments with little
101   # resources, such as Minikube. If you do want to specify resources, uncomment the following
102   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
103   #
104   # Example:
105   # Configure resource requests and limits
106   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
107   # Minimum memory for development is 2 CPU cores and 4GB memory
108   # Minimum memory for production is 4 CPU cores and 8GB memory
109 resources:
110   small:
111     limits:
112       cpu: 1
113       memory: 1.2Gi
114     requests:
115       cpu: 10m
116       memory: 800Mi
117   large:
118     limits:
119       cpu: 1
120       memory: 1.2Gi
121     requests:
122       cpu: 10m
123       memory: 800Mi
124   unlimited: {}