blob: efd08ba4d01ae3640d94967bb57e3c34bde75409 [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
sebdetd85e24c2019-09-04 18:35:26 +020021 persistence: {}
ChrisC2325efd2020-09-11 18:39:23 +020022 centralizedLoggingEnabled: true
23 #AAF service
24 aafEnabled: true
25
26#################################################################
27# AAF part
28#################################################################
29certInitializer:
30 permission_user: 1000
31 permission_group: 999
sebdetac61d3c2020-10-23 16:06:55 +020032 keystoreFile: 'org.onap.clamp.p12'
33 truststoreFile: 'org.onap.clamp.trust.jks'
34 keyFile: 'org.onap.clamp.keyfile'
35 truststoreFileONAP: 'truststoreONAPall.jks'
ChrisC2325efd2020-09-11 18:39:23 +020036 nameOverride: clamp-backend-cert-initializer
37 aafDeployFqi: deployer@people.osaaf.org
38 aafDeployPass: demo123456!
39 fqdn: clamp
40 fqi: clamp@clamp.onap.org
41 public_fqdn: clamp.onap.org
sebdetac61d3c2020-10-23 16:06:55 +020042 cadi_longitude: '-72.0'
43 cadi_latitude: '38.0'
ChrisC2325efd2020-09-11 18:39:23 +020044 app_ns: org.osaaf.aaf
45 credsPath: /opt/app/osaaf/local
46 aaf_add_config: >
47 /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop;
48 grep '^cadi' {{ .Values.credsPath }}/mycreds.prop | awk -v FS="cadi_truststore_password=" 'NF>1{print $2}' > {{ .Values.credsPath }}/cadi_truststore_password.pwd;
49 grep '^cadi' {{ .Values.credsPath }}/mycreds.prop | awk -v FS="cadi_key_password=" 'NF>1{print $2}' > {{ .Values.credsPath }}/cadi_key_password.pwd;
50 grep '^cadi' {{ .Values.credsPath }}/mycreds.prop | awk -v FS="cadi_keystore_password=" 'NF>1{print $2}' > {{ .Values.credsPath }}/cadi_keystore_password.pwd;
51 grep '^cadi' {{ .Values.credsPath }}/mycreds.prop | awk -v FS="cadi_keystore_password_p12=" 'NF>1{print $2}' > {{ .Values.credsPath }}/cadi_keystore_password_p12.pwd;
52 cd {{ .Values.credsPath }};
53 chmod a+rx *;
sebdetd85e24c2019-09-04 18:35:26 +020054
JulienBe26df3202020-04-10 16:50:08 +020055secrets:
56 - uid: db-secret
57 type: basicAuth
58 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
59 login: '{{ .Values.db.user }}'
60 password: '{{ .Values.db.password }}'
61 passwordPolicy: required
62
sebdetd85e24c2019-09-04 18:35:26 +020063flavor: small
64
65# application image
sebdetf0d27cb2020-11-10 14:24:58 +010066image: onap/clamp-backend:5.1.5
sebdetd85e24c2019-09-04 18:35:26 +020067pullPolicy: Always
68
69# flag to enable debugging - application support required
70debugEnabled: false
71
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020072# log configuration
73log:
74 path: /var/log/onap
75
sebdetd85e24c2019-09-04 18:35:26 +020076#################################################################
77# Application configuration defaults.
78#################################################################
JulienBe26df3202020-04-10 16:50:08 +020079
ChrisC2325efd2020-09-11 18:39:23 +020080#####dummy values for db user and password to pass lint!!!#######
81
82db:
83 user: dummyclds
84 password: dummysidnnd83K
85 databaseName: dummycldsdb4
JulienBe26df3202020-04-10 16:50:08 +020086
sebdetd85e24c2019-09-04 18:35:26 +020087config:
88 log:
89 logstashServiceName: log-ls
90 logstashPort: 5044
91 mysqlPassword: strong_pitchou
92 dataRootDir: /dockerdata-nfs
sebdetd85e24c2019-09-04 18:35:26 +020093
94# default number of instances
95replicaCount: 1
96
97nodeSelector: {}
98
99affinity: {}
100
101# probe configuration parameters
102liveness:
103 initialDelaySeconds: 120
104 periodSeconds: 10
sebdet5a13fbf2020-10-13 09:37:19 +0200105 timeoutSeconds: 3
sebdetd85e24c2019-09-04 18:35:26 +0200106 # necessary to disable liveness probe when setting breakpoints
107 # in debugger so K8s doesn't restart unresponsive container
108 enabled: true
109
110readiness:
111 initialDelaySeconds: 10
112 periodSeconds: 10
sebdet5a13fbf2020-10-13 09:37:19 +0200113 timeoutSeconds: 3
sebdetd85e24c2019-09-04 18:35:26 +0200114
115service:
116 type: ClusterIP
117 name: clamp-backend
118 portName: clamp-backend
119 internalPort: 8443
120 externalPort: 443
121
122ingress:
123 enabled: false
124
125#resources: {}
sebdetac61d3c2020-10-23 16:06:55 +0200126# 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
sebdetd85e24c2019-09-04 18:35:26 +0200136resources:
137 small:
138 limits:
139 cpu: 1
sebdet5a13fbf2020-10-13 09:37:19 +0200140 memory: 1Gi
sebdetd85e24c2019-09-04 18:35:26 +0200141 requests:
sebdetac61d3c2020-10-23 16:06:55 +0200142 cpu: 1m
sebdet5a13fbf2020-10-13 09:37:19 +0200143 memory: 1Gi
sebdetd85e24c2019-09-04 18:35:26 +0200144 large:
145 limits:
146 cpu: 1
sebdet5a13fbf2020-10-13 09:37:19 +0200147 memory: 3Gi
sebdetd85e24c2019-09-04 18:35:26 +0200148 requests:
149 cpu: 10m
sebdet5a13fbf2020-10-13 09:37:19 +0200150 memory: 3Gi
sebdetd85e24c2019-09-04 18:35:26 +0200151 unlimited: {}