blob: b2b37d3755daca1aef1cc1e0210ba097fb3be720 [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
ChrisC2325efd2020-09-11 18:39:23 +020021 centralizedLoggingEnabled: true
22 #AAF service
23 aafEnabled: true
24
25#################################################################
26# AAF part
27#################################################################
28certInitializer:
29 permission_user: 1000
30 permission_group: 999
31 addconfig: true
32 keystoreFile: "org.onap.clamp.p12"
33 truststoreFile: "org.onap.clamp.trust.jks"
34 keyFile: "org.onap.clamp.keyfile"
35 truststoreFileONAP: "truststoreONAPall.jks"
36 clamp_key: "clamp.key"
37 clamp_pem: "clamp.pem"
38 clamp_ca_certs_pem: "clamp-ca-certs.pem"
39 nameOverride: clamp-cert-initializer
40 aafDeployFqi: deployer@people.osaaf.org
41 aafDeployPass: demo123456!
42 # aafDeployCredsExternalSecret: some secret
43 fqdn: clamp
44 fqi: clamp@clamp.onap.org
45 public_fqdn: clamp.onap.org
46 cadi_longitude: "0.0"
47 cadi_latitude: "0.0"
48 app_ns: org.osaaf.aaf
49 credsPath: /opt/app/osaaf/local
50 aaf_add_config: >
51 /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop;
52 export $(/opt/app/aaf_config/bin/agent.sh local showpass | grep '^c' | xargs -0);
53 cd {{ .Values.credsPath }};
54 openssl pkcs12 -in {{ .Values.keystoreFile }} -nocerts -nodes -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_key }};
55 openssl pkcs12 -in {{ .Values.keystoreFile }} -clcerts -nokeys -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_pem }};
56 openssl pkcs12 -in {{ .Values.keystoreFile }} -cacerts -nokeys -chain -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_ca_certs_pem }};
57 chmod a+rx *;
vaibhav_16decf67e4182018-03-19 05:45:47 +000058
JulienBe26df3202020-04-10 16:50:08 +020059secrets:
60 - uid: db-root-pass
61 name: &dbRootPass '{{ include "common.release" . }}-clamp-db-root-pass'
62 type: password
63 password: '{{ .Values.db.rootPass }}'
64 - uid: db-secret
65 name: &dbUserPass '{{ include "common.release" . }}-clamp-db-user-pass'
66 type: basicAuth
67 login: '{{ .Values.db.user }}'
68 password: '{{ .Values.db.password }}'
69
70db:
71 user: clds
72# password: sidnnd83K
73 databaseName: &dbName cldsdb4
74# rootPass: emrys user: testos
75
76clamp-backend:
77 db:
78 userCredsExternalSecret: *dbUserPass
79 databaseName: *dbName
ChrisC2325efd2020-09-11 18:39:23 +020080clamp-mariadb:
JulienBe26df3202020-04-10 16:50:08 +020081 db:
82 rootCredsExternalSecret: *dbRootPass
83 userCredsExternalSecret: *dbUserPass
84 databaseName: *dbName
85
vaibhav_16decf67e4182018-03-19 05:45:47 +000086subChartsOnly:
87 enabled: true
88
Sylvain Desbureaux45fba762018-11-23 11:35:46 +010089flavor: small
90
vaibhav_16decf67e4182018-03-19 05:45:47 +000091# application image
sebdetf0d27cb2020-11-10 14:24:58 +010092image: onap/clamp-frontend:5.1.5
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040093pullPolicy: Always
vaibhav_16decf67e4182018-03-19 05:45:47 +000094
95# flag to enable debugging - application support required
96debugEnabled: false
97
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020098# log configuration
99log:
100 path: /var/log/nginx/
101
vaibhav_16decf67e4182018-03-19 05:45:47 +0000102#################################################################
103# Application configuration defaults.
104#################################################################
105config:
ac2550de009892018-05-24 15:47:05 +0200106 log:
107 logstashServiceName: log-ls
108 logstashPort: 5044
vaibhav_16decf67e4182018-03-19 05:45:47 +0000109 dataRootDir: /dockerdata-nfs
vaibhav_16decf67e4182018-03-19 05:45:47 +0000110
111# default number of instances
112replicaCount: 1
113
114nodeSelector: {}
115
116affinity: {}
117
118# probe configuration parameters
119liveness:
ac2550cfa75fe2018-08-07 15:36:10 +0200120 initialDelaySeconds: 120
vaibhav_16decf67e4182018-03-19 05:45:47 +0000121 periodSeconds: 10
sebdet5a13fbf2020-10-13 09:37:19 +0200122 timeoutSeconds: 3
vaibhav_16decf67e4182018-03-19 05:45:47 +0000123 # necessary to disable liveness probe when setting breakpoints
124 # in debugger so K8s doesn't restart unresponsive container
125 enabled: true
126
127readiness:
128 initialDelaySeconds: 10
129 periodSeconds: 10
sebdet5a13fbf2020-10-13 09:37:19 +0200130 timeoutSeconds: 3
vaibhav_16decf67e4182018-03-19 05:45:47 +0000131
132service:
133 type: NodePort
sebdetd85e24c2019-09-04 18:35:26 +0200134 name: clamp-external
135 portName: clamp-external
sebdet93b4fd42020-03-25 09:19:34 -0700136 internalPort: 2443
Determe, Sebastien (sd378r)346ac692019-04-29 14:52:41 +0200137 nodePort: 58
sebdetd85e24c2019-09-04 18:35:26 +0200138
Michael O'Briencd4d4eb2018-09-04 20:56:34 -0400139 # as of 20180904 port 58 is reserved for clamp from log/logdemonode
140 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000141
sebdetd85e24c2019-09-04 18:35:26 +0200142 type2: ClusterIP
143 name2: clamp
144 portName2: clamp-internal
sebdet93b4fd42020-03-25 09:19:34 -0700145 internalPort2: 2443
sebdetd85e24c2019-09-04 18:35:26 +0200146 externalPort2: 8443
vaibhav_16decf67e4182018-03-19 05:45:47 +0000147
148ingress:
149 enabled: false
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100150 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000151 - baseaddr: "clamp.api"
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100152 name: "clamp"
sebdet93b4fd42020-03-25 09:19:34 -0700153 port: 2443
Lucjan Bryndza9e044a52019-12-02 14:04:44 +0100154 config:
155 ssl: "redirect"
vaibhav_16decf67e4182018-03-19 05:45:47 +0000156
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200157#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +0000158 # We usually recommend not to specify default resources and to leave this as a conscious
159 # choice for the user. This also increases chances charts run on environments with little
160 # resources, such as Minikube. If you do want to specify resources, uncomment the following
161 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
162 #
163 # Example:
164 # Configure resource requests and limits
165 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
166 # Minimum memory for development is 2 CPU cores and 4GB memory
167 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200168resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100169 small:
170 limits:
171 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200172 memory: 200Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100173 requests:
sebdetac61d3c2020-10-23 16:06:55 +0200174 cpu: 1m
sebdetd85e24c2019-09-04 18:35:26 +0200175 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100176 large:
177 limits:
178 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200179 memory: 500Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100180 requests:
181 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200182 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100183 unlimited: {}