blob: 44535c99e2237530b5adfba0d282ca71a0d38ecb [file] [log] [blame]
rameshiyer273c3402d2021-09-21 15:14:39 +01001# ============LICENSE_START=======================================================
2# Copyright (C) 2021 Nordix Foundation.
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# SPDX-License-Identifier: Apache-2.0
17# ============LICENSE_END=========================================================
18
19#################################################################
20# Global configuration defaults.
21#################################################################
22global:
23 persistence: {}
24 aafEnabled: true
25
26#################################################################
27# Secrets metaconfig
28#################################################################
29secrets:
30 - uid: keystore-password
31 type: password
32 externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
33 password: '{{ .Values.certStores.keyStorePassword }}'
34 passwordPolicy: required
35 - uid: truststore-password
36 type: password
37 externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
38 password: '{{ .Values.certStores.trustStorePassword }}'
39 passwordPolicy: required
40
41certStores:
42 keyStorePassword: Pol1cy_0nap
43 trustStorePassword: Pol1cy_0nap
44
45certInitializer:
46 nameOverride: policy-clamp-cl-http-ppnt-cert-initializer
47 aafDeployFqi: deployer@people.osaaf.org
48 aafDeployPass: demo123456!
49 fqdn: policy
50 fqi: policy@policy.onap.org
51 public_fqdn: policy.onap.org
52 cadi_latitude: "0.0"
53 cadi_longitude: "0.0"
54 credsPath: /opt/app/osaaf/local
55 app_ns: org.osaaf.aaf
56 uid: 100
57 gid: 101
58 aaf_add_config: >
59 echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" > {{ .Values.credsPath }}/.ci;
60 echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
61 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
62
63
64#################################################################
65# Application configuration defaults.
66#################################################################
67# application image
liamfallon312ab372021-12-13 14:33:33 +000068image: onap/policy-clamp-cl-http-ppnt:6.2.0
rameshiyer273c3402d2021-09-21 15:14:39 +010069pullPolicy: Always
70
71# flag to enable debugging - application support required
72debugEnabled: false
73
74# default number of instances
75replicaCount: 1
76
77nodeSelector: {}
78
79affinity: {}
80ingress:
81 enabled: false
82
83flavor: small
84resources:
85 small:
86 limits:
87 cpu: 1
88 memory: 4Gi
89 requests:
90 cpu: 100m
91 memory: 1Gi
92 large:
93 limits:
94 cpu: 2
95 memory: 8Gi
96 requests:
97 cpu: 200m
98 memory: 2Gi
99 unlimited: {}
100#Pods Service Account
101serviceAccount:
102 nameOverride: policy-clamp-cl-http-ppnt
103 roles:
104 - read