blob: bbf4d83f9db4fb1157d1cd3cc18ece95992a0941 [file] [log] [blame]
Prateekinlinux445a18e2018-08-01 06:48:33 +00001# Copyright © 2018 Amdocs, Bell Canada , ZTE
Sylvain Desbureaux55af6482020-11-02 18:21:11 +01002# Copyright © 2021 Orange
Prateekinlinux445a18e2018-08-01 06:48:33 +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.
BorislavG0433c912018-03-21 18:35:30 +020015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
BorislavG0433c912018-03-21 18:35:30 +020020
21#################################################################
Sylvain Desbureaux55af6482020-11-02 18:21:11 +010022# AAF part
23#################################################################
24certInitializer:
25 nameOverride: msb-iag-cert-initializer
26 aafDeployFqi: deployer@people.osaaf.org
27 aafDeployPass: demo123456!
28 # aafDeployCredsExternalSecret: some secret
29 fqdn: msb-iag
30 fqi: msb-iag@msb-iag.onap.org
31 fqi_namespace: org.onap.msb-iag
32 public_fqdn: msb-iag.onap.org
33 cadi_longitude: "0.0"
34 cadi_latitude: "0.0"
35 app_ns: org.osaaf.aaf
36 credsPath: /opt/app/osaaf/local
37 aaf_add_config: |
Sylvain Desbureaux02f8a812021-02-23 16:47:56 +010038 mkdir -p {{ .Values.credsPath }}/certs
39 echo "*** retrieve certificate from pkcs12"
40 openssl pkcs12 -in {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.p12 \
41 -out {{ .Values.credsPath }}/certs/cert.crt -nokeys \
42 -passin pass:$cadi_keystore_password_p12 \
43 -passout pass:$cadi_keystore_password_p12
44 echo "*** copy key to relevant place"
45 cp {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key {{ .Values.credsPath }}/certs/cert.key
46 echo "*** change ownership and read/write attributes"
47 chown -R 1000 {{ .Values.credsPath }}/certs
48 chmod 600 {{ .Values.credsPath }}/certs/cert.crt
49 chmod 600 {{ .Values.credsPath }}/certs/cert.key
Sylvain Desbureaux55af6482020-11-02 18:21:11 +010050
51#################################################################
BorislavG0433c912018-03-21 18:35:30 +020052# Application configuration defaults.
53#################################################################
54# application image
jinquanni9b295ec2022-03-24 17:28:11 +080055image: onap/msb/msb_apigateway:1.4.0
BorislavG0433c912018-03-21 18:35:30 +020056pullPolicy: Always
Huabing Zhao81b89762018-07-30 06:33:03 +000057istioSidecar: true
BorislavG0433c912018-03-21 18:35:30 +020058
59# application configuration
60config:
61 routeLabels: "visualRange:1"
62
63# default number of instances
64replicaCount: 1
65
66nodeSelector: {}
67
68affinity: {}
69
70# probe configuration parameters
71liveness:
72 initialDelaySeconds: 10
73 periodSeconds: 10
74 # necessary to disable liveness probe when setting breakpoints
75 # in debugger so K8s doesn't restart unresponsive container
76 enabled: true
77
78readiness:
79 initialDelaySeconds: 10
80 periodSeconds: 10
81
82service:
83 type: NodePort
84 name: msb-iag
85 externalPort: 80
86 internalPort: 80
87 nodePort: 80
88 externalPortHttps: 443
89 internalPortHttps: 443
90 nodePortHttps: 83
91
92ingress:
93 enabled: false
Lucjan Bryndzaa7228ec2019-12-02 15:11:53 +010094 service:
95 - baseaddr: "msbiag"
96 name: "msb-iag"
97 port: 443
98 config:
99 ssl: "redirect"
BorislavG0433c912018-03-21 18:35:30 +0200100
vaibhavjayasfe2140f2018-09-21 08:30:57 +0000101# Resource Limit flavor -By Default using small
102flavor: small
103# Segregation for Different environment (Small and Large)
104resources:
105 small:
106 limits:
107 cpu: 100m
108 memory: 400Mi
109 requests:
110 cpu: 50m
111 memory: 200Mi
112 large:
113 limits:
114 cpu: 200m
115 memory: 800Mi
116 requests:
117 cpu: 100m
118 memory: 400Mi
Huabing Zhao0f176a02019-03-18 19:31:45 +0800119 unlimited: {}
farida azmya4478e82021-10-11 13:48:11 +0200120
121#Pods Service Account
122serviceAccount:
123 nameOverride: msb-iag
124 roles:
125 - read
Maciej Wereski0763e6e2021-11-18 11:48:25 +0100126
127#Logs configuration
128log:
129 path: /var/log/onap
130logConfigMapNamePrefix: '{{ include "common.fullname" . }}'