blob: ef0ea7ae4eececa93af7f57d1c876f3d2ab76366 [file] [log] [blame]
sebdetd85e24c2019-09-04 18:35:26 +02001# Copyright © 2017 Amdocs, Bell Canada
jhh999c2242021-02-24 12:10:02 -06002# Modifications Copyright © 2018-2021 AT&T
sebdetd85e24c2019-09-04 18:35:26 +02003#
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: >
Sylvain Desbureauxa44fae72021-02-23 16:31:07 +010047 echo "$cadi_truststore_password" > {{ .Values.credsPath }}/cadi_truststore_password.pwd;
48 echo "$cadi_key_password" > {{ .Values.credsPath }}/cadi_key_password.pwd;
49 echo "$cadi_keystore_password" > {{ .Values.credsPath }}/cadi_keystore_password.pwd;
50 echo "$cadi_keystore_password_p12" > {{ .Values.credsPath }}/cadi_keystore_password_p12.pwd;
ChrisC2325efd2020-09-11 18:39:23 +020051 cd {{ .Values.credsPath }};
52 chmod a+rx *;
sebdetd85e24c2019-09-04 18:35:26 +020053
JulienBe26df3202020-04-10 16:50:08 +020054secrets:
sebdet5c449882021-01-13 11:35:56 +010055 - uid: db-creds
JulienBe26df3202020-04-10 16:50:08 +020056 type: basicAuth
sebdet5c449882021-01-13 11:35:56 +010057 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
JulienBe26df3202020-04-10 16:50:08 +020058 login: '{{ .Values.db.user }}'
59 password: '{{ .Values.db.password }}'
60 passwordPolicy: required
61
sebdetd85e24c2019-09-04 18:35:26 +020062flavor: small
63
64# application image
jhh32367fc2021-03-10 13:10:47 -060065image: onap/policy-clamp-backend:6.0.2
sebdetd85e24c2019-09-04 18:35:26 +020066pullPolicy: Always
67
68# flag to enable debugging - application support required
69debugEnabled: false
70
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020071# log configuration
72log:
73 path: /var/log/onap
74
sebdetd85e24c2019-09-04 18:35:26 +020075#################################################################
76# Application configuration defaults.
77#################################################################
JulienBe26df3202020-04-10 16:50:08 +020078
ChrisC2325efd2020-09-11 18:39:23 +020079#####dummy values for db user and password to pass lint!!!#######
80
81db:
sebdet5c449882021-01-13 11:35:56 +010082 user: policy_user
83 password: policy_user
84 image: mariadb:10.5.8
85 service:
86 name: policy-mariadb
87 internalPort: 3306
JulienBe26df3202020-04-10 16:50:08 +020088
sebdetd85e24c2019-09-04 18:35:26 +020089config:
90 log:
91 logstashServiceName: log-ls
92 logstashPort: 5044
93 mysqlPassword: strong_pitchou
94 dataRootDir: /dockerdata-nfs
sebdetd85e24c2019-09-04 18:35:26 +020095
96# default number of instances
97replicaCount: 1
98
99nodeSelector: {}
100
101affinity: {}
102
103# probe configuration parameters
104liveness:
105 initialDelaySeconds: 120
106 periodSeconds: 10
sebdet5a13fbf2020-10-13 09:37:19 +0200107 timeoutSeconds: 3
sebdetd85e24c2019-09-04 18:35:26 +0200108 # necessary to disable liveness probe when setting breakpoints
109 # in debugger so K8s doesn't restart unresponsive container
110 enabled: true
111
112readiness:
113 initialDelaySeconds: 10
114 periodSeconds: 10
sebdet5a13fbf2020-10-13 09:37:19 +0200115 timeoutSeconds: 3
sebdetd85e24c2019-09-04 18:35:26 +0200116
117service:
118 type: ClusterIP
sebdet5c449882021-01-13 11:35:56 +0100119 name: policy-clamp-be
120 portName: policy-clamp-be
sebdetd85e24c2019-09-04 18:35:26 +0200121 internalPort: 8443
sebdet5c449882021-01-13 11:35:56 +0100122 externalPort: 8443
sebdetd85e24c2019-09-04 18:35:26 +0200123
124ingress:
125 enabled: false
126
127#resources: {}
sebdetac61d3c2020-10-23 16:06:55 +0200128# We usually recommend not to specify default resources and to leave this as a conscious
129# choice for the user. This also increases chances charts run on environments with little
130# resources, such as Minikube. If you do want to specify resources, uncomment the following
131# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
132#
133# Example:
134# Configure resource requests and limits
135# ref: http://kubernetes.io/docs/user-guide/compute-resources/
136# Minimum memory for development is 2 CPU cores and 4GB memory
137# Minimum memory for production is 4 CPU cores and 8GB memory
sebdetd85e24c2019-09-04 18:35:26 +0200138resources:
139 small:
140 limits:
141 cpu: 1
sebdet5a13fbf2020-10-13 09:37:19 +0200142 memory: 1Gi
sebdetd85e24c2019-09-04 18:35:26 +0200143 requests:
sebdetac61d3c2020-10-23 16:06:55 +0200144 cpu: 1m
sebdet5a13fbf2020-10-13 09:37:19 +0200145 memory: 1Gi
sebdetd85e24c2019-09-04 18:35:26 +0200146 large:
147 limits:
148 cpu: 1
sebdet5a13fbf2020-10-13 09:37:19 +0200149 memory: 3Gi
sebdetd85e24c2019-09-04 18:35:26 +0200150 requests:
151 cpu: 10m
sebdet5a13fbf2020-10-13 09:37:19 +0200152 memory: 3Gi
sebdetd85e24c2019-09-04 18:35:26 +0200153 unlimited: {}