blob: 5d82c83cc57f2cf9162f08c6f3f6165f05b5bbf9 [file] [log] [blame]
rameshiyer2701b8cc02021-09-21 15:07:50 +01001# ============LICENSE_START=======================================================
efiacor6910bbe2023-03-03 14:53:16 +00002# Copyright (C) 2021-2023 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: {}
efiacor6910bbe2023-03-03 14:53:16 +000025 #Strimzi Kafka properties
26 useStrimziKafka: set-via-parent-chart-global-value
27 kafkaTopics:
28 acRuntimeTopic:
29 name: &acRuntimeTopic policy.clamp-runtime-acm
rameshiyer2701b8cc02021-09-21 15:07:50 +010030
31#################################################################
32# Secrets metaconfig
33#################################################################
34secrets:
35 - uid: restserver-secret
36 type: basicAuth
37 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
38 login: '{{ .Values.restServer.user }}'
39 password: '{{ .Values.restServer.password }}'
40 passwordPolicy: required
rameshiyer2701b8cc02021-09-21 15:07:50 +010041
42#################################################################
43# Application configuration defaults.
44#################################################################
45# application image
saul.gill99649272023-12-12 16:14:52 +000046image: onap/policy-clamp-ac-k8s-ppnt:7.1.0
rameshiyer2701b8cc02021-09-21 15:07:50 +010047pullPolicy: Always
48
efiacor6910bbe2023-03-03 14:53:16 +000049componentName: &componentName policy-clamp-ac-k8s-ppnt
50
rameshiyer2701b8cc02021-09-21 15:07:50 +010051# flag to enable debugging - application support required
52debugEnabled: false
53
54# application configuration
55restServer:
56 user: participantUser
57 password: zb!XztG34
58
59# default number of instances
60replicaCount: 1
61
62nodeSelector: {}
63
64affinity: {}
65# probe configuration parameters
66liveness:
Andreas Geisslerc50f0892023-06-14 14:21:31 +020067 initialDelaySeconds: 60
rameshiyer2701b8cc02021-09-21 15:07:50 +010068 periodSeconds: 10
69 # necessary to disable liveness probe when setting breakpoints
70 # in debugger so K8s doesn't restart unresponsive container
71 enabled: true
72 port: http-api
73
74readiness:
Andreas Geisslerc50f0892023-06-14 14:21:31 +020075 initialDelaySeconds: 60
rameshiyer2701b8cc02021-09-21 15:07:50 +010076 periodSeconds: 10
77 port: http-api
guillaume.lambert600dc982021-10-20 20:42:32 +020078
rameshiyer2701b8cc02021-09-21 15:07:50 +010079service:
80 type: ClusterIP
efiacor6910bbe2023-03-03 14:53:16 +000081 name: *componentName
rameshiyer2701b8cc02021-09-21 15:07:50 +010082 ports:
83 - name: http-api
84 port: 8083
rameshiyer2701b8cc02021-09-21 15:07:50 +010085
86ingress:
87 enabled: false
88
AndrewLamb7ef78ae2023-04-20 16:24:13 +010089serviceMesh:
90 authorizationPolicy:
91 authorizedPrincipals:
92 - serviceAccount: message-router-read
93
rameshiyer2701b8cc02021-09-21 15:07:50 +010094flavor: small
95resources:
96 small:
97 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010098 cpu: "1"
99 memory: "1Gi"
rameshiyer2701b8cc02021-09-21 15:07:50 +0100100 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100101 cpu: "0.5"
102 memory: "1Gi"
rameshiyer2701b8cc02021-09-21 15:07:50 +0100103 large:
104 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100105 cpu: "2"
106 memory: "2Gi"
rameshiyer2701b8cc02021-09-21 15:07:50 +0100107 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100108 cpu: "1"
109 memory: "2Gi"
rameshiyer2701b8cc02021-09-21 15:07:50 +0100110 unlimited: {}
111
112#Pods Service Account
113serviceAccount:
efiacor6910bbe2023-03-03 14:53:16 +0000114 nameOverride: *componentName
rameshiyer2701b8cc02021-09-21 15:07:50 +0100115 roles:
116 - create
rameshiyer273c81b1d2022-07-18 16:54:51 +0100117# Update the config here for permitting repositories and protocols
118repoList:
119 helm:
120 repos:
121 -
122 repoName: kong
123 address: https://charts.konghq.com
124 -
125 repoName: bitnami
126 address: https://charts.bitnami.com/bitnami
127
128 protocols:
129 - http
130 - https
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +0100131
132config:
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +0100133# Any new property can be added in the env by setting in overrides in the format mentioned below
134# All the added properties must be in "key: value" format instead of yaml.
135# additional:
136# spring.config.max-size: 200
137# spring.config.min-size: 10
efiacor6910bbe2023-03-03 14:53:16 +0000138
139# Strimzi Kafka config
140kafkaUser:
141 authenticationType: scram-sha-512
142 acls:
143 - name: *componentName
144 type: group
145 operations: [Read]
146 - name: *acRuntimeTopic
147 type: topic
148 operations: [Read, Write]
149
150readinessCheck:
151 wait_for:
152 - message-router