blob: 3e08bd606ccb189abdb863214f7f9512b375e4a1 [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
JulienBe26df3202020-04-10 16:50:08 +020026secrets:
27 - uid: db-secret
28 type: basicAuth
29 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
30 login: '{{ .Values.db.user }}'
31 password: '{{ .Values.db.password }}'
32 passwordPolicy: required
33
sebdetd85e24c2019-09-04 18:35:26 +020034flavor: small
35
36# application image
37repository: nexus3.onap.org:10001
sebdet5fdeb5d2020-05-29 11:06:07 +020038image: onap/clamp-backend:5.0.7
sebdetd85e24c2019-09-04 18:35:26 +020039pullPolicy: Always
40
41# flag to enable debugging - application support required
42debugEnabled: false
43
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020044# log configuration
45log:
46 path: /var/log/onap
47
sebdetd85e24c2019-09-04 18:35:26 +020048#################################################################
49# Application configuration defaults.
50#################################################################
JulienBe26df3202020-04-10 16:50:08 +020051
52db: {}
53
sebdetd85e24c2019-09-04 18:35:26 +020054config:
55 log:
56 logstashServiceName: log-ls
57 logstashPort: 5044
58 mysqlPassword: strong_pitchou
59 dataRootDir: /dockerdata-nfs
60 springApplicationJson: >
JulienBe26df3202020-04-10 16:50:08 +020061 {
62 "spring.datasource.username": "${MYSQL_USER}",
63 "spring.datasource.password": "${MYSQL_PASSWORD}",
64 "spring.datasource.url": "jdbc:mariadb:sequential://clampdb.{{ include "common.namespace" . }}:3306/${MYSQL_DATABASE}?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3",
sebdet93b4fd42020-03-25 09:19:34 -070065 "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 +020066 "clamp.config.files.sdcController": "file:/opt/clamp/sdc-controllers-config.json",
sebdet9a4661e2019-10-11 18:23:57 +020067 "clamp.config.dcae.inventory.url": "https4://inventory.{{ include "common.namespace" . }}:8080",
sebdetd85e24c2019-09-04 18:35:26 +020068 "clamp.config.dcae.dispatcher.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
69 "clamp.config.dcae.deployment.url": "https4://deployment-handler.{{ include "common.namespace" . }}:8443",
70 "clamp.config.dcae.deployment.userName": "none",
71 "clamp.config.dcae.deployment.password": "none",
72 "clamp.config.policy.api.url": "https4://policy-api.{{ include "common.namespace" . }}:6969",
73 "clamp.config.policy.api.userName": "healthcheck",
74 "clamp.config.policy.api.password": "zb!XztG34",
75 "clamp.config.policy.pap.url": "https4://policy-pap.{{ include "common.namespace" . }}:6969",
76 "clamp.config.policy.pap.userName": "healthcheck",
77 "clamp.config.policy.pap.password": "zb!XztG34",
sebdete4b99c52020-04-01 12:18:20 +020078 "clamp.config.cadi.aafLocateUrl": "https://aaf-locate.{{ include "common.namespace" . }}:8095"
JulienBe26df3202020-04-10 16:50:08 +020079 }
sebdetd85e24c2019-09-04 18:35:26 +020080
81# default number of instances
82replicaCount: 1
83
84nodeSelector: {}
85
86affinity: {}
87
88# probe configuration parameters
89liveness:
90 initialDelaySeconds: 120
91 periodSeconds: 10
92 # necessary to disable liveness probe when setting breakpoints
93 # in debugger so K8s doesn't restart unresponsive container
94 enabled: true
95
96readiness:
97 initialDelaySeconds: 10
98 periodSeconds: 10
99
100
101service:
102 type: ClusterIP
103 name: clamp-backend
104 portName: clamp-backend
105 internalPort: 8443
106 externalPort: 443
107
108ingress:
109 enabled: false
110
111#resources: {}
112 # We usually recommend not to specify default resources and to leave this as a conscious
113 # choice for the user. This also increases chances charts run on environments with little
114 # resources, such as Minikube. If you do want to specify resources, uncomment the following
115 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
116 #
117 # Example:
118 # Configure resource requests and limits
119 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
120 # Minimum memory for development is 2 CPU cores and 4GB memory
121 # Minimum memory for production is 4 CPU cores and 8GB memory
122resources:
123 small:
124 limits:
125 cpu: 1
126 memory: 1.2Gi
127 requests:
128 cpu: 10m
129 memory: 800Mi
130 large:
131 limits:
132 cpu: 1
133 memory: 1.2Gi
134 requests:
135 cpu: 10m
136 memory: 800Mi
137 unlimited: {}