blob: a806e77da85ed5112481916362fcdb47e344a049 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
Mukul379e2522018-09-05 12:26:02 +00002# Modifications Copyright © 2018 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
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
vaibhav_16decf67e4182018-03-19 05:45:47 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global: # global defaults
20 nodePortPrefix: 302
vaibhav_16decf67e4182018-03-19 05:45:47 +000021 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
vaibhav_16decf67e4182018-03-19 05:45:47 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25
26subChartsOnly:
27 enabled: true
28
Sylvain Desbureaux45fba762018-11-23 11:35:46 +010029flavor: small
30
vaibhav_16decf67e4182018-03-19 05:45:47 +000031# application image
32repository: nexus3.onap.org:10001
Yang Xu906595f2019-04-25 11:29:08 -040033image: onap/clamp:4.0-STAGING-latest
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040034pullPolicy: Always
vaibhav_16decf67e4182018-03-19 05:45:47 +000035
36# flag to enable debugging - application support required
37debugEnabled: false
38
39#################################################################
40# Application configuration defaults.
41#################################################################
42config:
ac2550de009892018-05-24 15:47:05 +020043 log:
44 logstashServiceName: log-ls
45 logstashPort: 5044
vaibhav_16decf67e4182018-03-19 05:45:47 +000046 mysqlPassword: strong_pitchou
47 dataRootDir: /dockerdata-nfs
ac2550a2619ed2018-04-04 13:01:04 +020048 springApplicationJson: >
49 {
ac25507895b2c2018-05-16 14:31:23 +020050 "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3",
51 "clamp.config.sdc.catalog.url": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/",
52 "clamp.config.sdc.hostUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/",
53 "clamp.config.sdc.serviceUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/services",
ac2550a2619ed2018-04-04 13:01:04 +020054 "clamp.config.sdc.serviceUsername": "clamp",
55 "clamp.config.sdc.servicePassword": "b7acccda32b98c5bb7acccda32b98c5b05D511BD6D93626E90D18E9D24D9B78CD34C7EE8012F0A189A28763E82271E50A5D4EC10C7D93E06E0A2D27CAE66B981",
ac25507895b2c2018-05-16 14:31:23 +020056 "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json",
ac25503f4be642018-05-18 13:13:17 +020057 "clamp.config.dcae.inventory.url": "http://inventory.{{ include "common.namespace" . }}:8080",
Determe, Sebastien (sd378r)2b3c4262019-04-29 15:05:35 +020058 "clamp.config.dcae.dispatcher.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
Determe, Sebastien (sd378r)b9e7e542019-05-09 10:00:17 +020059 "clamp.config.dcae.deployment.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
60 "clamp.config.dcae.deployment.userName": "none",
61 "clamp.config.dcae.deployment.password": "none",
Determe, Sebastien (sd378r)f5653372019-04-26 16:41:38 +020062 "clamp.config.policy.api.url": "http4://policy-api.{{ include "common.namespace" . }}:6969",
63 "clamp.config.policy.api.userName": "healthcheck",
64 "clamp.config.policy.api.password": "zb!XztG34",
65 "clamp.config.policy.pap.url": "http4://policy-pap.{{ include "common.namespace" . }}:6969",
66 "clamp.config.policy.pap.userName": "healthcheck",
67 "clamp.config.policy.pap.password": "zb!XztG34",
Determe, Sebastien (sd378r)9e6a56e2018-10-17 16:23:46 +020068 "clamp.config.policy.pdpUrl1": "https://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123",
69 "clamp.config.policy.pdpUrl2": "https://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123",
70 "clamp.config.policy.papUrl": "https://pap.{{ include "common.namespace" . }}:9091/pap/ , testpap, alpha123",
Determe, Sebastien (sd378r)b84a92d2018-08-28 13:28:12 +020071 "clamp.config.policy.clientKey": "dGVzdA==",
Determe, Sebastien (sd378r)9e6a56e2018-10-17 16:23:46 +020072 "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095",
Determe, Sebastien (sd378r)b84a92d2018-08-28 13:28:12 +020073 "com.att.eelf.logging.path": "/opt/clamp",
74 "com.att.eelf.logging.file": "logback.xml"
ac2550a2619ed2018-04-04 13:01:04 +020075 }
vaibhav_16decf67e4182018-03-19 05:45:47 +000076
77# subchart configuration
78mariadb:
79 nameOverride: clampdb
80
81
82# default number of instances
83replicaCount: 1
84
85nodeSelector: {}
86
87affinity: {}
88
89# probe configuration parameters
90liveness:
ac2550cfa75fe2018-08-07 15:36:10 +020091 initialDelaySeconds: 120
vaibhav_16decf67e4182018-03-19 05:45:47 +000092 periodSeconds: 10
93 # necessary to disable liveness probe when setting breakpoints
94 # in debugger so K8s doesn't restart unresponsive container
95 enabled: true
96
97readiness:
98 initialDelaySeconds: 10
99 periodSeconds: 10
100
101
102service:
103 type: NodePort
104 name: clamp
BorislavG1ffbd992018-04-24 07:56:27 +0000105 portName: clamp
Determe, Sebastien (sd378r)346ac692019-04-29 14:52:41 +0200106 internalPort: 8443
107 externalPort: 8443
108 nodePort: 58
Michael O'Briencd4d4eb2018-09-04 20:56:34 -0400109 # as of 20180904 port 58 is reserved for clamp from log/logdemonode
110 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000111
vaibhav_16decf67e4182018-03-19 05:45:47 +0000112
113ingress:
114 enabled: false
115
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200116#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000117 # We usually recommend not to specify default resources and to leave this as a conscious
118 # choice for the user. This also increases chances charts run on environments with little
119 # resources, such as Minikube. If you do want to specify resources, uncomment the following
120 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
121 #
122 # Example:
123 # Configure resource requests and limits
124 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
125 # Minimum memory for development is 2 CPU cores and 4GB memory
126 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200127resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100128 small:
129 limits:
130 cpu: 1
131 memory: 1.2Gi
132 requests:
133 cpu: 10m
134 memory: 800Mi
135 large:
136 limits:
137 cpu: 1
138 memory: 1.2Gi
139 requests:
140 cpu: 10m
141 memory: 800Mi
142 unlimited: {}