blob: 6f60fec111f891ecc2d9b1c114c3bda4280d1392 [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:
rameshiyer2701b8cc02021-09-21 15:07:50 +010023 persistence: {}
efiacor6910bbe2023-03-03 14:53:16 +000024 #Strimzi Kafka properties
25 useStrimziKafka: set-via-parent-chart-global-value
26 kafkaTopics:
27 acRuntimeTopic:
28 name: &acRuntimeTopic policy.clamp-runtime-acm
rameshiyer2701b8cc02021-09-21 15:07:50 +010029
30#################################################################
31# Secrets metaconfig
32#################################################################
33secrets:
34 - uid: restserver-secret
35 type: basicAuth
36 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
37 login: '{{ .Values.restServer.user }}'
38 password: '{{ .Values.restServer.password }}'
39 passwordPolicy: required
rameshiyer2701b8cc02021-09-21 15:07:50 +010040
41#################################################################
42# Application configuration defaults.
43#################################################################
44# application image
saul.gill5e611402023-03-02 11:49:23 +000045image: onap/policy-clamp-ac-http-ppnt:6.4.1
rameshiyer2701b8cc02021-09-21 15:07:50 +010046pullPolicy: Always
47
efiacor6910bbe2023-03-03 14:53:16 +000048componentName: &componentName policy-clamp-ac-http-ppnt
49
rameshiyer2701b8cc02021-09-21 15:07:50 +010050# application configuration
51restServer:
52 user: participantUser
53 password: zb!XztG34
54
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000055# flag to enable debugging - application support required
56debugEnabled: false
57
rameshiyer2701b8cc02021-09-21 15:07:50 +010058# default number of instances
59replicaCount: 1
60
61nodeSelector: {}
62
63affinity: {}
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000064ingress:
65 enabled: false
66
rameshiyer2701b8cc02021-09-21 15:07:50 +010067# probe configuration parameters
68liveness:
69 initialDelaySeconds: 20
70 periodSeconds: 10
71 # necessary to disable liveness probe when setting breakpoints
72 # in debugger so K8s doesn't restart unresponsive container
73 enabled: true
74 port: http-api
75
76readiness:
77 initialDelaySeconds: 20
78 periodSeconds: 10
79 port: http-api
guillaume.lambert600dc982021-10-20 20:42:32 +020080
rameshiyer2701b8cc02021-09-21 15:07:50 +010081service:
82 type: ClusterIP
efiacor6910bbe2023-03-03 14:53:16 +000083 name: *componentName
rameshiyer2701b8cc02021-09-21 15:07:50 +010084 ports:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000085 - name: http-api
86 port: 8084
rameshiyer2701b8cc02021-09-21 15:07:50 +010087
88flavor: small
89resources:
90 small:
91 limits:
92 cpu: 1
93 memory: 4Gi
94 requests:
95 cpu: 100m
96 memory: 1Gi
97 large:
98 limits:
99 cpu: 2
100 memory: 8Gi
101 requests:
102 cpu: 200m
103 memory: 2Gi
104 unlimited: {}
rameshiyer2701b8cc02021-09-21 15:07:50 +0100105#Pods Service Account
106serviceAccount:
efiacor6910bbe2023-03-03 14:53:16 +0000107 nameOverride: *componentName
rameshiyer2701b8cc02021-09-21 15:07:50 +0100108 roles:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +0000109 - read
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +0100110
111config:
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +0100112# Any new property can be added in the env by setting in overrides in the format mentioned below
113# All the added properties must be in "key: value" format instead of yaml.
114# additional:
115# spring.config.max-size: 200
116# spring.config.min-size: 10
117
efiacor6910bbe2023-03-03 14:53:16 +0000118# Strimzi Kafka config
119kafkaUser:
120 authenticationType: scram-sha-512
121 acls:
122 - name: *componentName
123 type: group
124 operations: [Read]
125 - name: *acRuntimeTopic
126 type: topic
127 operations: [Read, Write]
128
129readinessCheck:
130 wait_for:
131 - message-router