blob: 2a27c140eb959cdb6430eb552487e99ecb5b6d09 [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
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
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020025 centralizedLoggingEnabled: false
vaibhav_16decf67e4182018-03-19 05:45:47 +000026
JulienBe26df3202020-04-10 16:50:08 +020027secrets:
28 - uid: db-root-pass
29 name: &dbRootPass '{{ include "common.release" . }}-clamp-db-root-pass'
30 type: password
31 password: '{{ .Values.db.rootPass }}'
32 - uid: db-secret
33 name: &dbUserPass '{{ include "common.release" . }}-clamp-db-user-pass'
34 type: basicAuth
35 login: '{{ .Values.db.user }}'
36 password: '{{ .Values.db.password }}'
37
38db:
39 user: clds
40# password: sidnnd83K
41 databaseName: &dbName cldsdb4
42# rootPass: emrys user: testos
43
44clamp-backend:
45 db:
46 userCredsExternalSecret: *dbUserPass
47 databaseName: *dbName
48mariadb:
49 db:
50 rootCredsExternalSecret: *dbRootPass
51 userCredsExternalSecret: *dbUserPass
52 databaseName: *dbName
53
vaibhav_16decf67e4182018-03-19 05:45:47 +000054subChartsOnly:
55 enabled: true
56
Sylvain Desbureaux45fba762018-11-23 11:35:46 +010057flavor: small
58
vaibhav_16decf67e4182018-03-19 05:45:47 +000059# application image
60repository: nexus3.onap.org:10001
sebdet5fdeb5d2020-05-29 11:06:07 +020061image: onap/clamp-frontend:5.0.7
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040062pullPolicy: Always
vaibhav_16decf67e4182018-03-19 05:45:47 +000063
64# flag to enable debugging - application support required
65debugEnabled: false
66
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020067# log configuration
68log:
69 path: /var/log/nginx/
70
vaibhav_16decf67e4182018-03-19 05:45:47 +000071#################################################################
72# Application configuration defaults.
73#################################################################
74config:
ac2550de009892018-05-24 15:47:05 +020075 log:
76 logstashServiceName: log-ls
77 logstashPort: 5044
vaibhav_16decf67e4182018-03-19 05:45:47 +000078 dataRootDir: /dockerdata-nfs
vaibhav_16decf67e4182018-03-19 05:45:47 +000079
80# default number of instances
81replicaCount: 1
82
83nodeSelector: {}
84
85affinity: {}
86
87# probe configuration parameters
88liveness:
ac2550cfa75fe2018-08-07 15:36:10 +020089 initialDelaySeconds: 120
vaibhav_16decf67e4182018-03-19 05:45:47 +000090 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: NodePort
sebdetd85e24c2019-09-04 18:35:26 +0200102 name: clamp-external
103 portName: clamp-external
sebdet93b4fd42020-03-25 09:19:34 -0700104 internalPort: 2443
Determe, Sebastien (sd378r)346ac692019-04-29 14:52:41 +0200105 nodePort: 58
sebdetd85e24c2019-09-04 18:35:26 +0200106
Michael O'Briencd4d4eb2018-09-04 20:56:34 -0400107 # as of 20180904 port 58 is reserved for clamp from log/logdemonode
108 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000109
sebdetd85e24c2019-09-04 18:35:26 +0200110 type2: ClusterIP
111 name2: clamp
112 portName2: clamp-internal
sebdet93b4fd42020-03-25 09:19:34 -0700113 internalPort2: 2443
sebdetd85e24c2019-09-04 18:35:26 +0200114 externalPort2: 8443
vaibhav_16decf67e4182018-03-19 05:45:47 +0000115
116ingress:
117 enabled: false
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100118 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000119 - baseaddr: "clamp.api"
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100120 name: "clamp"
sebdet93b4fd42020-03-25 09:19:34 -0700121 port: 2443
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100122 config:
123 ssl: "redirect"
vaibhav_16decf67e4182018-03-19 05:45:47 +0000124
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200125#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000126 # We usually recommend not to specify default resources and to leave this as a conscious
127 # choice for the user. This also increases chances charts run on environments with little
128 # resources, such as Minikube. If you do want to specify resources, uncomment the following
129 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
130 #
131 # Example:
132 # Configure resource requests and limits
133 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
134 # Minimum memory for development is 2 CPU cores and 4GB memory
135 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200136resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100137 small:
138 limits:
139 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200140 memory: 200Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100141 requests:
142 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200143 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100144 large:
145 limits:
146 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200147 memory: 500Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100148 requests:
149 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200150 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100151 unlimited: {}