blob: 3d2eeeec9d74bb33a853f10deea76710eea9e31b [file] [log] [blame]
rameshiyer2701b8cc02021-09-21 15:07:50 +01001# ============LICENSE_START=======================================================
FrancescoFioraEst9c79e262022-02-22 13:12:19 +00002# Copyright (C) 2021-2022 Nordix Foundation.
rameshiyer2701b8cc02021-09-21 15:07:50 +01003# ================================================================================
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 nodePortPrefixExt: 304
24 persistence: {}
25 aafEnabled: true
26
27#################################################################
28# Secrets metaconfig
29#################################################################
30secrets:
31 - uid: restserver-secret
32 type: basicAuth
33 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
34 login: '{{ .Values.restServer.user }}'
35 password: '{{ .Values.restServer.password }}'
36 passwordPolicy: required
37 - uid: keystore-password
38 type: password
39 externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
40 password: '{{ .Values.certStores.keyStorePassword }}'
41 passwordPolicy: required
42 - uid: truststore-password
43 type: password
44 externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
45 password: '{{ .Values.certStores.trustStorePassword }}'
46 passwordPolicy: required
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010047 - uid: policy-kafka-user
48 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
49 type: genericKV
50 envs:
51 - name: sasl.jaas.config
52 value: '{{ .Values.config.someConfig }}'
53 policy: generate
rameshiyer2701b8cc02021-09-21 15:07:50 +010054
55certStores:
56 keyStorePassword: Pol1cy_0nap
57 trustStorePassword: Pol1cy_0nap
58
59certInitializer:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000060 nameOverride: policy-clamp-ac-k8s-ppnt-cert-initializer
rameshiyer2701b8cc02021-09-21 15:07:50 +010061 aafDeployFqi: deployer@people.osaaf.org
62 aafDeployPass: demo123456!
63 fqdn: policy
64 fqi: policy@policy.onap.org
65 public_fqdn: policy.onap.org
66 cadi_latitude: "0.0"
67 cadi_longitude: "0.0"
68 credsPath: /opt/app/osaaf/local
69 app_ns: org.osaaf.aaf
70 uid: 100
71 gid: 101
72 aaf_add_config: >
73 echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" > {{ .Values.credsPath }}/.ci;
74 echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
75 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
76
77
78#################################################################
79# Application configuration defaults.
80#################################################################
81# application image
liamfalloncbb72812022-10-21 18:13:29 +010082image: onap/policy-clamp-ac-k8s-ppnt:6.3.1
rameshiyer2701b8cc02021-09-21 15:07:50 +010083pullPolicy: Always
84
85# flag to enable debugging - application support required
86debugEnabled: false
87
88# application configuration
89restServer:
90 user: participantUser
91 password: zb!XztG34
92
93# default number of instances
94replicaCount: 1
95
96nodeSelector: {}
97
98affinity: {}
99# probe configuration parameters
100liveness:
101 initialDelaySeconds: 20
102 periodSeconds: 10
103 # necessary to disable liveness probe when setting breakpoints
104 # in debugger so K8s doesn't restart unresponsive container
105 enabled: true
106 port: http-api
107
108readiness:
109 initialDelaySeconds: 20
110 periodSeconds: 10
111 port: http-api
guillaume.lambert600dc982021-10-20 20:42:32 +0200112
rameshiyer2701b8cc02021-09-21 15:07:50 +0100113service:
114 type: ClusterIP
FrancescoFioraEst9c79e262022-02-22 13:12:19 +0000115 name: policy-clamp-ac-k8s-ppnt
rameshiyer2701b8cc02021-09-21 15:07:50 +0100116 useNodePortExt: true
117 ports:
118 - name: http-api
119 port: 8083
120 nodePort: 42
121
122ingress:
123 enabled: false
124
125flavor: small
126resources:
127 small:
128 limits:
129 cpu: 1
130 memory: 4Gi
131 requests:
132 cpu: 100m
133 memory: 1Gi
134 large:
135 limits:
136 cpu: 2
137 memory: 8Gi
138 requests:
139 cpu: 200m
140 memory: 2Gi
141 unlimited: {}
142
143#Pods Service Account
144serviceAccount:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +0000145 nameOverride: policy-clamp-ac-k8s-ppnt
rameshiyer2701b8cc02021-09-21 15:07:50 +0100146 roles:
147 - create
rameshiyer273c81b1d2022-07-18 16:54:51 +0100148# Update the config here for permitting repositories and protocols
149repoList:
150 helm:
151 repos:
152 -
153 repoName: kong
154 address: https://charts.konghq.com
155 -
156 repoName: bitnami
157 address: https://charts.bitnami.com/bitnami
158
159 protocols:
160 - http
161 - https
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +0100162
163config:
164# Event consumption (kafka) properties
165 useStrimziKafka: true
166 kafkaBootstrap: strimzi-kafka-bootstrap
167 kafka:
168 consumer:
169 groupId: policy-group
170 app:
171 listener:
172 acRuntimeTopic: policy-acruntime-participant
173# If targeting a custom kafka cluster, ie useStrimziKakfa: false
174# uncomment below config and target your kafka bootstrap servers,
175# along with any other security config.
176#
177# eventConsumption:
178# spring.kafka.bootstrap-servers: <kafka-bootstrap>:9092
179# spring.kafka.security.protocol: PLAINTEXT
180# spring.kafka.consumer.group-id: policy-group
181#
182# Any new property can be added in the env by setting in overrides in the format mentioned below
183# All the added properties must be in "key: value" format instead of yaml.
184# additional:
185# spring.config.max-size: 200
186# spring.config.min-size: 10