blob: 18888547c317d74a7f1e6700d90b2364765afca1 [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
sebdet3872acf2020-04-03 18:42:54 +020030image: onap/clamp-backend:5.0.3
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",
sebdete4b99c52020-04-01 12:18:20 +020061 "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095"
sebdetd85e24c2019-09-04 18:35:26 +020062 }
63
64# default number of instances
65replicaCount: 1
66
67nodeSelector: {}
68
69affinity: {}
70
71# probe configuration parameters
72liveness:
73 initialDelaySeconds: 120
74 periodSeconds: 10
75 # necessary to disable liveness probe when setting breakpoints
76 # in debugger so K8s doesn't restart unresponsive container
77 enabled: true
78
79readiness:
80 initialDelaySeconds: 10
81 periodSeconds: 10
82
83
84service:
85 type: ClusterIP
86 name: clamp-backend
87 portName: clamp-backend
88 internalPort: 8443
89 externalPort: 443
90
91ingress:
92 enabled: false
93
94#resources: {}
95 # We usually recommend not to specify default resources and to leave this as a conscious
96 # choice for the user. This also increases chances charts run on environments with little
97 # resources, such as Minikube. If you do want to specify resources, uncomment the following
98 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
99 #
100 # Example:
101 # Configure resource requests and limits
102 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
103 # Minimum memory for development is 2 CPU cores and 4GB memory
104 # Minimum memory for production is 4 CPU cores and 8GB memory
105resources:
106 small:
107 limits:
108 cpu: 1
109 memory: 1.2Gi
110 requests:
111 cpu: 10m
112 memory: 800Mi
113 large:
114 limits:
115 cpu: 1
116 memory: 1.2Gi
117 requests:
118 cpu: 10m
119 memory: 800Mi
120 unlimited: {}