blob: 49fd98d27b8848ad2d37212034533e0e0ecf19b9 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
sebdetd85e24c2019-09-04 18:35:26 +02002# Modifications Copyright © 2018-2019 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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
vaibhav_16decf67e4182018-03-19 05:45:47 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020024 centralizedLoggingEnabled: false
vaibhav_16decf67e4182018-03-19 05:45:47 +000025
JulienBe26df3202020-04-10 16:50:08 +020026secrets:
27 - uid: db-root-pass
28 name: &dbRootPass '{{ include "common.release" . }}-clamp-db-root-pass'
29 type: password
30 password: '{{ .Values.db.rootPass }}'
31 - uid: db-secret
32 name: &dbUserPass '{{ include "common.release" . }}-clamp-db-user-pass'
33 type: basicAuth
34 login: '{{ .Values.db.user }}'
35 password: '{{ .Values.db.password }}'
36
37db:
38 user: clds
39# password: sidnnd83K
40 databaseName: &dbName cldsdb4
41# rootPass: emrys user: testos
42
43clamp-backend:
44 db:
45 userCredsExternalSecret: *dbUserPass
46 databaseName: *dbName
47mariadb:
48 db:
49 rootCredsExternalSecret: *dbRootPass
50 userCredsExternalSecret: *dbUserPass
51 databaseName: *dbName
52
vaibhav_16decf67e4182018-03-19 05:45:47 +000053subChartsOnly:
54 enabled: true
55
Sylvain Desbureaux45fba762018-11-23 11:35:46 +010056flavor: small
57
vaibhav_16decf67e4182018-03-19 05:45:47 +000058# application image
59repository: nexus3.onap.org:10001
sebdet5fdeb5d2020-05-29 11:06:07 +020060image: onap/clamp-frontend:5.0.7
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040061pullPolicy: Always
vaibhav_16decf67e4182018-03-19 05:45:47 +000062
63# flag to enable debugging - application support required
64debugEnabled: false
65
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020066# log configuration
67log:
68 path: /var/log/nginx/
69
vaibhav_16decf67e4182018-03-19 05:45:47 +000070#################################################################
71# Application configuration defaults.
72#################################################################
73config:
ac2550de009892018-05-24 15:47:05 +020074 log:
75 logstashServiceName: log-ls
76 logstashPort: 5044
vaibhav_16decf67e4182018-03-19 05:45:47 +000077 dataRootDir: /dockerdata-nfs
vaibhav_16decf67e4182018-03-19 05:45:47 +000078
79# default number of instances
80replicaCount: 1
81
82nodeSelector: {}
83
84affinity: {}
85
86# probe configuration parameters
87liveness:
ac2550cfa75fe2018-08-07 15:36:10 +020088 initialDelaySeconds: 120
vaibhav_16decf67e4182018-03-19 05:45:47 +000089 periodSeconds: 10
90 # necessary to disable liveness probe when setting breakpoints
91 # in debugger so K8s doesn't restart unresponsive container
92 enabled: true
93
94readiness:
95 initialDelaySeconds: 10
96 periodSeconds: 10
97
98
99service:
100 type: NodePort
sebdetd85e24c2019-09-04 18:35:26 +0200101 name: clamp-external
102 portName: clamp-external
sebdet93b4fd42020-03-25 09:19:34 -0700103 internalPort: 2443
Determe, Sebastien (sd378r)346ac692019-04-29 14:52:41 +0200104 nodePort: 58
sebdetd85e24c2019-09-04 18:35:26 +0200105
Michael O'Briencd4d4eb2018-09-04 20:56:34 -0400106 # as of 20180904 port 58 is reserved for clamp from log/logdemonode
107 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000108
sebdetd85e24c2019-09-04 18:35:26 +0200109 type2: ClusterIP
110 name2: clamp
111 portName2: clamp-internal
sebdet93b4fd42020-03-25 09:19:34 -0700112 internalPort2: 2443
sebdetd85e24c2019-09-04 18:35:26 +0200113 externalPort2: 8443
vaibhav_16decf67e4182018-03-19 05:45:47 +0000114
115ingress:
116 enabled: false
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100117 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000118 - baseaddr: "clamp.api"
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100119 name: "clamp"
sebdet93b4fd42020-03-25 09:19:34 -0700120 port: 2443
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100121 config:
122 ssl: "redirect"
vaibhav_16decf67e4182018-03-19 05:45:47 +0000123
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200124#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000125 # We usually recommend not to specify default resources and to leave this as a conscious
126 # choice for the user. This also increases chances charts run on environments with little
127 # resources, such as Minikube. If you do want to specify resources, uncomment the following
128 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
129 #
130 # Example:
131 # Configure resource requests and limits
132 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
133 # Minimum memory for development is 2 CPU cores and 4GB memory
134 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200135resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100136 small:
137 limits:
138 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200139 memory: 200Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100140 requests:
141 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200142 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100143 large:
144 limits:
145 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200146 memory: 500Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100147 requests:
148 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200149 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100150 unlimited: {}