blob: ce53abaf04dbb738bdbde8d828a6a775ba3ed5e7 [file] [log] [blame]
aravind.est8d728302022-12-07 12:26:28 +00001# ============LICENSE_START=======================================================
efiacor6910bbe2023-03-03 14:53:16 +00002# Copyright (C) 2022-2023 Nordix Foundation.
aravind.est8d728302022-12-07 12:26:28 +00003# ================================================================================
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: {}
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
aravind.est8d728302022-12-07 12:26:28 +000029
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
aravind.est8d728302022-12-07 12:26:28 +000040
41#################################################################
42# Application configuration defaults.
43#################################################################
44# application image
saul.gill5e611402023-03-02 11:49:23 +000045image: onap/policy-clamp-ac-a1pms-ppnt:6.4.1
aravind.est8d728302022-12-07 12:26:28 +000046pullPolicy: Always
47
efiacor6910bbe2023-03-03 14:53:16 +000048componentName: &componentName policy-clamp-ac-a1pms-ppnt
49
aravind.est8d728302022-12-07 12:26:28 +000050# application configuration
51restServer:
52 user: participantUser
53 password: zb!XztG34
54
55a1pmsconfig:
56 a1pms:
57 baseUrl: http://a1policymanagement.onap:8081
58 headers:
59 content-type: application/json
60 endpoints:
61 health: /a1-policy/v2/rics
62 services: /a1-policy/v2/services
63 service: /a1-policy/v2/services/{service_id}
64
65# flag to enable debugging - application support required
66debugEnabled: false
67
68# default number of instances
69replicaCount: 1
70
71nodeSelector: {}
72
73affinity: {}
74ingress:
75 enabled: false
76
77# probe configuration parameters
78liveness:
79 initialDelaySeconds: 20
80 periodSeconds: 10
81 # necessary to disable liveness probe when setting breakpoints
82 # in debugger so K8s doesn't restart unresponsive container
83 enabled: true
Fiete Ostkamp7044e682023-04-19 13:25:18 +000084 port: http-a1pms-api
aravind.est8d728302022-12-07 12:26:28 +000085
86readiness:
87 initialDelaySeconds: 20
88 periodSeconds: 10
Fiete Ostkamp7044e682023-04-19 13:25:18 +000089 port: http-a1pms-api
aravind.est8d728302022-12-07 12:26:28 +000090
91service:
92 type: ClusterIP
efiacor6910bbe2023-03-03 14:53:16 +000093 name: *componentName
aravind.est8d728302022-12-07 12:26:28 +000094 ports:
Fiete Ostkamp7044e682023-04-19 13:25:18 +000095 - name: http-a1pms-api
aravind.est8d728302022-12-07 12:26:28 +000096 port: 8086
aravind.est8d728302022-12-07 12:26:28 +000097
98flavor: small
99resources:
100 small:
101 limits:
102 cpu: 1
103 memory: 4Gi
104 requests:
105 cpu: 100m
106 memory: 1Gi
107 large:
108 limits:
109 cpu: 2
110 memory: 8Gi
111 requests:
112 cpu: 200m
113 memory: 2Gi
114 unlimited: {}
115#Pods Service Account
116serviceAccount:
efiacor6910bbe2023-03-03 14:53:16 +0000117 nameOverride: *componentName
aravind.est8d728302022-12-07 12:26:28 +0000118 roles:
119 - create
120
121config:
aravind.est8d728302022-12-07 12:26:28 +0000122# Any new property can be added in the env by setting in overrides in the format mentioned below
123# All the added properties must be in "key: value" format instead of yaml.
124# additional:
125# spring.config.max-size: 200
126# spring.config.min-size: 10
127
efiacor6910bbe2023-03-03 14:53:16 +0000128# Strimzi Kafka config
129kafkaUser:
130 authenticationType: scram-sha-512
131 acls:
132 - name: *componentName
133 type: group
134 operations: [Read]
135 - name: *acRuntimeTopic
136 type: topic
137 operations: [Read, Write]
138
139readinessCheck:
140 wait_for:
141 - message-router