blob: 153f1e7e2ee47913588162feeb5e7c2cdd8f73c4 [file] [log] [blame]
sebdetd85e24c2019-09-04 18:35:26 +02001# 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#################################################################
19global: # global defaults
20 nodePortPrefix: 302
21 repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
22 readinessRepository: oomk8s
23 readinessImage: readiness-check:2.0.0
24 persistence: {}
25
26flavor: small
27
28# application image
29repository: nexus3.onap.org:10001
sebdet93b4fd42020-03-25 09:19:34 -070030image: onap/clamp-backend:5.0.1
sebdetd85e24c2019-09-04 18:35:26 +020031pullPolicy: Always
32
33# flag to enable debugging - application support required
34debugEnabled: false
35
36#################################################################
37# Application configuration defaults.
38#################################################################
39config:
40 log:
41 logstashServiceName: log-ls
42 logstashPort: 5044
43 mysqlPassword: strong_pitchou
44 dataRootDir: /dockerdata-nfs
45 springApplicationJson: >
46 {
47 "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3",
sebdet93b4fd42020-03-25 09:19:34 -070048 "spring.profiles.active": "clamp-default,clamp-aaf-authentication,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,legacy-operational-policy,default-dictionary-elements",
sebdetd85e24c2019-09-04 18:35:26 +020049 "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json",
sebdet9a4661e2019-10-11 18:23:57 +020050 "clamp.config.dcae.inventory.url": "https4://inventory.{{ include "common.namespace" . }}:8080",
sebdetd85e24c2019-09-04 18:35:26 +020051 "clamp.config.dcae.dispatcher.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
52 "clamp.config.dcae.deployment.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
53 "clamp.config.dcae.deployment.userName": "none",
54 "clamp.config.dcae.deployment.password": "none",
55 "clamp.config.policy.api.url": "https4://policy-api.{{ include "common.namespace" . }}:6969",
56 "clamp.config.policy.api.userName": "healthcheck",
57 "clamp.config.policy.api.password": "zb!XztG34",
58 "clamp.config.policy.pap.url": "https4://policy-pap.{{ include "common.namespace" . }}:6969",
59 "clamp.config.policy.pap.userName": "healthcheck",
60 "clamp.config.policy.pap.password": "zb!XztG34",
sebdetd85e24c2019-09-04 18:35:26 +020061 "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095",
62 "com.att.eelf.logging.path": "/opt/clamp",
63 "com.att.eelf.logging.file": "logback.xml"
64 }
65
66# default number of instances
67replicaCount: 1
68
69nodeSelector: {}
70
71affinity: {}
72
73# probe configuration parameters
74liveness:
75 initialDelaySeconds: 120
76 periodSeconds: 10
77 # necessary to disable liveness probe when setting breakpoints
78 # in debugger so K8s doesn't restart unresponsive container
79 enabled: true
80
81readiness:
82 initialDelaySeconds: 10
83 periodSeconds: 10
84
85
86service:
87 type: ClusterIP
88 name: clamp-backend
89 portName: clamp-backend
90 internalPort: 8443
91 externalPort: 443
92
93ingress:
94 enabled: false
95
96#resources: {}
97 # We usually recommend not to specify default resources and to leave this as a conscious
98 # choice for the user. This also increases chances charts run on environments with little
99 # resources, such as Minikube. If you do want to specify resources, uncomment the following
100 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
101 #
102 # Example:
103 # Configure resource requests and limits
104 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
105 # Minimum memory for development is 2 CPU cores and 4GB memory
106 # Minimum memory for production is 4 CPU cores and 8GB memory
107resources:
108 small:
109 limits:
110 cpu: 1
111 memory: 1.2Gi
112 requests:
113 cpu: 10m
114 memory: 800Mi
115 large:
116 limits:
117 cpu: 1
118 memory: 1.2Gi
119 requests:
120 cpu: 10m
121 memory: 800Mi
122 unlimited: {}