blob: dcbe59c3827ef516d40c9844f8274d62b524ad8b [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: >
sebdet9bac0c32021-04-22 10:23:53 +020047 /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop;
ChrisC2325efd2020-09-11 18:39:23 +020048 cd {{ .Values.credsPath }};
49 chmod a+rx *;
sebdetd85e24c2019-09-04 18:35:26 +020050
JulienBe26df3202020-04-10 16:50:08 +020051secrets:
sebdet5c449882021-01-13 11:35:56 +010052 - uid: db-creds
JulienBe26df3202020-04-10 16:50:08 +020053 type: basicAuth
sebdet5c449882021-01-13 11:35:56 +010054 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
JulienBe26df3202020-04-10 16:50:08 +020055 login: '{{ .Values.db.user }}'
56 password: '{{ .Values.db.password }}'
57 passwordPolicy: required
sebdet9bac0c32021-04-22 10:23:53 +020058 - uid: sdc-creds
59 type: password
60 externalSecret: '{{ tpl (default "" .Values.sdc.sdcClientExternalSecret) . }}'
61 password: '{{ .Values.sdc.clientPassword }}'
62 passwordPolicy: required
JulienBe26df3202020-04-10 16:50:08 +020063
sebdetd85e24c2019-09-04 18:35:26 +020064flavor: small
65
66# application image
sebdet9bac0c32021-04-22 10:23:53 +020067image: onap/policy-clamp-backend:6.1.1
sebdetd85e24c2019-09-04 18:35:26 +020068pullPolicy: Always
69
70# flag to enable debugging - application support required
71debugEnabled: false
72
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020073# log configuration
74log:
75 path: /var/log/onap
76
sebdetd85e24c2019-09-04 18:35:26 +020077#################################################################
78# Application configuration defaults.
79#################################################################
JulienBe26df3202020-04-10 16:50:08 +020080
ChrisC2325efd2020-09-11 18:39:23 +020081#####dummy values for db user and password to pass lint!!!#######
82
sebdet9bac0c32021-04-22 10:23:53 +020083sdc:
84 clientPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
85
ChrisC2325efd2020-09-11 18:39:23 +020086db:
sebdet5c449882021-01-13 11:35:56 +010087 user: policy_user
88 password: policy_user
89 image: mariadb:10.5.8
90 service:
91 name: policy-mariadb
92 internalPort: 3306
JulienBe26df3202020-04-10 16:50:08 +020093
sebdetd85e24c2019-09-04 18:35:26 +020094config:
95 log:
96 logstashServiceName: log-ls
97 logstashPort: 5044
98 mysqlPassword: strong_pitchou
99 dataRootDir: /dockerdata-nfs
sebdetd85e24c2019-09-04 18:35:26 +0200100
101# default number of instances
102replicaCount: 1
103
104nodeSelector: {}
105
106affinity: {}
107
108# probe configuration parameters
109liveness:
110 initialDelaySeconds: 120
111 periodSeconds: 10
sebdet5a13fbf2020-10-13 09:37:19 +0200112 timeoutSeconds: 3
sebdetd85e24c2019-09-04 18:35:26 +0200113 # necessary to disable liveness probe when setting breakpoints
114 # in debugger so K8s doesn't restart unresponsive container
115 enabled: true
116
117readiness:
118 initialDelaySeconds: 10
119 periodSeconds: 10
sebdet5a13fbf2020-10-13 09:37:19 +0200120 timeoutSeconds: 3
sebdetd85e24c2019-09-04 18:35:26 +0200121
122service:
123 type: ClusterIP
sebdet5c449882021-01-13 11:35:56 +0100124 name: policy-clamp-be
125 portName: policy-clamp-be
sebdetd85e24c2019-09-04 18:35:26 +0200126 internalPort: 8443
sebdet5c449882021-01-13 11:35:56 +0100127 externalPort: 8443
sebdetd85e24c2019-09-04 18:35:26 +0200128
129ingress:
130 enabled: false
131
132#resources: {}
sebdetac61d3c2020-10-23 16:06:55 +0200133# We usually recommend not to specify default resources and to leave this as a conscious
134# choice for the user. This also increases chances charts run on environments with little
135# resources, such as Minikube. If you do want to specify resources, uncomment the following
136# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
137#
138# Example:
139# Configure resource requests and limits
140# ref: http://kubernetes.io/docs/user-guide/compute-resources/
141# Minimum memory for development is 2 CPU cores and 4GB memory
142# Minimum memory for production is 4 CPU cores and 8GB memory
sebdetd85e24c2019-09-04 18:35:26 +0200143resources:
144 small:
145 limits:
146 cpu: 1
sebdet5a13fbf2020-10-13 09:37:19 +0200147 memory: 1Gi
sebdetd85e24c2019-09-04 18:35:26 +0200148 requests:
sebdetac61d3c2020-10-23 16:06:55 +0200149 cpu: 1m
sebdet5a13fbf2020-10-13 09:37:19 +0200150 memory: 1Gi
sebdetd85e24c2019-09-04 18:35:26 +0200151 large:
152 limits:
153 cpu: 1
sebdet5a13fbf2020-10-13 09:37:19 +0200154 memory: 3Gi
sebdetd85e24c2019-09-04 18:35:26 +0200155 requests:
156 cpu: 10m
sebdet5a13fbf2020-10-13 09:37:19 +0200157 memory: 3Gi
sebdetd85e24c2019-09-04 18:35:26 +0200158 unlimited: {}
farida azmyc1178372021-04-11 12:55:33 +0200159
160#Pods Service Account
161serviceAccount:
162 nameOverride: policy-clamp-be
163 roles:
164 - read