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