blob: 88d2d53d466b048ee92fb70ae166257f69bbd704 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
vaibhav_16decf67e4182018-03-19 05:45:47 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global: # global defaults
19 nodePortPrefix: 302
vaibhav_16decf67e4182018-03-19 05:45:47 +000020 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000021 readinessImage: readiness-check:2.0.0
vaibhav_16decf67e4182018-03-19 05:45:47 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
24
25subChartsOnly:
26 enabled: true
27
28# application image
29repository: nexus3.onap.org:10001
Determe, Sebastien (sd378r)b84a92d2018-08-28 13:28:12 +020030image: onap/clamp:3.0-STAGING-latest
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040031pullPolicy: Always
vaibhav_16decf67e4182018-03-19 05:45:47 +000032
33# flag to enable debugging - application support required
34debugEnabled: false
35
36#################################################################
37# Application configuration defaults.
38#################################################################
39config:
ac2550de009892018-05-24 15:47:05 +020040 log:
41 logstashServiceName: log-ls
42 logstashPort: 5044
vaibhav_16decf67e4182018-03-19 05:45:47 +000043 mysqlPassword: strong_pitchou
44 dataRootDir: /dockerdata-nfs
ac2550a2619ed2018-04-04 13:01:04 +020045 springApplicationJson: >
46 {
ac25507895b2c2018-05-16 14:31:23 +020047 "spring.datasource.cldsdb.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3",
48 "clamp.config.sdc.catalog.url": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/",
49 "clamp.config.sdc.hostUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/",
50 "clamp.config.sdc.serviceUrl": "http://sdc-be.{{ include "common.namespace" . }}:8080/sdc/v1/catalog/services",
ac2550a2619ed2018-04-04 13:01:04 +020051 "clamp.config.sdc.serviceUsername": "clamp",
52 "clamp.config.sdc.servicePassword": "b7acccda32b98c5bb7acccda32b98c5b05D511BD6D93626E90D18E9D24D9B78CD34C7EE8012F0A189A28763E82271E50A5D4EC10C7D93E06E0A2D27CAE66B981",
ac25507895b2c2018-05-16 14:31:23 +020053 "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json",
ac25503f4be642018-05-18 13:13:17 +020054 "clamp.config.dcae.inventory.url": "http://inventory.{{ include "common.namespace" . }}:8080",
55 "clamp.config.dcae.dispatcher.url": "http://deployment-handler.{{ include "common.namespace" . }}:8443",
ac255026fdda92018-05-24 17:41:24 +020056 "clamp.config.policy.pdpUrl1": "http://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123",
57 "clamp.config.policy.pdpUrl2": "http://pdp.{{ include "common.namespace" . }}:8081/pdp/ , testpdp, alpha123",
58 "clamp.config.policy.papUrl": "http://pap.{{ include "common.namespace" . }}:9091/pap/ , testpap, alpha123",
Determe, Sebastien (sd378r)b84a92d2018-08-28 13:28:12 +020059 "clamp.config.policy.clientKey": "dGVzdA==",
60 "clamp.config.cadi.aafLocateUrl": "https://aaf-onap-test.osaaf.org:8095",
61 "com.att.eelf.logging.path": "/opt/clamp",
62 "com.att.eelf.logging.file": "logback.xml"
ac2550a2619ed2018-04-04 13:01:04 +020063 }
vaibhav_16decf67e4182018-03-19 05:45:47 +000064
65# subchart configuration
66mariadb:
67 nameOverride: clampdb
68
69
70# default number of instances
71replicaCount: 1
72
73nodeSelector: {}
74
75affinity: {}
76
77# probe configuration parameters
78liveness:
ac2550cfa75fe2018-08-07 15:36:10 +020079 initialDelaySeconds: 120
vaibhav_16decf67e4182018-03-19 05:45:47 +000080 periodSeconds: 10
81 # necessary to disable liveness probe when setting breakpoints
82 # in debugger so K8s doesn't restart unresponsive container
83 enabled: true
84
85readiness:
86 initialDelaySeconds: 10
87 periodSeconds: 10
88
89
90service:
91 type: NodePort
92 name: clamp
BorislavG1ffbd992018-04-24 07:56:27 +000093 portName: clamp
vaibhav_16decf67e4182018-03-19 05:45:47 +000094 internalPort: 8080
95 nodePort: 95
Determe, Sebastien (sd378r)b84a92d2018-08-28 13:28:12 +020096 portName2: clamp-ssl
97 internalPort2: 8443
98 nodePort2: 34
99
vaibhav_16decf67e4182018-03-19 05:45:47 +0000100
101ingress:
102 enabled: false
103
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200104#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000105 # We usually recommend not to specify default resources and to leave this as a conscious
106 # choice for the user. This also increases chances charts run on environments with little
107 # resources, such as Minikube. If you do want to specify resources, uncomment the following
108 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
109 #
110 # Example:
111 # Configure resource requests and limits
112 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
113 # Minimum memory for development is 2 CPU cores and 4GB memory
114 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200115resources:
116 limits:
117 cpu: 1
118 memory: 1.2Gi
119 requests:
120 cpu: 10m
121 memory: 800Mi